• Resolved Ced

    (@cedriccharles)


    Hello there,

    I’m trying to get rid of all the notices/warnings in my debug.log files in order to easily debug things.

    I have multiple notices from WooCommerce:

    • Undefined index: width (wp-content/plugins/woocommerce/includes/class-wc-regenerate-images.php:276)
    • Undefined index: height (wp-content/plugins/woocommerce/includes/class-wc-regenerate-images.php:277)

    What’s wrong?

    Kind regards,

    Cedric

Viewing 1 replies (of 1 total)
  • Hi Cedric,

    The notices seem like undefined indexes “width” and “height” in WooCommerce’s class-wc-regenerate-images.php.

    Are you importing your products and/or product images from any third-party source?

    Here’s a typical troubleshooting approach you could take in the meantime:

    1. These notices could be a result of a bug that’s already been fixed in an update, so ensure that your WooCommerce plugin is updated to the latest version.

    2. You may try using a plugin like Regenerate Thumbnails. This can help in case there are image sizes that have been removed or changed.

    On top of that, for us to better understand your site’s current environment, please can you share the following?

    • System Status Report: navigate to WooCommerceStatus → select Get system report and then Download for support. This will download a TXT file which has the contents of the SSR to share with us.
    • Fatal Error log: Share a copy of any fatal error log found under WooCommerceStatusLogs.
Viewing 1 replies (of 1 total)
  • The topic ‘Multiple notices: “Undefined index: width” and “”Undefined index: height”’ is closed to new replies.