Conversation
supportI was using the Query Monitor plugin while also checking through the WP Crontrol plugin. All other pages are fine. But when I go to “Events” then “View the scheduled actions here” on the “Scheduled Actions” page listing all the completed/pending/failed Cron events. The Query Monitor shows a (deprecated) PHP error for PHP 8.* about “strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated.” This is something that is occurring in PHP 8 because of a change in the PHP operation where it won’t accept null into an array anymore. There’s a temporary fix ( see here ) but this error says it’s coming from admin-header.php meaning something is wrong with the way it’s choosing and displaying the info here in this part of the WP Crontrol plugin. This error connected to the admin-header.php is not appearing anywhere else on my admin dashboard or any other pages. I’ve double checked all the other pages and settings and plugins with Query Monitor on and I’m not saying any other PHP Errors or problems. This is the only thing that pops up here and only appears specifically when I go to this “Scheduled Actions” page. Very strange. I can’t figure out why it’s appearing in this plugin here as there aren’t any other major errors. Any idea what’s going on and how to fix this PHP error popping up? Just want to make sure it’s clean and running error free. Ty.
Here’s a screenshot of the error from the Query Monitor console as it appears on that page.
Thanks for the report @buddha1822 ! The “Scheduled Actions” screen is actually provided by Action Scheduler, not by WP Crontrol. WP Crontrol provides a link to this screen when Action Scheduler is active to save you some clicks. If you don’t have the Action Scheduler plugin installed it’s probably included with WooCommerce. Cheers.
Ah interesting. I don’t have Woocommerce installed either! Never have. It’s running a lot of cron jobs from another AIOSEO plugin but it’s also running other cron for various WordPress plugins. Hmmm not sure why it’s appearing this way anyway.
Here’s a screenshot of the error from the Query Monitor console as it appears on that page.
Thanks for the report @buddha1822 ! The “Scheduled Actions” screen is actually provided by Action Scheduler, not by WP Crontrol. WP Crontrol provides a link to this screen when Action Scheduler is active to save you some clicks. If you don’t have the Action Scheduler plugin installed it’s probably included with WooCommerce. Cheers.
Ah interesting. I don’t have Woocommerce installed either! Never have. It’s running a lot of cron jobs from another AIOSEO plugin but it’s also running other cron for various WordPress plugins. Hmmm not sure why it’s appearing this way anyway.