1. barracuda69
  2. RO CSVI
  3. Thursday, 19 December 2024
  4.  Subscribe via email
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
Attachments (2)
Sorry, the discussion is currently locked. You will not be able to post a reply or a comment at the moment.