- Posts: 25
- Thank you received: 1
Akeeba Cronjob Failure
- quantumgravity
- Topic Author
- Offline
- Junior Member
-
I hope all is well!
I had a problem with SCP after upgrading to Joomla 4.4. Our Akeeba automated cronjobs stopped working. I sent the cronjob emailed result to Nick Dionysopoulos at Akeeba, and this was his reply:
This apparently comes from line 161 of public_html/administrator/components/com_securitycheckpro/src/Model/BaseModel.php. Below is the full text of the cronjob emailed error message:The problem comes from a third party component, com_securitycheckpro. Please contact its developer and show them the error trace.They code they are using (calling getCfg on the application object) has been deprecated since Joomla! 3.0. It was marked for removal in Joomla! 4.0, but was actually removed in 5.0. The correct method to call now is simply
instead ofCode:get().Code:[s]getCfg()[/s]
Thanks for the help!
Kip
Cronjob email:Symfony\Component\ErrorHandler\Error\UndefinedMethodError {#556 #message: "Attempted to call an undefined method named "getCfg" of class "Joomla\CMS\Application\ConsoleApplication"." #code: 0 #file: "./www/[website-domain-name]/public_html/administrator/components/com_securitycheckpro/src/Model/BaseModel.php" #line: 161 trace: { ./www/[website-domain-name]/public_html/administrator/components/com_securitycheckpro/src/Model/BaseModel.php:161 { SecuritycheckExtensions\Component\SecuritycheckPro\Administrator\Model\BaseModel->__construct() › // Obtenemos las variables de paginación de la petición › $limit = $mainframe->getUserStateFromRequest('global.list.limit', 'limit', $mainframe->getCfg('list_limit'), 'int'); › } ./www/[website-domain-name]/public_html/plugins/system/securitycheckpro_cron/src/Extension/Securitycheckpro_cron.php:29 { …} ./www/[website-domain-name]/public_html/plugins/system/securitycheckpro_cron/services/provider.php:38 { …} ./www/[website-domain-name]/public_html/libraries/vendor/joomla/di/src/ContainerResource.php:182 { …} ./www/[website-domain-name]/public_html/libraries/vendor/joomla/di/src/Container.php:96 { …} ./www/[website-domain-name]/public_html/libraries/src/Extension/ExtensionManagerTrait.php:177 { …} ./www/[website-domain-name]/public_html/libraries/src/Extension/ExtensionManagerTrait.php:99 { …} ./www/[website-domain-name]/public_html/libraries/src/Plugin/PluginHelper.php:232 { …} ./www/[website-domain-name]/public_html/libraries/src/Plugin/PluginHelper.php:192 { …} ./www/[website-domain-name]/public_html/libraries/src/Application/ConsoleApplication.php:255 { …} ./www/[website-domain-name]/public_html/cli/joomla.php:77 { …} }}
Please Log in or Create an account to join the conversation.
- Jose
-
- Offline
- Administrator
-
- Posts: 4857
- Thank you received: 366
I solved this a couple of days ago. Please, download and install 4.0 version of Securitycheck Pro again.
Regards,
Jose
Please Log in or Create an account to join the conversation.
This site is not affiliated with or endorsed by the Joomla! Project. It is not supported or warranted by the Joomla! Project or Open Source Matters. The Joomla! logo is used under a limited license granted by Open Source Matters, the trademark holder in the United States and other countries.
We may collect your IP address and your browser's User Agent string while using our site for security reasons. This information is retained only until we check you're not trying to hack our website.