Error in scheduler

#514241
  • Resolved Chris Whiting
    Rank Math free

    The error below has been presenting itself, and will not clear despite your support team offering a fix

    Error

      Warning: Undefined variable $num_pastdue_actions in /homepages/24/d387179773/htdocs/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_AdminView.php on line 191

      Warning: Undefined variable $num_pastdue_actions in /homepages/24/d387179773/htdocs/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_AdminView.php on line 194.

      I was advised by your support team I can disable that warning by adding the following filter on my website via code snippets.

      add_filter( ‘action_scheduler_pastdue_actions_check_pre’, ‘__return_false’ );

      This was added, and it appeared to work, but sadly not. Unfortunately, the fix that was provided above is not permanent, the error keeps appearing intermittently. I have to go into snippets, deactivate php code then reactivate and eventually after a while the error goes, but returns a few hours later.

      As I say, this happens frequently throughout the day and is very frustrating, to the point I’m considering deactivating the Rank Math plugin.

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.

    As I said on your previous ticket that this warning is appearing because there are pending Action Scheduler actions that were not completed. You won’t need to worry about it.

    For more details you can follow the steps mentioned in our guide here:
    https://rankmath.com/kb/fix-action-scheduler-warning/

    If that doesn’t help, then we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.

    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘Error in scheduler’ is closed to new replies.