I had a notice that the plugin had an update to v1.7.7. After update, both backend and frontend ended up with error 500. Had to go in by ftp and rename the plugin folder to get going again.
Installed versione 1.7.5 and it worked again.
Error message in the log:
2018-01-26T09:38:16+00:00 CRITICAL Uncaught Error: Class 'WC_Facebookcommerce_Pixel' not found in /customers/5/b/e/DOMAIN.se/httpd.www/wp-content/plugins/facebook-for-woocommerce/facebook-commerce.php:39
Stack trace:
Hi @sm7uge, I'll get an update out today (ASAP). This is a minor feature and shouldn't affect the rest of the plugin.
Ouch. We're going to ship 1.7.8 to fix this in a few hours, thanks for flagging this!
I suggest you test the plugin with PixelYourSite activated: https://wordpress.org/plugins/pixelyoursite/
When both are activated, v1.7.7 generates indeed this error: Uncaught Error: Class 'WC_Facebookcommerce_Pixel' not found in ..../wp-content/plugins/facebook-for-woocommerce/facebook-commerce.php:39
All it's fine in previous versions.
Thank you for reporting this to us so quickly.
1.7.8 is out and fixes this issue. @jlkalberer confirmed it fixes the problem for PixelYourSite as well. Strange that we did not catch this in our own initial testing.
Hello, after updating to 1.7.8, it's crashing to me again with the following error message:
[26-Jan-2018 20:34:18 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function WC_Facebookcommerce_EventsTracker::__construct(), 1 passed in /home/user/public_html/domain.com/wp-content/plugins/facebook-for-woocommerce/facebook-commerce.php on line 272 and exactly 2 expected in /home/user/public_html/domain.com/wp-content/plugins/pixelyoursite/inc/integrations/facebook-for-woocommerce.php:24
Stack trace:
Thanks guys! Great job fixing this so fast! I'll try installing the new version tomorrow.
Hey guys, your plugin and PixelYourSite share quite a large number of common users.
Since some of our users asked to be able to manage their pixel with our plugin but still have a Facebook Shop, we made it possible for them.
It would in their interest if you test against our plugins before your release something that might affect this integration. As far as I understand, your v1.7.7 caused a fatal crash. It appears that v1.7.8 still has some issues. Maybe you can take a look into this and fix them.
Everything was fine before these releases.
You contact me on our site and I can send you a pro version, so you can test it with your major releases in the feature: http://www.pixelyoursite.com/contact
Most helpful comment
I suggest you test the plugin with PixelYourSite activated: https://wordpress.org/plugins/pixelyoursite/
When both are activated, v1.7.7 generates indeed this error: Uncaught Error: Class 'WC_Facebookcommerce_Pixel' not found in ..../wp-content/plugins/facebook-for-woocommerce/facebook-commerce.php:39
All it's fine in previous versions.