Skip to content
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

Closed
2 tasks done
HalvorsenInteriors opened this issue Oct 14, 2022 · 5 comments
Closed
2 tasks done

Facebook Plugin Causing Critical Errors in Wordpress #2321

HalvorsenInteriors opened this issue Oct 14, 2022 · 5 comments

Comments

@HalvorsenInteriors
Copy link

🔎 Isolate the bug

  • I have confirmed this occurs in the most recent version of WordPress, WooCommerce, and Facebook for WooCommerce.
  • I have confirmed this occurs when only WooCommerce and Facebook for WooCommerce are active and when using a default WordPress or WooCommerce theme.

✍️ 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>

@Mikroo32
Copy link

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
There has been a critical error on this website. Please check your site admin email inbox for instructions.
Learn more about troubleshooting WordPress.

@rawdreeg
Copy link
Contributor

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

@rawdreeg
Copy link
Contributor

A new update of the plugin has been released. Plugin update the Facebook for WooCommerce plugin version 2.6.27 to fix the issue

@HalvorsenInteriors
Copy link
Author

FYI The latest version I have installed is the Version 2.6.27, which i am having issues with. Should I delete and reinstall?

@ibndawood
Copy link
Contributor

@HalvorsenInteriors Thank you for getting back. The issue that threw the following error has been resolved.

Fatal error: Uncaught Error: Call to a member function update_product_group() on null

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants