• Resolved aliahads

    (@aliahads)


    Hi,

    I am getting this undefined variable error in debug mode

    Here is an example of the error

    Undefined variable $num_pastdue_actions in wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_AdminView.php on line
Viewing 1 replies (of 1 total)
  • Plugin Support Rank Math Support

    (@rankmathteam)

    Hello @aliahads,

    Thank you for contacting support.

    Please make sure that you add this filter on your website to remove this new feature added to the ActionScheduler library recently:
    add_filter( 'action_scheduler_pastdue_actions_check_pre', '__return_false' );

    To add this filter you can use one of the methods mentioned here: https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Hope this helps solve your issues.

    Don’t hesitate to get in touch if you have any other questions.

Viewing 1 replies (of 1 total)
  • The topic ‘Undefined Variable Error’ is closed to new replies.