Repository › Forums › Support › WooCommerce Extended Coupon Features PRO › Log Error Got error ‘PHP message: The WC_Abstract_Legacy_Order
- This topic has 10 replies, 2 voices, and was last updated 3 years, 10 months ago by Soft79.
-
AuthorPosts
-
November 1, 2020 at 8:54 am #16613info125Participant
Hello
We receive the error message (below) 1000 times a day in our log. It must have something to do with this plugin. Can you please take a look into?
https://snipboard.io/fy40ZM.jpg
Thanks,
MarcAH01071: Got error ‘PHP message: The WC_Abstract_Legacy_Order::get_product_from_item function is deprecated since version 4.4.0. Replace with $item->get_product().PHP message: The WC_Abstract_Legacy_Order::get_product_from_item function is deprecated since version 4.4.0. Replace with $item->get_product().PHP message: The WC_Abstract_Legacy_Order::get_product_from_item function is deprecated since version 4.4.0. Replace with $item->get_product().PHP message: The WC_Abstract_Legacy_Order::get_product_from_item function is deprecated since version 4.4.0. Replace with $item->get_product().PHP message: The WC_Abstract_Legacy_Order::get_product_from_item function is deprecated since version 4.4.0. Replace with $item->get_product().PHP message: The WC_Abstract_Legacy_Order::get_product_from_item function is deprecated since version 4.4.0. Replace with $item->get_product().PHP message: The WC_Abstract_Legacy_Order::get_product_from_item function is deprecated since version 4.4.0. Replace with $item->get_product().PHP message: The WC_Order_Item_Coupon::offsetGet function is deprecated since version 4.4.0.PHP message: The WC_Order_Item_Coupon::offsetGet function is deprecated since version 4.4.0.PHP message: The WC_Order_Item_Coupon::offsetGet function is deprecated since version 4.4.0.PHP message: The WC_Order_Item_Coupon::offsetGet function is deprecated since version 4.4.0.PHP message: The WC_Order_Item_Coupon::offsetGet function is deprecated since version 4.4.0.PHP message: The WC_Order_Item_Coupon::offsetGet function is deprecated since version 4.4.0.PHP message: The WC_Abstract_Legacy_Order::get_product_from_item function is deprecated since version 4.4.0. Replace with $item->get_product().PHP message: The WC_Abstract_Legacy_Order::get_product_from_item function is deprecated since version 4.4.0. Replace with $item->get_product().PHP message: The WC_Order_Item_Coupon::offsetGet function is deprecated since version 4.4.0.PHP message: The WC_Order_Item_Coupon::offsetGet function is deprecated since version 4.4.0.PHP message: The WC_Order_Item_Coupon::offsetGet function is deprecated since version 4.4.0.PHP message: The WC_Abstract_Legacy_Order::get_product_from_item function is deprecated since version 4.4.0. Replace with $item->get_product().PHP message: The WC_Abstract_Legacy_Order::get_product_from_item function is deprecated since version 4.4.0. Replace with $item->get_product().PHP message: The WC_Order_Item_Coupon::offsetGet function is deprecated since version 4.4.0.PHP message: The WC_Order_Item_Coupon::offsetGet function is deprecated since version 4.4.0.PHP message: The WC_Order_Item_Coupon::offsetGet function is deprecated since version 4.4.0.PHP message: The WC_Abstract_Legacy_Order::get_product_from_item function is deprecated since version 4.4.0. Replace with $item->get_product().PHP message: The WC_Abstract_Legacy_Order::get_product_from_item function is deprecated since version 4.4.0. Replace with $item->get_product().PHP message: The WC_Abstract_Legacy_Order::get_product_from_item function is deprecated since version 4.4.0. Replace with $item->get_product().PHP message: The WC_Order_Item_Coupon::offsetGet function is deprecated since version 4.4.0.PHP message: The WC_Order_Item_Coupon::offsetGet function is deprecated since version 4.4.0.PHP message: The WC_Order_Item_Coupon::offsetGet function is deprecated since version 4.4.0.PHP message: The WC_Abstract_Legacy_Order::get_product_from_item function is deprecated since version 4.4.0. Replace with $item->get_product().PHP message: WordPress-Datenbank-Fehler Deadlock found when trying to get lock; try restarting transaction f\xc3\xbcr Abfrage UPDATE J97tSG6GHn_actionscheduler_actions SET attempts = attempts+1, status=’in-progress’, last_attempt_gmt = ‘2020-11-01 08:34:08’, last_attempt_local = ‘2020-11-01 09:34:08’ WHERE action_id = 1313778 von do_action(‘wp_ajax_nopriv_as_async_request_queue_runner’), WP_Hook->do_action, WP_Hook->apply_filters, WP_Async_Request->maybe_handle, ActionScheduler_AsyncRequest_QueueRunner->handle, do_action(‘action_scheduler_run_queue’), WP_Hook->do_action, WP_Hook->apply_filters, ActionScheduler_QueueRunner->run, ActionScheduler_QueueRunner->do_batch, ActionScheduler_Abstract_QueueRunner->process_action, ActionScheduler_DBStore->log_execution, QM_DB->query’, referer: https://fitnfemale.com/wp-admin/admin-ajax.php?action=as_async_request_queue_runner&nonce=749d4c8db0
November 1, 2020 at 9:25 am #16614Soft79KeymasterFirst of all, please update your expired license and update to the newest version. Second, that notice is not related to our plugin.
November 1, 2020 at 1:15 pm #16615info125ParticipantHello, I have already updated to the latest version Version 3.2.3. My site license never expires.
November 1, 2020 at 1:44 pm #16617Soft79KeymasterWhat is your domain? If you don’t want to publish it publicly, please send it to admin at soft79.nl.
November 2, 2020 at 9:11 am #16624info125Participant*.com
November 2, 2020 at 10:05 am #16627Soft79KeymasterLicense Expired: December 17, 2019
November 2, 2020 at 12:41 pm #16629info125ParticipantPlease check this screenshot. It says it expires never.
November 2, 2020 at 1:17 pm #16630Soft79KeymasterThat’s a very selective screenshot… The download never expires, on the bottom of the same page you can see the license expiry date.
November 2, 2020 at 2:30 pm #16635info125ParticipantI have renewed the license now. Hope you can help me now. We don’t use any other coupon plugins which calling WC_Order_Item_Coupon::offsetGet function
November 3, 2020 at 7:46 am #16640info125ParticipantCould be a Woocommerce 4.4 issue: https://github.com/woocommerce/woocommerce/issues/27828
November 3, 2020 at 8:11 am #16641Soft79KeymasterAgain: this notice is NOT related to our plugin. We don’t call the deprecated methods.
-
AuthorPosts
- You must be logged in to reply to this topic.