Action scheduler

#959944
  • Resolved Synnøve Tvedten
    Rank Math free

    Hello, when trying to enter the action scheduler I get this message:

    “There has been a critical error on this website. Please check your site admin email inbox for instructions. If you continue to have problems, please try the support forums.

    Learn more about troubleshooting WordPress.”

    The E-mail we got from worpress about the error, says that it is the Rank Math plugin that causes the issue. I will post the details of the error in the sensitive data section.

    I see from the wordpress forums that it is not just me that has this problem. Are there a fix for this?

    Best regards Synnøve Tvedten

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hello,

    We apologize for the issue you are facing with the Action Scheduler and the critical error on your website. This problem is indeed related to the Rank Math plugin, particularly after the 1.0.49 update, and it has affected a handful of websites due to conflicts with older versions of the Action Scheduler used by other plugins.

    To resolve this issue, please follow these steps:

    1. Backup Your Database: Before making any changes, we recommend taking a backup of your database.

    2. Use the Repair Action Scheduler Plugin: You can use our Repair Action Scheduler plugin to fix this issue automatically on most sites. For multisite installations, use the following files: Repair Action Scheduler Multisite.

      • Download the ZIP file from GitHub by clicking on the green “Code” button and then on “Download ZIP”.
      • Upload that ZIP file to your site via Plugins → Add New → Upload Plugin.

      Repair Action Scheduler Error Plugin

    3. Activate the Plugin: Once activated, the plugin should automatically fix the issue and then deactivate itself. You may see messages indicating that tables have been created successfully.

    4. Clear Cache: After following these steps, please clear all caches, including server cache, to ensure that changes take effect.

    5. Check Scheduled Actions: You can check the status of scheduled actions under WordPress Dashboard → Tools → Scheduled Actions → Pending to see if everything is running smoothly.

    If you continue to experience issues after following these steps, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further.

    Thank you for raising this concern, and we hope this helps resolve your issue!

    Sources:
    Fatal Error Happening on Some Installations After 1.0.49 Update » Rank Math

    Hi, I tried to use the repair plugin but then I got this message:

    The Repair Action Scheduler could not run because the repair database schema is obsolete.

    No actions performed.

    The Repair Action Scheduler plugin has been automatically deactivated.

    Hello,

    Assuming you are using the latest version of all the plugins and the themes (please update if not yet), this can be caused by conflicting plugin/theme on your site.

    To determine that, please follow this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Here is a video you can follow as well: https://www.youtube.com/watch?v=FcIWRhcUP2c

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    Looking forward to helping you.

    JMB
    Rank Math pro

    Hi,

    I get the same issue as Synnøve Tvedten, and it is also related in https://wordpress.org/support/topic/action-scheduler-1-0-237/.

    I follow your process, but still the same issue “There has been a critical error on this website…”.
    If i degrade Rank match to 1.0.236 then it works, if i am with lastest version 1.0.237 => issue.

    This issue does not come from other plugin as the error is clear (same as in support topic):
    Uncaught Error: Call to undefined method ActionScheduler_Versions::active_source() in /xxxxx/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_AdminView.php:254.

    Hello,

    Cueing from other users where this issue was investigated, we found that it is happening due to the conflicting ActionScheduler packages used in the plugins on the site.

    There is likely a plugin using an older version of the ActionScheduler package, while our plugin uses the latest version, v3.9.1.

    Since it’s on an external plugin, the culprit plugin will need to update this package in their plugin. They might have already done this in their latest version, kindly ensure you are using the latest versions of all plugins and theme.

    If they are all up to date the easiest way to identify the culprit plugin will be to do a plugin/theme conflict check; you can follow this guide for that: https://rankmath.com/kb/check-plugin-conflicts/

    Kindly reach out to their support team concerning this issue.

    Let us know how it goes. Looking forward to helping you.

    Thank you.

    Yes, everything is updated to the latest version both theme and plugins.

    When troubleshooting I found out that when I deactivated only mailpoet the error message disappeared.
    And when deactivating only rank math (with mailpoet still activated) the problem disappeared.

    I also found that the error message suddenly disappeared on one of the four websites I got this problem. Have no idea why.

    Best regards Synnøve Tvedten

    Sorry, my bad. The one site I thought the error was gone was just rank math deactivated causing the error to dissapear.

    Hello,

    If the issue was solved upon disabling the mailpoet on your site, then it must be using an older version of the ActionScheduler package, which conflicts with Rank Math.

    In that case, you may get in touch with their developer to confirm this issue.

    Looking forward to helping you.

    JMB
    Rank Math pro

    Hello,

    After checking all plugins including a snipets check wich plugin call ActionScheduler.php:
    Deconflicting Different Versions of Action Scheduler. I cannot identified a plugin which creats the cron default.

    So i found out that the best way was to install Action Scheduler by Automattic. Then I am able to use Rank Match v1.0.237 whitout issue.

    Best regards

    Hello @jean-marie-9998,

    Thank you for sharing your findings. Installing Action Scheduler by Automattic is a great workaround, as it ensures a consistent version across all plugins using it.

    We’re glad to hear that Rank Math v1.0.237 is now working without issues.

    Let us know if you need any further assistance.

    Thanks.

    Hello again, I hope you are doing well.

    Mailpoets used an older version of the ActionScheduler package, and the latest update they released fixed this problem.

    Thanks for the help.

    Hello,

    Glad that everything has been sorted out.

    Please feel free to reach out to us again in case you need any other assistance.

    We are here to help.

    Thank you.

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

You must be logged in to reply to this ticket.