-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Facebook Plugin Causing Critical Errors in Wordpress #2321
Comments
I have just had exactly the same issue as described. After hitting UPDATE button. The following critical error- Fatal error: Uncaught Error: Call to a member function update_product_group() on null in /home/customer/www/thelasercutshop.com.au/public_html/wp-content/plugins/facebook-for-woocommerce/facebook-commerce.php:1495 Stack trace: #0 /home/customer/www/thelasercutshop.com.au/public_html/wp-content/plugins/facebook-for-woocommerce/facebook-commerce.php(1238): WC_Facebookcommerce_Integration->update_product_group(Object(WC_Facebook_Product)) #1 /home/customer/www/thelasercutshop.com.au/public_html/wp-content/plugins/facebook-for-woocommerce/facebook-commerce.php(949): WC_Facebookcommerce_Integration->on_variable_product_publish(6748) #2 /home/customer/www/thelasercutshop.com.au/public_html/wp-includes/class-wp-hook.php(309): WC_Facebookcommerce_Integration->on_product_save(6748) #3 /home/customer/www/thelasercutshop.com.au/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #4 /home/customer/www/thelasercutshop.com.au/public_html/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #5 /home/cus in /home/customer/www/thelasercutshop.com.au/public_html/wp-content/plugins/facebook-for-woocommerce/facebook-commerce.php on line 1495 |
Thanks for reporting. We've made some changes to our class autoloader that seemed to result in the issue. We're preparing a release that will fix the issue. We will update you as soon as we have published the release. This will be fixed #2324 |
A new update of the plugin has been released. Plugin update the Facebook for WooCommerce plugin version 2.6.27 to fix the issue |
FYI The latest version I have installed is the Version 2.6.27, which i am having issues with. Should I delete and reinstall? |
@HalvorsenInteriors Thank you for getting back. The issue that threw the following error has been resolved.
I am not sure what is causing your critical error. Please check the error logs ( Ref: https://woocommerce.com/document/finding-php-error-logs/ ) and reach out to WooCommerce support. The best place to get support is the WordPress.org Facebook for WooCommerce forum. If you have a WooCommerce.com account, you can start a chat or open a ticket on WooCommerce.com. |
🔎 Isolate the bug
✍️ Describe the bug
<Latest version causes the WooCommerce settings page to throw a fatal error. Once I hit the UPDATE button in the Product Pages it send to a error page stating the following - "There has been a critical error on this website. Please check your site admin email inbox for instructions". Also on the product page the following error message shows - "Facebook Product Sync
There has been a critical error on this website. Please check your site admin email inbox for instructions". I have disabled the plugin until further notice from the plugin developer>
🚶♀️ Steps to reproduce
✔️ Expected behavior
<Amendments to the product pages should be able to be updated properly. -->
🗃 Logs
<N/a>
The text was updated successfully, but these errors were encountered: