[Smush Pro] Smush PRO error

Hi. We're getting an error (and a warning):

[11-Aug-2019 18:53:41 UTC] PHP Notice: Undefined index: sizes in /var/web/site/public_html/wp-content/plugins/wp-smush-pro/core/modules/class-wp-smushit.php on line 400

[11-Aug-2019 18:53:41 UTC] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/web/site/public_html/wp-content/plugins/wp-smush-pro/core/modules/class-wp-smushit.php on line 400

Can you please assist? Thanks.

  • Nebu John
    • Staff

    Hi Robert,

    Hope you are doing good and thank you for reaching out to us.

    This issue is already reported and our developers are working on this.

    This is just a notice, which is not harmful to the website but helpful for the developer. You can disable debug mode to hide the notice.

    To disable debug mode please go to wp-config.php and change

    define( 'WP_DEBUG', true ); to

    define( 'WP_DEBUG', false);

    Though, I have already informed the developer so that he can work on this and take proper steps so that this notice doesn’t appear. You can expect a fix for this in our upcoming updates. We appreciate your patience on this.

    Kind Regards,

    Nebu John

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.