Conversation
supportI am getting the following error when a cart is recovered and I click complete order. AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to a member function __unset() on null in /var/www/vhosts/ mywebsite /httpdocs/wp-content/plugins/cart-lift/public/cart-lift-cart-actions.php :297\nStack trace:\n#0 /var/www/vhosts/ mywebsite /httpdocs/wp-content/plugins/cart-lift/public/class-cart-lift-wc-actions.php (95): Cart_Lift_Cart_Actions->reinitialize_cart_data()\n#1 /var/www/vhosts/sweetsdirect.co.uk/httpdocs/wp-includes/class-wp-hook.php (326): Cart_Lift_WC_Actions->change_cart_status()\n#2 /var/www/vhosts/sweetsdirect.co.uk/httpdocs/wp-includes/class-wp-hook.php (348): WP_Hook->apply_filters()\n#3 /var/www/vhosts/mywebsite/httpdocs/wp-includes/plugin.php (517): WP_Hook->do_action()\n#4 /var/www/vhosts/mywebsite/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-order.php (421): do_action()\n#5 /var/www/vhosts/ mywebsite /httpdocs/wp-content/plugins/woocommerce/includes/class-wc-order.php (253): WC_Order->status_transition()\n#6 /var/www/vhosts/mywebsite…’, referer: https://mywebsitre/wp-admin/post.php?post=2898&action=edit
Hi @cycloneuk , Thank you for notifying us about this error. We will work on fixing it this week and release a plugin update. Kind regards,
Hi, Also when I click the Carts button in the plugin dashboard I get the following: 2023-12-18 14:38:50 Error 92.2.81.8 500 GET /wp-admin/admin.php?page=cart_lift&action=carts HTTP/1.0 https://mywebsite/wp-admin/admin.php?page=cart_lift Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0 24.1 K Apache SSL/TLS access 2023-12-18 14:38:52 Error 92.2.81.8 AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught TypeError: Unsupported operand types: string * int in /var/www/vhosts/mywebsite/httpdocs/wp-content/plugins/cart-lift/includes/helper.php:1485\nStack trace:\n#0 /var/www/vhosts/mywebsite/httpdocs/wp-content/plugins/cart-lift/admin/class-cart-lift-tab-view.php(282): cl_get_cart_data()\n#1 /var/www/vhosts/mywebsite/httpdocs/wp-content/plugins/cart-lift/admin/partials/cart-lift-tabs-display.php(272): Cart_Lift_Tab_View->print_carts_tab_content()\n#2 /var/www/vhosts/mywebsite/httpdocs/wp-content/plugins/cart-lift/admin/class-cart-lift-admin.php(293): require_once(‘…’)\n#3 /var/www/vhosts/mywebsite/httpdocs/wp-includes/class-wp-hook.php(324): Cart_Lift_Admin->cart_lift_menu_page()\n#4 /var/www/vhosts/mywebsite/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#5 /var/www/vhosts/mywebsite/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action()\n#6 /var/www/vhosts/mywebsite/httpdocs/w…’, referer: https://mywebsite/wp-admin/admin.php?page=cart_lift This reply was modified 2 years, 5 months ago by cycloneuk .
Hi @cycloneuk , Thank you, and rest assured that we will work on fixing this one too. Kind regards,
Still no fix? had to uninstall it and look for an alternative.
Hi @cycloneuk , We’re really sorry for the delay. These fixes are scheduled to be released with the plugin update this week. Hopefully, it will resolve all your PHP errors. Kind regards,
Hi @cycloneuk , could you please let us know your WordPress and WooCommerce version? Thank you.
I’m using the latest versions, WordPress 6.4.2 and Woocommerce 8.4.0
Hi @cycloneuk , we’ve released a fix with the latest version of cart Lift for the PHP errors. Could you please update the plugin and have a look? Let us know how it goes. Regards,
Hi @cycloneuk , Thank you for notifying us about this error. We will work on fixing it this week and release a plugin update. Kind regards,
Hi, Also when I click the Carts button in the plugin dashboard I get the following: 2023-12-18 14:38:50 Error 92.2.81.8 500 GET /wp-admin/admin.php?page=cart_lift&action=carts HTTP/1.0 https://mywebsite/wp-admin/admin.php?page=cart_lift Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0 24.1 K Apache SSL/TLS access 2023-12-18 14:38:52 Error 92.2.81.8 AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught TypeError: Unsupported operand types: string * int in /var/www/vhosts/mywebsite/httpdocs/wp-content/plugins/cart-lift/includes/helper.php:1485\nStack trace:\n#0 /var/www/vhosts/mywebsite/httpdocs/wp-content/plugins/cart-lift/admin/class-cart-lift-tab-view.php(282): cl_get_cart_data()\n#1 /var/www/vhosts/mywebsite/httpdocs/wp-content/plugins/cart-lift/admin/partials/cart-lift-tabs-display.php(272): Cart_Lift_Tab_View->print_carts_tab_content()\n#2 /var/www/vhosts/mywebsite/httpdocs/wp-content/plugins/cart-lift/admin/class-cart-lift-admin.php(293): require_once(‘…’)\n#3 /var/www/vhosts/mywebsite/httpdocs/wp-includes/class-wp-hook.php(324): Cart_Lift_Admin->cart_lift_menu_page()\n#4 /var/www/vhosts/mywebsite/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#5 /var/www/vhosts/mywebsite/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action()\n#6 /var/www/vhosts/mywebsite/httpdocs/w…’, referer: https://mywebsite/wp-admin/admin.php?page=cart_lift This reply was modified 2 years, 5 months ago by cycloneuk .
Hi @cycloneuk , Thank you, and rest assured that we will work on fixing this one too. Kind regards,
Still no fix? had to uninstall it and look for an alternative.
Hi @cycloneuk , We’re really sorry for the delay. These fixes are scheduled to be released with the plugin update this week. Hopefully, it will resolve all your PHP errors. Kind regards,
Hi @cycloneuk , could you please let us know your WordPress and WooCommerce version? Thank you.
I’m using the latest versions, WordPress 6.4.2 and Woocommerce 8.4.0
Hi @cycloneuk , we’ve released a fix with the latest version of cart Lift for the PHP errors. Could you please update the plugin and have a look? Let us know how it goes. Regards,