Hundreds of PHP Notices
-
After update to your latest version our debug_log is getting swamped with thousands of PHP Notices about values called incorrectly. What’s interesting is that we weren’t getting them before update. Fortunately, the orders are getting through fine.
An example of a notie:
width was called incorrectly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_update_order_review’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::update_order_review, WC_Cart->calculate_totals, WC_Cart->calculate_shipping, WC_Shipping->calculate_shipping, WC_Shipping->calculate_shipping_for_package, WC_Shipping_Method->get_rates_for_package, Wbs\ShippingMethod->calculate_shipping, WbsVendors\Dgm\Shengine\Woocommerce\Converters\PackageConverter::fromWoocommerceToCore, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.
Correct them, please. It’s not very time consuing. I’ve been getting the same notices from my own plugin (not released to public) but modifications took me a few minutes.
Havea a nice day,
Krzysztof P?aneta
- The topic ‘Hundreds of PHP Notices’ is closed to new replies.