get_options function is deprecated since version 3.1.PHP message
-
Hi there. I have downloaded and setup WP Optimize on my website. All is working well but when I want to edit a product in woocommerce, it lets me do it, but when I want to view the product it kicks me out with this error in my hosting error log.
Got error ‘PHP message: The Automattic\\WooCommerce\\Admin\\API\\Options::get_options function is deprecated since version 3.1.PHP message: The Automattic\\WooCommerce\\Admin\\API\\Options::get_options function is deprecated since version 3.1.’
Or when I want to change a variation it gives me the above error. When I disable WP Optimize I don’t get the above error. I have WordPress version 5.8.3 and woocommerce version 6.5.1. How can I fix the issue.
The topic ‘get_options function is deprecated since version 3.1.PHP message’ is closed to new replies.