Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support WPM Support

    (@saranshwpm)

    Hi @florismk,

    Thank you for sharing the details and logs.

    The error you’re seeing is related to the Action Scheduler library, which is used by several WordPress plugins including Imagify. However, even though the logs reference the version bundled with Imagify, the issue may not necessarily be caused by Imagify itself.

    WordPress loads only one instance of the Action Scheduler—usually from the first plugin that requests it—so if other plugins (like WP Rocket and not necessarily WooCommerce) also use Action Scheduler, the actual origin of the error can be hard to pinpoint.

    What you encountered seems to match a known open issue in Action Scheduler:
    https://github.com/woocommerce/action-scheduler/issues/970

    We’ve seen this happen occasionally in other plugins too, and in most cases, it resolves after restarting the database.

    That said, if the issue reappears frequently, we recommend reviewing any overlapping scheduled tasks or reaching out to your host to monitor DB-level locks or contention.

    Best regards,
    The Imagify Team

    Thread Starter Floris

    (@florismk)

    Thanks team! Just to clarify: Are you sure this is a similar issue? Like I said, the actionscheduler tables are not present in the WP database, and that’s the problem reported in the error. Shouldn’t those tables be present, if Imagify uses the Action Scheduler library?

    Thread Starter Floris

    (@florismk)

    Additional info and question: The 2nd site that doesn’t have the actionscheduler tables also started throwing the error. Same cause reported by the trace: actionscheduler tables missing.

    Since nothing changed to the database last week, there must have been some change in the plugin that triggered the error, I’d expect. Has Imagify started using the Action Scheduler, or changed its use of it, in a recent update?

    I understand that the AS can be used by several plugins. However, given that the error was not thrown at all until recently, and is now thrown with Imagify as the reported source, it seems plausible to me that Imagify is indeed triggering the error.

    Especially since, as I already mentioned twice, the AS tables are missing. There weren’t suddenly dropped recently. So any plugin using the AS should have been causing this error.

    Thread Starter Floris

    (@florismk)

    I’ve since been able to restore the missing tables by going to the Scheduled Actions admin page. WP reported the missing tables there, and successfully attempted to restore them. I expect the error to disappear now; will report back.

    Plugin Support WPM Support

    (@saranshwpm)

    Hi @florismk,

    Thank you for your patience, and apologies for the delay due to the holidays.

    Imagify did update the AS version in a previous release back in May, and there haven’t been any recent changes that would explain this issue now. Based on that, the solution you tried should be the correct one.

    If you run into any further issues or need help with anything else, please feel free to open a new thread and we’ll be glad to assist.

    Best regards

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.