Support » Plugin: Smush Image Optimization, Compression, and Lazy Load » Warning: count(): Parameter… on image upload.

  • Resolved worldmaker

    (@worldmaker)


    Only just noticed this Warning message in my Media Library after uploading, and smushing, an image.

    Any suggestions?

    Warning: count(): Parameter must be an array or an object that implements Countable in /homepages/xx/xxxxxxxxxx/htdocs/mysitename/wp-content/plugins/wp-smushit/core/modules/class-wp-smushit.php on line 400

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Predrag Dubajic WPMU DEV Support

    (@wpmudev-support1)

    Hi @worldmaker,

    Are you using the latest version of the plugin because we released a fix for this with version 3.2.2?

    Cheers,
    Predrag

    Predrag,

    I just checked and confirm I have version 3.2.2.1 installed.

    Error has occurred on two test sites with Smush installed.

    Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello there @worldmaker

    Appreciate the feedback on this! 🙂

    I’ve already pinged our developers about it, so they can fix in a future release.

    Warm regards,
    Dimitris

    Warning: count(): Parameter must be an array or an object that implements Countable in wp-content/plugins/wp-smushit/core/modules/class-wp-smushit.php on line 400

    PLZ HELP ME ERROR: V3.2.4

    [09-Aug-2019 10:44:34 UTC] PHP Notice: Undefined index: sizes in wp-content/plugins/wp-smush-pro/core/modules/class-wp-smushit.php on line 400
    [09-Aug-2019 10:44:34 UTC] PHP Warning: count(): Parameter must be an array or an object that implements Countable in wp-content/plugins/wp-smush-pro/core/modules/class-wp-smushit.php on line 400

    • This reply was modified 1 month, 2 weeks ago by  macken.
    Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello there

    We got some update from lead Smush developer that this is a new warning message which will be fixed in upcoming v.3.3.0.

    Warm regards,
    Dimitris

    Dimitris,

    Thank you for the up-date, I shall keep an eye open for it.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.