Akeeba Cronjob Failure

  • quantumgravity
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 month 1 day ago #9867 by quantumgravity
Akeeba Cronjob Failure was created by quantumgravity
Hi Jose,

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:

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

Code:
get()
instead of
Code:
[s]getCfg()[/s]
.

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:

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.

More
1 month 22 hours ago - 1 month 22 hours ago #9868 by Jose
Replied by Jose on topic Akeeba Cronjob Failure
Hi Kip,

I solved this a couple of days ago. Please, download and install 4.0 version of Securitycheck Pro again.

Regards,
Jose
Last edit: 1 month 22 hours ago by Jose. Reason: Fix a typo
The following user(s) said Thank You: quantumgravity, chrishall57

Please Log in or Create an account to join the conversation.

Time to create page: 0.127 seconds