Details
Description
When the module cron task runs, it loads the module and then runs the cron on the module. This is fine, however, the Module class keeps an internal module property that references the module object from the database, which some methods rely on, such as Module::getModuleRow, Module::getModuleRows, and Module::log, particularly for the module_id.
- Update the module cron task to set the module object to the loaded module