Support » Plugin: Abandoned Cart Lite for WooCommerce » Error Messages On Recovered Orders Tab
Error Messages On Recovered Orders Tab
-
Hi,
I’m getting an error on the “Recovered Orders” tab.
I’m also getting a lot of Abandoned Cart orders from spam bots. Do you know how I can minimize this?
https://www.dropbox.com/s/hgo7iuhubdsdgok/ac-errormessage.png?dl=0
Thank you.
-
Hi,
Thank you for sharing screenshot with us.
I will be checking the issue and I will get back to you with a response on Saturday. As we are on the leave tomorrow due to the festival of Holi in India.
Thank you for your patience.
Regards,
Chetna BhutkaSame problem for me too!
Warning: get_object_vars() expects parameter 1 to be object, array given in /web/htdocs/www.abcde.com/home/wp-content/plugins/woocommerce-abandoned-cart/includes/classes/class-wcal-abandoned-orders-table.php on line 297 Warning: get_object_vars() expects parameter 1 to be object, array given in /web/htdocs/www.abcde.com/home/wp-content/plugins/woocommerce-abandoned-cart/includes/classes/class-wcal-abandoned-orders-table.php on line 310 Warning: get_object_vars() expects parameter 1 to be object, array given in /web/htdocs/www.abcde.com/home/wp-content/plugins/woocommerce-abandoned-cart/includes/classes/class-wcal-abandoned-orders-table.php on line 297 Warning: get_object_vars() expects parameter 1 to be object, array given in /web/htdocs/www.abcde.com/home/wp-content/plugins/woocommerce-abandoned-cart/includes/classes/class-wcal-abandoned-orders-table.php on line 310 Warning: get_object_vars() expects parameter 1 to be object, array given in /web/htdocs/www.abcde.com/home/wp-content/plugins/woocommerce-abandoned-cart/includes/classes/class-wcal-abandoned-orders-table.php on line 297 Warning: get_object_vars() expects parameter 1 to be object, array given in /web/htdocs/www.abcde.com/home/wp-content/plugins/woocommerce-abandoned-cart/includes/classes/class-wcal-abandoned-orders-table.php on line 310
Hi,
Thank you for sharing error message with us.
1) For Recovered Orders tab
To resolve this issue, we can change the below code in line number 213 of “class-wcal-recover-orders-table” file of our plugin. The file will be located at your /< your site URL >/wp-content/plugins/woocommerce-abandoned-cart/includes/classes folder.
The code is:
$product_details = array();
Replace it with the below code:
$product_details = new stdClass();
2) For Abandoned Orders tab
You can update the below code in line number 291 of “class-wcal-abandoned-orders-table.php” file of our plugin. The file will exist in the same folder.
The code is:
$cart_details = array();
Replace it with the below code:
$cart_details = new stdClass();
We are unable to replicate the same issue at our end. But the error says that get_object_vars needs to be initialized as an object. So, can you please try above solution and let me know whether error message is resolved or not?
Please let me know if you have any further queries.
Regards,
Chetna BhutkaOK, that’s a new order on the tab
Warning: get_object_vars() expects parameter 1 to be object, array given in /web/htdocs/www.abcd.com/home/wp-content/plugins/woocommerce-abandoned-cart/includes/classes/class-wcal-product-report-table.php on line 144
Thank you
Hi,
Thank you for pointing out the issue of an error message.
We have released our Abandoned Cart LITE for WooCommerce plugin version 4.8 today and it contains the fix for the error message issue which you have mentioned.
Kindly upgrade the plugin to the latest version and let me know whether the issue has been resolved or not.
Let me know if you have any further queries with our plugin.
Regards,
Chetna BhutkaOk, I think that’s solved!
Regards!Hi,
Thank you for your response. That’s great. 🙂
Let me know if you have any further queries with our plugin.
Regards,
Chetna Bhutka
- The topic ‘Error Messages On Recovered Orders Tab’ is closed to new replies.