Error in WPLA_Amazon_SP_API.php
-
Since yesterday I’ve been getting the following error message and I’m not sure of the cause. I restored the WordPress site with older backups, but that didn’t change anything. I changed the PHP versions in Siteground, but that didn’t help either. Any help would be greatly appreciated.
An error of type E_ERROR was caused in line 1254 of the file /home/customer/www/%.com/public_html/wp-content/plugins/wp-lister-for-amazon/classes/core/WPLA_Amazon_SP_API.php. Error message: Uncaught Error: Call to a member function getOrders() on null in /home/customer/www/%.com/public_html/wp-content/plugins/wp-lister-for-amazon/classes/core/WPLA_Amazon_SP_API.php:1254
Stack trace: 0 /home/customer/www/%.com/public_html/wp-content/plugins/wp-lister-for-amazon/classes/core/WPLA_CronActions.php(368): WPLA_Amazon_SP_API->getOrders(‘2024-08-18 22:0…’, false) 1 /home/customer/www/%.com/public_html/wp-includes/class-wp-hook.php(324): WPLA_CronActions->action_update_orders(”) 2 /home/customer/www/%.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) 3 /home/customer/www/%.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 4 /home/customer/www/%.com/public_html/wp-content/plugins/wp-lister-for-amazon/classes/page/OrdersPage.php(137): do_action(‘wpla_update_ord…’) 5 /home/customer/www/%.com/public_html/wp-content/plugins/wp-lister-for-amazon/classes/page/OrdersPage.php(239): WPLA_OrdersPage->handleActions() 6 /home/customer/www/%.com/public_html/wp-includes/class-wp-hook.php(324): WPLA_OrdersPage->displayOrdersPage(”) 7 /home/customer/www/%.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) 8 /home/customer/www/%.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 9 /home/customer/www/%.com/public_html/wp-admin/admin.php(259): do_action(‘amazon_page_wpl…’) 10 {main}thrown
- You must be logged in to reply to this topic.