• Resolved diegors

    (@diegors)


    Hi, I just install it on a cloned WP for development and upgrades.

    I tried to change selected image sizes for compression, but I got this error message at ‘wp-admin/options-general.php?page=tinify’

    Warning: count(): Parameter must be an array or an object that implements Countable in /home/USER/public_html/DEMO/wp-admin/includes/template.php on line 1412
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/USER/public_html/DEMO/wp-admin/includes/template.php:1412) in /home/USER/public_html/DEMO/wp-includes/pluggable.php on line 1224

    This is a new and valid API.

    PHP Version: 7.2.9
    WP Version: 4.5.1 (upgrade to latest is comming.. if theme don’t crash)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author TinyPNG

    (@tinypng)

    Hi diegors,

    Thanks for reporting the warning message!

    Which version of the plugin are you using? Perhaps we can reproduce the issue and solve it in a future update.

    Plugin Author TinyPNG

    (@tinypng)

    Hi @diegors,

    We did some additional testing with PHP 7 and WordPress 4.5 and it appears all sorts of similar warning messages can appear the settings pages even when no plugins have been installed at all.

    For PHP 7.2 you can upgrade to WordPress 4.9 for the count warning messages to disappear.

    Also WordPress 4.5 is over 2 years old, so it is indeed advisable to update as soon as possible, preferably to the latest WordPress release and maybe also find a way to keep your WordPress installation as up to date as possible.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Warnings when I save options’ is closed to new replies.