Code: php cron_debug.php --cronjob=900-letsencrypt.inc.php PHP Fatal error: Uncaught Error: Call to a member function announceEvents() on null in /usr/local/ispconfig/server/mods-available/web_module.inc.php:94 Stack trace: #0 /usr/local/ispconfig/server/lib/classes/modules.inc.php(69): web_module->onLoad() #1 /usr/local/ispconfig/server/lib/classes/cron.d/900-letsencrypt.inc.php(47): modules->loadModules('web_module') #2 /usr/local/ispconfig/server/cron_debug.php(66): cronjob_letsencrypt->onBeforeRun() #3 {main} thrown in /usr/local/ispconfig/server/mods-available/web_module.inc.php on line 94
The script works fine, its just that you can not run it with cron_debug.php manually anymore as this plugin requires the full app stack now. This does not happen with normal use when called by cron.php.
There is no test script for that. If you would want to test it, then you need a script which loads all plugins and modules first, similar to what the cron script is doing now.
Try to change this line in cron debug: $app->uses('modules,ini_parser,file,services,getconf,system,cron,functions'); to $app->uses('modules,ini_parser,file,services,getconf,system,cron,functions,plugins');