System Error
Error while loading configuration from handler: project, Config Key: project: PHP Error: Function create_function() is deprecated, Code: 8192, File: /var/www/vhosts/spimise.com/framework/source/libs/utils/lcArrays.class.php, Line: 65

[lcConfiguration.class / 217 / 8192]
Exception Type: lcConfigException

Domain: com.lightcast.generic

Filename: /var/www/vhosts/spimise.com/framework/source/libs/configuration/lcConfiguration.class.php
Line: 217
  1.             try
  2.             {
  3.                 $handler_configuration $handler->getConfigurationData($config_key$this->environment$defaults);
  4.             }
  5.             catch(Exception $e)
  6.             {
  7.                 throw new lcConfigException('Error while loading configuration from handler: ' $config_handler_type ', Config Key: ' $config_key ': ' $e->getMessage(), $e->getCode(), $e);
  8.             }
  9.             if (isset($handler_configuration) && !is_array($handler_configuration))
  10.             {
  11.                 assert(false);
  12.                 continue;
Stack Trace
#0 /var/www/vhosts/spimise.com/framework/source/libs/app/lcApp.class.php(1121): lcErrorHandler->handlePHPError(8192,...)
  1.     public function handlePHPError($errno$errmsg$filename$linenum$vars)
  2.     {
  3.         if (!$this->error_handler) {
  4.             throw new lcPHPException($errmsg$errno$filename$linenum);
  5.         }
  6.         $this->error_handler->handlePHPError($errno$errmsg$filename$linenum$vars);
  7.     }
  8.     public function handleAssertion($file$line$code)
  9.     {
  10.         if ($this->error_handler) {
  11.             $this->error_handler->handleAssertion($file$line$code);
#1 /var/www/vhosts/spimise.com/framework/source/libs/utils/lcArrays.class.php(65): lcApp->handlePHPError(8192,...)
  1.         }
  2.         $ret null;
  3.         
  4.         if ($null_only
  5.         {
  6.             $ret array_filter($inputcreate_function('$a','return (is_array($a) && $a) || (!is_array($a) && (is_bool($a) || (is_string($a) && strlen(trim($a))) || is_numeric($a)));'));
  7.         }
  8.         else 
  9.         {
  10.             $ret array_filter($input);
  11.         }
#2 /var/www/vhosts/spimise.com/framework/source/libs/utils/lcArrays.class.php(57): lcArrays::arrayFilterDeep(Array,...)
  1.     public static function arrayFilterDeep(array $input$null_only false)
  2.     {
  3.         foreach ($input as &$value)
  4.         {
  5.             if (is_array($value))
  6.             {
  7.                 $value self::arrayFilterDeep($value$null_only);
  8.             }
  9.         }
  10.         $ret null;
  11.         
  12.         if ($null_only
#3 /var/www/vhosts/spimise.com/framework/source/libs/configuration/handlers/lcConfigHandler.class.php(174): lcArrays::arrayFilterDeep(Array,...)
  1.             unset($data[lcEnvConfigHandler::ENVIRONMENT_ALL]);
  2.         }
  3.         // allow subclassers to alter it
  4.         $data = (array)$this->postReadConfigData($environment$data);
  5.         $data lcArrays::arrayFilterDeep($datatrue);
  6.         $data $data $data null;
  7.         return $data;
  8.     }
  9. }
  10. ?>
#4 /var/www/vhosts/spimise.com/framework/source/libs/configuration/lcConfiguration.class.php(213): lcConfigHandler->getConfigurationData('project',...)
  1.             $handler->setOptions($options);
  2.             $handler->setDataProvider($this->getConfigDataProviderInstance());
  3.             $handler->setEnvironments($this->environments);
  4.             try
  5.             {
  6.                 $handler_configuration $handler->getConfigurationData($config_key$this->environment$defaults);
  7.             }
  8.             catch(Exception $e)
  9.             {
  10.                 throw new lcConfigException('Error while loading configuration from handler: ' $config_handler_type ', Config Key: ' $config_key ': ' $e->getMessage(), $e->getCode(), $e);
  11.             }
#5 /var/www/vhosts/spimise.com/framework/source/libs/configuration/lcConfiguration.class.php(119): lcConfiguration->loadConfigurationFromHandleMap(Array)
  1.     {
  2.         return $this->base_config_dir;
  3.     }
  4.     protected function loadConfigurationData()
  5.     {
  6.         $config_data $this->loadConfigurationFromHandleMap($this->getConfigHandleMap());
  7.         return $config_data;
  8.     }
  9.     public function getConfigHandleMap()
  10.     {
  11.         return null;
#6 /var/www/vhosts/spimise.com/framework/source/libs/configuration/lcWebConfiguration.class.php(122): lcConfiguration->loadConfigurationData()
  1.         return $app_map;
  2.     }
  3.     protected function loadConfigurationData()
  4.     {
  5.         // read the configuration
  6.         $config_data parent::loadConfigurationData();
  7.         // reset loaders to their defaults in case the property is set
  8.         if ($this->should_use_default_loaders)
  9.         {
  10.             $lhandler = new lcLoadersConfigHandler();
  11.             $ldata $lhandler->getDefaultValues();
#7 /var/www/vhosts/spimise.com/framework/source/libs/configuration/lcConfiguration.class.php(83): lcWebConfiguration->loadConfigurationData()
  1.         require_once (ROOT DS 'source' DS 'libs' DS 'configuration' DS 'handlers' DS 'lcWebServiceConfigHandler.class.php');
  2.         // read the configuration (unless already loaded - by class cache for
  3.         // example)
  4.         if (!$this->configuration)
  5.         {
  6.             $this->configuration $this->loadConfigurationData();
  7.         }
  8.     }
  9.     public function shutdown()
  10.     {
  11.         $this->configuration null;
#8 /var/www/vhosts/spimise.com/framework/source/libs/configuration/lcApplicationConfiguration.class.php(107): lcConfiguration->initialize()
  1.             $this->project_configuration->initialize();
  2.         }
  3.         // pass the project base dir
  4.         $this->base_config_dir $this->project_configuration->getBaseConfigDir();
  5.         parent::initialize();
  6.     }
  7.     public function shutdown()
  8.     {
  9.         // shutdown project_configuration
  10.         if ($this->project_configuration) {
#9 /var/www/vhosts/spimise.com/framework/source/libs/configuration/lcWebConfiguration.class.php(45): lcApplicationConfiguration->initialize()
  1.     protected $app_dir;
  2.     public function initialize()
  3.     {
  4.         $this->app_dir $this->project_configuration->getProjectDir() . DS 'applications' DS $this->getApplicationName();
  5.         parent::initialize();
  6.         // set charset
  7.         $charset = isset($this['view.charset']) ? (string)$this['view.charset'] : self::DEFAULT_CHARSET;
  8.         ini_set('default_charset'$charset);
  9.     }
#10 /var/www/vhosts/spimise.com/applications/frontend/config/lcFrontendConfiguration.class.php(59): lcWebConfiguration->initialize()
  1.     {
  2.         return $this->is_mobile_overriden;
  3.     }
  4.     public function initialize()
  5.     {
  6.         parent::initialize();
  7.         $this->getEventDispatcher()->connect('app.startup'$this'onAppStartup');
  8.         $this->getEventDispatcher()->connect('response.startup'$this'onResponseStartup');
  9.         $this->getEventDispatcher()->connect('request.startup'$this'onRequestStartup');
  10.         $this->getEventDispatcher()->connect('controller.change_action'$this'onControllerChangeAction');
  11.     }
#11 /var/www/vhosts/spimise.com/framework/source/libs/app/lcApp.class.php(751): lcFrontendConfiguration->initialize()
  1.         $configuration->executeBefore();
  2.         if ($configuration->getProjectConfiguration()) {
  3.             $configuration->getProjectConfiguration()->executeBefore();
  4.         }
  5.         $configuration->initialize();
  6.         // set timezone from configuration
  7.         $this->setSystemTimezone();
  8.         // set php limits
  9.         if ($time_limit = (int)$this->configuration['settings.time_limit']) {
#12 /var/www/vhosts/spimise.com/framework/source/libs/app/lcApp.class.php(129): lcApp->initConfiguration()
  1.         $this->initClassAutoloader();
  2.         // initialize config objects
  3.         $this->createSystemObjects();
  4.         // init and read configuration
  5.         $this->initConfiguration();
  6.         // initialize database model manager
  7.         $this->initDatabaseModelManager();
  8.         // initialize controller factory
  9.         $this->initSystemComponentFactory();
#13 /var/www/vhosts/spimise.com/framework/source/libs/app/lcApp.class.php(61): lcApp->initialize(Object)
  1.     private $initialized;
  2.     public static function bootstrap(lcApplicationConfiguration $configuration)
  3.     {
  4.         $app = new lcApp();
  5.         $app->initialize($configuration);
  6.         return $app;
  7.     }
  8.     public function initialize(lcApplicationConfiguration $configuration)
  9.     {
  10.         if ($this->initialized) {
#14 /var/www/vhosts/spimise.com/webroot/index.php(30): lcApp::bootstrap(Object)
  1. require_once('../applications/frontend/config/lcFrontendConfiguration.class.php');
  2. $configuration = new lcFrontendConfiguration(realpath(dirname(__FILE__) . '/../'), new ProjectConfiguration());
  3. @include_once('../config/boot_config.php');
  4. lcApp::bootstrap($configuration)->dispatch();
  5. ?>
Lightcast: 1.5.1.1469, PHP: 7.3.18