woocommerce / facebook-for-woocommerce

A first-party extension plugin built for WooCommerce. Development is managed by Ventures.
https://woocommerce.com/products/facebook/
GNU General Public License v2.0
211 stars 140 forks source link

Add to cart spining too long #2827

Open tase09 opened 20 hours ago

tase09 commented 20 hours ago

πŸ”Ž Isolate the bug

✍️ Describe the bug

Recently from today we discovered on many woocommerce websites that the plugin is making add to cart button loading too hard when adding to cart

πŸšΆβ€β™€οΈ Steps to reproduce

Add to cart

βœ”οΈ Expected behavior

πŸ—ƒ Logs

WouterBossen commented 20 hours ago

Here for exactly this. turning off the plugin immediately fixes the problem.

WouterBossen commented 20 hours ago

It also impacts the checkout page.

martinstr commented 19 hours ago

Same here; also, clicking from the product listing into a single product takes forever when the Facebook for WooCommerce plugin is activated.

gruberro commented 19 hours ago

We experienced the same issue and had to disable either the plugin or disconnect the connection. The error seems to be related to the Facebook app managed by Automattic, as the app is no longer available and requests to FB are timing out.

An example error is:

2024-11-21T08:55:53+00:00 NOTICE Response
code: 400
message: Bad Request
body: {"error":{"message":"Cannot call API for app xxx on behalf of user xxx","type":"OAuthException","code":200,"fbtrace_id":"AZq0AEzSlTFR-xxx"}}
 CONTEXT: {"_legacy":true}
aquezada commented 19 hours ago

Here for exactly same problem!

WouterBossen commented 18 hours ago

We experienced the same issue and had to disable either the plugin or disconnect the connection. The error seems to be related to the Facebook app managed by Automattic, as the app is no longer available and requests to FB are timing out.

An example error is:

2024-11-21T08:55:53+00:00 NOTICE Response
code: 400
message: Bad Request
body: {"error":{"message":"Cannot call API for app xxx on behalf of user xxx","type":"OAuthException","code":200,"fbtrace_id":"AZq0AEzSlTFR-xxx"}}
 CONTEXT: {"_legacy":true}

Can confirm the issue is also happening when viewing uncached single product pages.

Aironas47 commented 18 hours ago

our company facing same issue. We had to disconect more than 50 ecommerce stores and turn of facebook plugin. Hope this problem will be resolved soon

wahidnory commented 18 hours ago

Same issue here, solved directly after disabling the plugin. It affected the entire site. Caused very long load times and sometimes even time outs.

tase09 commented 18 hours ago

We experienced the same issue and had to disable either the plugin or disconnect the connection. The error seems to be related to the Facebook app managed by Automattic, as the app is no longer available and requests to FB are timing out.

An example error is:

2024-11-21T08:55:53+00:00 NOTICE Response
code: 400
message: Bad Request
body: {"error":{"message":"Cannot call API for app xxx on behalf of user xxx","type":"OAuthException","code":200,"fbtrace_id":"AZq0AEzSlTFR-xxx"}}
 CONTEXT: {"_legacy":true}

so you are saying the app will be discountinued ? so we need to change also the feed of products? they will stop to sinc?

gruberro commented 18 hours ago

We experienced the same issue and had to disable either the plugin or disconnect the connection. The error seems to be related to the Facebook app managed by Automattic, as the app is no longer available and requests to FB are timing out. An example error is:

2024-11-21T08:55:53+00:00 NOTICE Response
code: 400
message: Bad Request
body: {"error":{"message":"Cannot call API for app xxx on behalf of user xxx","type":"OAuthException","code":200,"fbtrace_id":"AZq0AEzSlTFR-xxx"}}
 CONTEXT: {"_legacy":true}

so you are saying the app will be discountinued ? so we need to change also the feed of products? they will stop to sinc?

I don't know what happened with the FB-app that is required for the integration. No idea whether it's discontinued, or simply set in sandbox mode due to missing approval of a toc-update πŸ€·β€β™‚οΈ. I mean the plugin is useless without this app, so I guess/hope this will be fixed soon πŸ˜„β€¦

WouterBossen commented 17 hours ago

our company facing same issue. We had to disconect more than 50 ecommerce stores and turn of facebook plugin. Hope this problem will be resolved soon

Without the plugin though, events will not be handled anymore which could seriously impact your marketing strategy on facebook and instagram. That's why this is HUGE! Really hope there will be a fix for this asap.

tase09 commented 17 hours ago

so i found a temporary fix, u can keep enabled the plugin if u put the pixel in parallel with another plugin and it stops messing with the website, so for the moment this is a good fix, events will not duplicate

WouterBossen commented 17 hours ago

so i found a temporary fix, u can keep enabled the plugin if u put the pixel in parallel with another plugin and it stops messing with the website, so for the moment this is a good fix, events will not duplicate

Could you elaborate on this? Am I correct in understanding that you mean inserting the pixel, say, through GTM and not through the plugin?

Sebastian1005 commented 17 hours ago

We have another issue which seems related.

We cannot connect to Facebook anymore when installing the plugin. It seems the Facebook-APP from the plugin with CLIENT_ID facebook-for-woocommerce/includes/Handlers/Connection.php is deactivated in facebook.

WouterBossen commented 14 hours ago

On my end it looks like the problem has been fixed. Can anyone else confirm?

gutobenn commented 12 hours ago

On my end it looks like the problem has been fixed. Can anyone else confirm?

Yes, it's working again

gruberro commented 12 hours ago

On my end it looks like the problem has been fixed. Can anyone else confirm?

I can confirm as well!

aquezada commented 11 hours ago

Me to!

martinstr commented 11 hours ago

it works now