• Gradient Themes

    (@gradientthemes)


    WooCommerce latest version, PHP 8.2

    Warning: Trying to access array offset on value of type bool in C:\xampp\htdocs\wordpress\wp-content\plugins\woocommerce\includes\wc-template-functions.php on line 1700

    Deprecated: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in C:\xampp\htdocs\wordpress\wp-includes\formatting.php on line 4467

    Warning: Trying to access array offset on value of type bool in C:\xampp\htdocs\wordpress\wp-content\plugins\woocommerce\includes\wc-template-functions.php on line 1701

    Deprecated: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in C:\xampp\htdocs\wordpress\wp-includes\formatting.php on line 4467

Viewing 1 replies (of 1 total)
  • Plugin Support Moses M. (woo-hc)

    (@mosesmedh)

    Hi @gradientthemes,

    The warnings suggest a conflict with your theme, plugins, or WooCommerce itself. Since you’re working on a localhost, isolating the issue might be challenging. However, these are developer warnings rather than critical errors. You can disable them by adding the following lines to your wp-config.php file:

    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', false);
    

    Additionally, ensure that all plugins and themes are up to date. If the warnings persist, try disabling all plugins except WooCommerce and switch to the Twenty Twenty-Five theme to test further.

    Also, check WooCommerce > Status > Logs for any fatal errors. If you find any, please share them using Pastebin.

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