Facebook-for-woocommerce: Facebook for woocom error line 1811

Created on 27 Oct 2020  路  11Comments  路  Source: facebookincubator/facebook-for-woocommerce

WordPress version 5.5.1
Current theme: Storefront (version 2.8.0)
Current plugin: Facebook for WooCommerce (version 2.1.0)
PHP version 7.1.24

Error Details

An error of type E_PARSE was caused in line 1181 of the file /home1/newriche/Tactical-Prepper.com/wp-content/plugins/facebook-for-woocommerce/includes/Products.php. Error message: syntax error, unexpected '

The pixel is not receiving.
Contacted my hosting provider, they said they resolved the issue.
Went back to Facebook ads manager and still cant get the pixel to work.
The option to input a new token is no longer visible in my wep dashboard/plugin section.

I have no clue what to do next...any thoughts?

Most helpful comment

just rename the directory to facebook-for-woocommerce2 and your site will work until the fix then re-install plugin

All 11 comments

Me too same error had to rename the directory to get my site working again. not sure if there has been a recent update, was adding new products to woocommerce earlier today without errors.

Hello Team ,

i have the same error there is nay solution for this ,and how can'i get my site working again.

Regards.

Quick fix:
rm -rf wp-content/plugins/facebook-for-woocommerce

Deploying without testing, Facebook really?

Duplicate of #1652

just rename the directory to facebook-for-woocommerce2 and your site will work until the fix then re-install plugin

Thanks all for your answer is working by changing the name of directory to facebook-for-woocommerce2

Thanks @discovercrm ! I just rename the directory, as you said and it worked for me! Thank you again!

Thank you verymuch @discovercrm ! I just rename this facebook-for-woocommerce directory to facebook-for-woocommerce2, then I updating plugin (before update plugin, I rename the directory to the start) and it's work! Thank you...

Hello Team ,

i have the same error there is nay solution for this ,and how can'i get my site working again.

Regards.

I hired a guy on fiverr , he fixed it in 10 min lol best 5 bucks ever!

Quick fix:
rm -rf wp-content/plugins/facebook-for-woocommerce

Deploying without testing, Facebook really?

yes really...lol all of my other ads have worked and this one was a dup with minor copy changes for a/b testing..if that answers your question...really?

Duplicate of #1652

Was this page helpful?
0 / 5 - 0 ratings