• Resolved Dan Wich (MailMechanic)

    (@mailmechanic)


    Hi,
    We’re seeing the “Jetpack has detected an error syncing your site” error in the Site Health area. It doesn’t go away upon clicking the “Click here to start a fix” link, though we do see the corresponding AJAX requests (“jetpack_debugger_full_sync_start” with a response of “requested” and “jetpack_sync_progress_check” with a response of “1”).

    Based on this thread, it seems like there may be a Jetpack-side change you can make to trigger a re-sync?

    If it’s of any help, the underlying issue might be the host (WP Engine) limiting query lengths, which is cutting off the currently 20322 character query run by /jetpack/jetpack_vendor/automattic/jetpack-sync/src/sync-queue/class-queue-storage-table.php:299 (“SELECT event_id AS id, event_payload AS value FROM [prefix]_jetpack_sync_queue WHERE queue_id = ‘sync’ AND event_id IN [long list of event IDs]”).

    Thanks!
    Dan

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Stef (a11n)

    (@erania-pinnera)

    Hi there, @mailmechanic,

    Thanks for your patience and for bearing with us; we’re working on a backlog of support requests at this time, and we generally answer in the order received.

    I can see some caching discrepancies, which could be the cause of the error you see at your end.

    I made a small change which should fix that, hopefully. Can you check the Site Health in about 24 hours and let us know how it goes? Thanks!

    Thread Starter Dan Wich (MailMechanic)

    (@mailmechanic)

    That did the trick: no more issues in Site Health or query length errors in the logs. Thanks for your help!

    Plugin Contributor Stef (a11n)

    (@erania-pinnera)

    Hey @mailmechanic,

    That’s awesome news! Glad to hear you’re all set ??

    I’m going to mark this thread as solved. If you have any further questions or need more help, you’re welcome to open another thread here. Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Jetpack has detected an error syncing your site (likely query length limit)’ is closed to new replies.