Another Action Scheduler issue
-
I recently signed up for a basic hosting account to explore building a basic webstore. I installed WordPress and also a few of themes and plugins. After that, I keep getting this message: Action Scheduler:?266?past-due actions?found; something may be wrong.?Read documentation ?
I attempted to run a few of them. They were run successfully with one failure. I’m not sure if I should run each and every one, and there must be a better way to run all these through the UI at once or by batch instead of me manually running them all.
I then delved deeper into the issue and found that the problem is caused by this error:
There was a problem spawning a call to the WP-Cron system on your site. This means WP-Cron events on your site may not work. The problem was: Unexpected HTTP response code: 403
According to the documentation, this means an access control restriction such as BasicAuth, a firewall, a security or privacy plugin, some form of password protection, or an?.htaccess?rule is preventing your server from accessing?wp-cron.php. But, I have not edited the .htacess file so I dont think thats the issue. I also dont think its my plugins:
Blocksy Companion: by CreativeThemes – 2.0.53
Elementor: by Elementor.com – 3.21.8
Image Optimizer by Elementor – Compress, Resize and Optimize Images: by Elementor.com – 1.3.0
Maintenance: by WebFactory Ltd – 4.12
WooCommerce: by Automattic – 8.9.3
WPForms Lite: by WPForms – 1.8.9.1However, I found a thread here which may resolve my issue. But where do I insert these 2 lines as mentioned by @supermichalpol in wp-cron.php:
wget -q -O –?https://[website_address]/wp-cron.php?doing_wp_cron?>/dev/null 2>&1; define(‘DISABLE_WP_CRON’, true);
I would be most grateful if someone on the forum could let me know where to insert these 2 lines. Thank you.
- You must be logged in to reply to this topic.