PHP7 WooCommerce Cart White Screen
-
I am receiving many errors from WooCommerce when upgrading to PHP 7 via WPEngine. There are no errors with any other plugins. Here is a sample error that they provided. When PHP7 is live, it won’t load the cart page (white screen) and you can’t add anything to the shopping cart because it goes to an error page.
[Tue Jun 13 22:10:22.397360 2017] [:error] [pid 8184] [client 73.81.120.104:22655] id was called incorrectly. Product properties should not be accessed directly. Backtrace: require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘wp_loaded’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Cart->init, WC_Cart->get_cart_from_session, WC_Product->is_purchasable, apply_filters(‘woocommerce_is_purchasable’), WP_Hook->apply_filters, call_user_func_array, WC_Smart_Coupons->make_product_purchasable, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0., referer: https://kannakart.com/product/dr-dabber-boost-vaporizer/?customize_changeset_uuid=1a897cbf-0783-4968-a2b7-4eacbd768a6e&customize_theme=x-child&customize_messenger_channel=preview-31
The topic ‘PHP7 WooCommerce Cart White Screen’ is closed to new replies.