Abhishek Kumar
Forum Replies Created
-
I believe there may be some confusion in your last response. The issue I’m reporting is with the Pinterest for WooCommerce plugin, not Google for WooCommerce.
ISSUE SUMMARY
- Plugin: Pinterest for WooCommerce (v1.4.21)
- Problem:
save_deferred_events()method causes “Commands out of sync” MySQL errors - File:
/src/Tracking/Tag.phpin the Pinterest plugin - Cause: Recursive database operations during WordPress shutdown hooks
TESTING COMPLETED
- Deactivated Pinterest → Errors stopped
- Reactivated Pinterest → Errors returned
- Blocked Pinterest scheduled actions → Errors stopped
- Unblocked scheduled actions → Errors returned
CONFIRMED ROOT CAUSE
Thesave_deferred_events()method callsload_deferred_events()recursively, which corrupts the MySQL connection.Thank you for confirming our analysis! You’re absolutely right — the save_deferred_events() and load_deferred_events() methods are causing MySQL connection corruption during shutdown.
TESTING RESULTS
Pinterest Plugin Testing:- Temporarily disabled Pinterest plugin → All Pinterest-related “Commands out of sync” errors stopped
- Blocked Pinterest scheduled actions → Confirmed Pinterest is the root cause
- Re-activated Pinterest → Errors returned immediately
Cascade Effect Confirmed:
After blocking Pinterest’s scheduled actions, identical “Commands out of sync” errors appeared in:- Rank Math SEO (Notification_Center->update_storage())
- Jetpack Autoloader (cache_plugins() transient operations)
This confirms Pinterest’s database operations during shutdown are corrupting the MySQL connection, triggering a cascade of failures in other plugins.
Community Evidence:
This is not isolated — similar reports exist across the ecosystem:- RankMath Forum: Users report identical errors with Notification_Center->update_storage()
- Reddit WooCommerce: Jetpack Autoloader producing the same “out of sync” errors
- RankMath KB: Acknowledges this as a known issue tied to shutdown hooks https://rankmath.com/kb/wordpress-database-error-commands-out-of-sync/
Status Report
https://gist.github.com/WPAccess/ca4b82a1560552d5e32feb2bb42ff385
BXLAVDJO
Hi i shared the report and here is the full screenshot of the image optimization page
Forum: Plugins
In reply to: [WooCommerce] I can’t See productsThanks i’ll reach them