-
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.
The ticket ‘Error in scheduler’ is closed to new replies.