Home Forums Inovado PHP 7.2 Warning

Home Forums Inovado PHP 7.2 Warning

  • Creator
    Ticket
  • #87838
    joseIdener
    Buyer

    Hi there! We recently bough your inovado theme for our wordpress 4.9.7.

    We used the docker container that ships the PHP 7.2 version. Just after the end of the installation, we started seeing e_warnings on our theme. These were the warnings:

    
    Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/wp-content/themes/inovado/admin/functions/functions.mediauploader.php on line 127
    
    Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/wp-content/themes/inovado/admin/functions/functions.mediauploader.php on line 127
    
    Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/wp-content/themes/inovado/admin/functions/functions.mediauploader.php on line 127
    
    Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/wp-content/themes/inovado/admin/functions/functions.mediauploader.php on line 127
    
    Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/wp-content/themes/inovado/admin/functions/functions.mediauploader.php on line 127
    
    Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/wp-content/themes/inovado/admin/functions/functions.mediauploader.php on line 127
    
    Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/wp-content/themes/inovado/admin/functions/functions.mediauploader.php on line 127
    
    Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/wp-content/themes/inovado/admin/functions/functions.mediauploader.php on line 127
    
    Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/wp-content/themes/inovado/admin/functions/functions.mediauploader.php on line 127
    
    Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/wp-content/themes/inovado/admin/functions/functions.mediauploader.php on line 127
    
    Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wp-content/themes/inovado/admin/functions/functions.mediauploader.php:127) in /var/www/html/wp-admin/includes/misc.php on line 1124
    
    Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wp-content/themes/inovado/admin/functions/functions.mediauploader.php:127) in /var/www/html/wp-includes/option.php on line 919
    
    Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wp-content/themes/inovado/admin/functions/functions.mediauploader.php:127) in /var/www/html/wp-includes/option.php on line 920
    
    Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/wp-content/themes/inovado/admin/functions/functions.mediauploader.php on line 127
    
    Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/wp-content/themes/inovado/admin/functions/functions.mediauploader.php on line 127
    
    Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/wp-content/themes/inovado/admin/functions/functions.mediauploader.php on line 127
    
    Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/wp-content/themes/inovado/admin/functions/functions.mediauploader.php on line 127
    
    Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/wp-content/themes/inovado/admin/functions/functions.mediauploader.php on line 127
    
    Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/wp-content/themes/inovado/admin/functions/functions.mediauploader.php on line 127
    
    Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/wp-content/themes/inovado/admin/functions/functions.mediauploader.php on line 127
    
    Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/wp-content/themes/inovado/admin/functions/functions.mediauploader.php on line 127
    
    Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/wp-content/themes/inovado/admin/functions/functions.mediauploader.php on line 127
    
    Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/wp-content/themes/inovado/admin/functions/functions.mediauploader.php on line 127
    

    As of 7.2 version, there is a change that causes this. You can have more information on
    “Warn when counting non-countable types” at https://secure.php.net/manual/en/migration72.incompatible.php.

    I hope that you fix this for the theme!

    Thank you so much.

    Best Regards.

Sorry, only verified customers can view ticket replies.