deejayone
Forum Replies Created
-
Hi @simplysaru
Thank you.
I’m struggling to find where to create a ticket or email you guys. Can you point me in the right direction?
Cheers!
Hi @simplysaru
Thank you for the reply.
What is the best way to privately share the logs with you? The Facebook for WooCommerce logs are HUGE and obviously contain lots of confidential details.
Apologies, I feel I need to reopen this issue as it continues to occur.
I checked the links and the issues you feel it related to have apparently been fixed, and of course I have updated the plugin, but Facebook for Woocommerce continually fails in my Action Scheduler, as per previous posts (I now have tens of thousands of failed actions from Facebook for Woocommerce in my failed list).
I would appreciate any further possible help.
Thank you.
Thank you.
I eagerly await any findings you have.
Hi @tamarazuk,
This issue is still outstanding and occurring. Any updates at all?
Thanks in advance,
James.Hi @tamarazuk
Thank you for getting back to me.
As requested, here is a screenshot: https://snipboard.io/QtuiJP.jpg
Hope that helps!
James.
Thanks @tamarazuk
From WordPress > Status:
WordPress memory limit: 1,000 MB
In any case, I really don’t think the fatal error above is linked to Facebook for WooCommerce though?
Hi @tamarazuk
Just the one entry in the fatal error log for today:
2020-11-26T15:00:25+00:00 CRITICAL Allowed memory size of 1048576000 bytes exhausted (tried to allocate 268435464 bytes) in /public_html/wp-content/object-cache.php on line 255
Also noticed this error when adding a product (a book in this case but I’ve just noticed it happens in other categories too). Not sure if it is linked to the above issue, but thought I would post here in case…
In WooCommerce > Products > Edit Product > Product details / Facebook (tab)
Under the show advanced options checkbox:
Warning: array_map(): Expected parameter 2 to be an array, null given in /public_html/wp-content/plugins/facebook-for-woocommerce/includes/Admin/Enhanced_Catalog_Attribute_Fields.php on line 55
Warning: array_filter() expects parameter 1 to be array, null given in /public_html/wp-content/plugins/facebook-for-woocommerce/includes/Admin/Enhanced_Catalog_Attribute_Fields.php on line 64
Warning: array_column() expects parameter 1 to be array, null given in /public_html/wp-content/plugins/facebook-for-woocommerce/includes/Admin/Enhanced_Catalog_Attribute_Fields.php on line 46
Warning: array_search() expects parameter 2 to be array, null given in /public_html/wp-content/plugins/facebook-for-woocommerce/includes/Admin/Enhanced_Catalog_Attribute_Fields.php on line 46
Warning: array_splice() expects parameter 1 to be array, null given in /public_html/wp-content/plugins/facebook-for-woocommerce/includes/Admin/Enhanced_Catalog_Attribute_Fields.php on line 47
Warning: array_column() expects parameter 1 to be array, null given in /public_html/wp-content/plugins/facebook-for-woocommerce/includes/Admin/Enhanced_Catalog_Attribute_Fields.php on line 46
Warning: array_search() expects parameter 2 to be array, null given in /public_html/wp-content/plugins/facebook-for-woocommerce/includes/Admin/Enhanced_Catalog_Attribute_Fields.php on line 46
Warning: array_splice() expects parameter 1 to be array, null given in /public_html/wp-content/plugins/facebook-for-woocommerce/includes/Admin/Enhanced_Catalog_Attribute_Fields.php on line 47
Warning: array_column() expects parameter 1 to be array, null given in /public_html/wp-content/plugins/facebook-for-woocommerce/includes/Admin/Enhanced_Catalog_Attribute_Fields.php on line 46
Warning: array_column() expects parameter 1 to be array, null given in /public_html/wp-content/plugins/facebook-for-woocommerce/includes/Admin/Enhanced_Catalog_Attribute_Fields.php on line 46
Warning: array_splice() expects parameter 1 to be array, null given in /public_html/wp-content/plugins/facebook-for-woocommerce/includes/Admin/Enhanced_Catalog_Attribute_Fields.php on line 47
Warning: Invalid argument supplied for foreach() in /public_html/wp-content/plugins/facebook-for-woocommerce/includes/Admin/Enhanced_Catalog_Attribute_Fields.php on line 97
Thanks again for the reply @marcusskyverge
Here’s the details:
I see the items failing in Action Scheduler (WordPress Admin > Tools > Scheduled Actions > Failed)
The “Hook” name is: wc_facebook_regenerate_feed
Here’s the latest of the logs from the same page (there are thousands of these failed actions):
2020-11-23 19:53:48 +0000 action created 2020-11-23 19:58:31 +0000 action started via Async Request 2020-11-23 20:18:32 +0000 action timed out after 1200 seconds
I’m not sure how to attach a screenshot here. Will an imgur link suffice: https://imgur.com/i4PUj0C
Hi @marcusskyverge,
Thank you for looking into this for me!
I think syncing products isn’t so much the problem now, I somehow got it going again (but don’t know how!).
The problem remains Action Scheduler and every single scheduled action for Facebook for WooCommerce continues to fail.
In any case, I followed your steps. Is there a way to share the logs directly as they are quite large and I can’t paste them in here it seems!
Hopefully we can find a resolution soon.
Thank you.
Great – thank you @jenskyverge
Thanks again @jenskyverge
PHP Memory has indeed been increased to 1000MB, which I am told is the host’s maximum allowed and apparently should be more than sufficient:
define( 'WP_MEMORY_LIMIT', '1000M' );
The memory size error only happens very occasionally. Almost every error is that the “action timed out after xxx seconds” (Usually 300, but I’ve increased to 1200 to try and troubleshoot this issue):
2020-11-17 11:20:27 +0000 action created 2020-11-17 11:20:50 +0000 action started via Async Request 2020-11-17 11:41:20 +0000 action timed out after 1200 seconds
Indeed, the problem persists. ??
- This reply was modified 4 years, 4 months ago by deejayone.
Thanks @jenskyverge
I’ve spent a few hours with it this evening.
I set to Twenty Twenty theme and the problem persisted.
Then I disabled all plugins except WooCommerce and Facebook for Woocommerce (whilst still using the Twenty Twenty theme).
Sadly, the problem still persists.
Some examples of errors since:
2020-11-15 00:00:38 +0000 action created 2020-11-15 00:01:14 +0000 action started via Async Request 2020-11-15 00:06:23 +0000 action timed out after 300 seconds
2020-11-15 00:19:22 +0000 action created 2020-11-15 00:19:51 +0000 action started via Async Request 2020-11-15 00:22:11 +0000 unexpected shutdown: PHP fatal error Allowed memory size of 1048576000 bytes exhausted (tried to allocate 268435464 bytes) in /home/customer/www/xxxxxxxxxx/public_html/wp-content/object-cache.php on line 255
Hi @jenskyverge
Yes, I can confirm it is still happening after updating.
I tried increasing the time limit to see if it was that, and it hasn’t resolved things.
Here is the latest Scheduled Actions log (of many):
2020-11-11 18:12:30 +0000
action created
2020-11-11 18:24:44 +0000
action started via WP Cron
2020-11-11 18:44:54 +0000
action timed out after 1200 seconds