Support is offline. We are back Monday 23 November, 09:00.

Cron error #82179

Resolved Locked barracuda69 opened this topic Thursday, 19 December 2024 · 2 replies
Author

Hi,

I'm trying to run a cron-job and I'm getting the following error:

The following error occurred while executing the cron job: Use --help to see the help information Processing started... Template Export Skroutz Symfony\Component\ErrorHandler\Error\ClassNotFoundError {#304 #message: """ Attempted to load class "JFactory" from the global namespace.\n Did you forget a "use" statement? """ #code: 0 #file: "/usr/www/users/fairyh/administrator/components/com_virtuemart/helpers/config.php" #line: 363 trace: { /usr/www/users/fairyh/administrator/components/com_virtuemart/helpers/config.php:363 { VmConfig::loadConfig($force = false, $fresh = false, $lang = true, $exeTrig = true) › if(defined('JVERSION')){ › \tVmDefines::defines(JFactory::getApplication()->getName()); › \trequire_once(VMPATH_ADMIN .'/helpers/vmecho.php'); } /usr/www/users/fairyh/plugins/system/customfieldsforallbase/bootstrap.php:5 { …} /usr/www/users/fairyh/plugins/csviext/customfieldsforall/PlgCsviextCustomfieldsforall.php:157 { …} /usr/www/users/fairyh/administrator/components/com_csvi/rantai/plugin/dispatcher.php:133 { …} /usr/www/users/fairyh/plugins/csviaddon/virtuemart/com_virtuemart/model/export/product.php:141 { …} /usr/www/users/fairyh/administrator/components/com_csvi/models/exports.php:542 { …} /usr/www/users/fairyh/administrator/components/com_csvi/helper/cron.php:888 { …} /usr/www/users/fairyh/administrator/components/com_csvi/helper/cron.php:296 { …} /usr/www/users/fairyh/libraries/src/Application/CliApplication.php:265 { …} /usr/www/users/fairyh/administrator/components/com_csvi/helper/cron.php:939 { …} } }

The template runs just fine from within the admin area.

Attached various files for your consideration.

Could you please help me?

Thanks!

D

Support

Hello Dennis,
Based on the error I see you are using Joomla 5 installation. We added a new way of running cron for Joomla versions 4 and above. You can read about this new cron command in Setting up a cron job in RO CSVI document under Joomla 4 and higher section. Try with this new cron command and check if cron works without any error. Let us know on how that goes.

Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

Hi T,

Thank you!!!!

D

This topic is locked. New replies are not possible.

Log in to reply to this topic.