Troubleshooting Common 'Google for WooCommerce' Sync and Scheduled Action Failures
Content
Many users of the 'Google for WooCommerce' plugin encounter issues where product synchronization stops working, often accompanied by failed scheduled actions in the Action Scheduler. These errors can prevent your products from appearing in Google Merchant Center and disrupt your advertising campaigns. Based on common community reports, this guide will help you diagnose and resolve the most frequent synchronization problems.
Common Error Messages and Their Meanings
Here are some of the most frequently reported errors and what they typically indicate:
- "gla/jobs/update_products/process_item - Job item not found": This often occurs when the plugin attempts to process a product that has been deleted or is no longer accessible.
- "gla/jobs/resubmit_expiring_products/create_batch fails": This batch process, which handles products nearing their 30-day expiration, can fail due to server resource limitations or timeouts.
- "Coupon issues [couponValueType] This value should not be blank": A specific error related to syncing subscription discounts, indicating missing required coupon data.
- "The 'update_products' job was stopped because its failure rate is above the allowed threshold": This is a safety mechanism that halts syncing when too many individual process items fail.
- Database errors causing MySQL/MariaDB to crash during sync: Typically points to server resource exhaustion or database configuration issues.
Step-by-Step Troubleshooting Guide
1. Install and Use the Action Scheduler Plugin
The first step in diagnosing any sync issue is to examine the failed actions directly. Install the free Action Scheduler plugin. Once activated, go to Tools > Scheduled Actions to view all pending, running, and failed jobs.
Look for actions with hooks starting with gla/. For any failed actions, click "View" to see if there is a specific error message or log. This information is crucial for identifying the root cause.
2. Clear the Plugin's Configuration Cache
If the settings page is stuck loading or syncs are failing persistently, a corrupted configuration might be the cause. A common solution from the 'Google for WooCommerce' team is to reset the plugin's stored settings.
- Navigate to yoursite.com/wp-admin/options.php (replace with your actual domain).
- On this page, use your browser's search function (Ctrl+F or Cmd+F) to find all fields starting with
gla_. - Empty the contents of all these fields.
- Scroll to the bottom of the page and click "Save Changes".
- Go back to the Google Listings & Ads setup and reconnect your account.
Warning: Be very careful on the options.php page, as it contains all your site's settings. Only modify fields beginning with gla_.
3. Check for Resource Limitations
Product synchronization, especially for stores with many variable products or subscriptions, can be resource-intensive. Check the following:
- PHP Time Limit: Increase the
max_execution_timein your php.ini file to at least 300 seconds (5 minutes). - PHP Memory Limit: Ensure
memory_limitis set to 256MB or higher. - Database Performance: If you see database errors like "Commands out of sync," your database server may be underpowered. Consider optimizing your database or upgrading your hosting plan.
4. Address WPML and Multilingual Site Conflicts
For sites using WPML, the plugin may attempt to sync products from secondary languages, which can lead to "Job item not found" errors. The 'Google for WooCommerce' plugin currently supports a single product feed per site. If you require feeds in multiple languages, you may need to seek a specialized solution or consult the WPML support team for guidance on configuring a single primary language for your product feed.
5. Review WooCommerce System Status and Logs
Always provide a copy of your system status report when seeking help. You can find it under WooCommerce > Status > Get system report. This report helps identify conflicts with other plugins, theme issues, or server environment problems that could be causing the sync failures.
Additionally, check the logs under WooCommerce > Status > Logs for any entries related to Google Listings & Ads. These logs can contain detailed error messages not visible in the Action Scheduler interface.
When All Else Fails
If you continue to experience issues after trying these steps, the problem may be related to a more complex conflict or a specific bug. When reporting the issue, be sure to include:
- Your full WooCommerce System Status Report.
- The exact error message from the failed Action Scheduler job.
- Any relevant log files.
- A description of the steps you have already taken to troubleshoot.
By methodically working through these steps, you can resolve most common synchronization issues and get your products successfully listed on Google again.
Related Support Threads Support
-
Cannot sync % discount for Subscriptionhttps://wordpress.org/support/topic/cannot-sync-discount-for-subscription/
-
Unable to Sync Product and Loading Settinghttps://wordpress.org/support/topic/unable-to-sync-6/
-
gla/jobs/resubmit_expiring_products/create_batch fails nightlyhttps://wordpress.org/support/topic/gla-jobs-resubmit_expiring_products-create_batch-fails-nightly/
-
Failing scheduled actionhttps://wordpress.org/support/topic/failing-scheduled-action/
-
Products not syncinghttps://wordpress.org/support/topic/products-not-syncing-20/
-
Default mapped attributes not being applied to some variable productshttps://wordpress.org/support/topic/default-mapped-attributes-not-being-applied-to-some-variable-products/
-
Process Item failing massivelyhttps://wordpress.org/support/topic/process-item-failing-massively/
-
Error while processing action: Job item not found.https://wordpress.org/support/topic/error-while-processing-action-job-item-not-found/
-
Cause mysql downhttps://wordpress.org/support/topic/cause-mysql-down/
-
Scheduled Action Failhttps://wordpress.org/support/topic/scheduled-action-fail/