Everything has been going smoothly - however have run into an issue with admin/cfg_modules at v 1.0.7.7 with
Code: Select all
$this->_modules[] = [
'code' => $class::CODE,
'directory' => $class::DIRECTORY,
'language_directory' => $class::LANGUAGE_DIRECTORY,
'key' => $class::KEY,
'title' => $class::TITLE,
'template_integration' => $class::TEMPLATE_INTEGRATION,
The old code works perfect.... I see no reason, other than some sort of php configuration why the new code won't work - ideas?[22-Jul-2021 12:32:16 America/Toronto] PHP Fatal error: Uncaught Error: Undefined class constant 'CODE' in /home/xxxxx/public_html/*****/admin/includes/classes/cfg_modules.php:26
Stack trace:
#0 /home/xxxxx/public_html/*****/admin/includes/application_top.php(150): cfg_modules->__construct()
#1 /home/xxxxx/public_html/*****/admin/index.php(13): require('/home/flournet/...')
#2 {main}
thrown in /home/xxxxx/public_html/*****/admin/includes/classes/cfg_modules.php on line 26