Calendar Sync stuck on “waiting”

  • This topic has 13 replies, 8 voices, and was last updated 1 month ago by J. Davis.
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #1027736

    My calendar import has suddenly started getting stuck on “waiting” on the first property it goes to process and therefore never progresses to the next one.

    The result is just a backlog of imports that should have been processed but they’re all still on “waiting”.

    I’ve tried clearing the logs and restarting them but still the same result.

    #1028191

    Having checked my PHP logs, it’s throwing this error:

    Uncaught Error: Call to a member function format() on null in /www/wp-content/plugins/motopress-hotel-booking/includes/repositories/booking-repository.php:227″

    I do have a ticket open, but I don’t want to reply to the email in case it puts it back to the back of the queue 🙂

    #1028324

    Hello Andy,

    I have located your ticket request and it is now taken care of. Let’s continue working on the issue in ticket #32491.

    Regards,
    Andre

    #1140406

    I am having the same issue on my website. All syncs are stuck on waiting.

    #1141267

    Hello Bradley,

    The issue has been addressed in ticket #39483. I am pasting my reply below just in case:

    The issue is caused by a large number of sync logs: https://prnt.sc/15cwkop. You should navigate to Calendar Sync Status tab at the top admin bar and delete all the logs there. Then set the Automatically delete sync logs older than option under Accommodation ->Settings to at least a “Week” in order to avoid logs overload in your database.
    Once it is done the synchronization should start working fine again.

    Regards,
    Andre

    #1183749

    Hi Andre, Same issue here. We have tried to delete the logs via the button shown, but does not seem to change anything. Is there another way to delete the logs?

    #1183751

    Disregard. It seems to have cleared now after around 30 mins. Have changed the retention setting to ensure it does not occur again. Thank you 🙂

    #1185476

    Hello James,

    Thank you for letting me know, I am glad it works fine now 🙂

    Regards,
    Andre

    #1192742

    I have the same waiting issue. I have deleted all the logs but that hasnt helped. Is there another solution?

    Kind regards,
    Daniel

    #1197204

    Hello Daniel,

    Kindly submit a request to our Help Desk providing your website URL and temporary access to WordPress dashboard, so we take a closer look at the issue.

    Regards,
    Andre

    #1632869

    i dont see the button to delete logs! Where is it

    #1633736

    Hi Danny, You need to click on Sync Calendar Status at the top admin bar to find the logs and the button to Delete them. You might need to click Abort Process first.

    #1773752

    If anyone haven’t figured solution (other than keep deleting logs manualy every time it gets stuck) problem is likely caused by object cache. It seems ical’s queue classes’s setNextItem and getNextItem is going thorugh object cache which not alaways gets updated in time. If you make methods of OptionsHandler class that is called by previously mentioned functions to get all options directly via wpdb, bypassing object cache it seems to solve problem. At least it solved for me (I use litespeed cache with LSMCD). This is real solution instead of manualy deleting logs every time sync gets stuck.

    #1774469

    Thank you for your feedback.
    I’d like to add that we also made some updates to make the process of importing bookings more stable since version 5.2.1 https://motopress.com/products/hotel-booking/#release-notes

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.