Server Side Cron has stopped working
-
Howdy. I am running MailPoet on 3 sites, using Server Side Cron. I just discovered that on 2 of the sites, Server Side Cron stopped working sometime in December 2024. I update MailPoet monthly. No server configurations have changed. I have tried all the troubleshooting steps. If I switch to Action Scheduler, emails send normally. I cannot find a reason why Server Side Cron is still working on one site, but not the other two.
On the site that is working normally with Server Side Cron, the output from the cronjob also looks normal. But here is the email output from the cron job on one of the sites that is not working. Note the fatal error.
Cron php /home/myserver/mysite.com/wp-content/plugins/mailpoet/mailpoet-cron.php /home/myserver/mysite.com/
Content-type: text/html; charset=UTF-8
Warning: require_once(/home/myserver/mysite.com/wp-content/plugins/mailpoet/vendor-prefixed/composer/autoload_real.php): Failed to open stream: No such file or directory in /home/myserver/mysite.com/wp-content/plugins/mailpoet/vendor-prefixed/autoload.php on line 19
Fatal error: Uncaught Error: Failed opening required ‘/home/myserver/mysite.com/wp-content/plugins/mailpoet/vendor-prefixed/composer/autoload_real.php’ (include_path=’.:/opt/cpanel/ea-php81/root/usr/share/pear’) in /home/myserver/mysite.com/wp-content/plugins/mailpoet/vendor-prefixed/autoload.php:19Stack trace: 0 /home/myserver/mysite.com/wp-content/plugins/pretty-link/pretty-link.php(30): require_once() 1 /home/myserver/mysite.com/wp-settings.php(526): include_once(‘/home/myserver/…’) 2 /home/myserver/mysite.com/wp-config.php(98): require_once(‘/home/myserver/…’) 3 /home/myserver/mysite.com/wp-load.php(50): require_once(‘/home/myserver/…’) 4 /home/myserver/mysite.com/wp-content/plugins/mailpoet/mailpoet-cron.php(28): require_once(‘/home/myserver/…’) 5 {main} thrown in /home/myserver/mysite.com/wp-content/plugins/mailpoet/vendor-prefixed/autoload.php on line 19
When I first discovered the issue, the most recent version was 5.5.2, and upgrading did not fix the issue.
Thanks for your help.
- You must be logged in to reply to this topic.