` 2 w M s l I E F X 1 o a D m N C b y O . x y X C Z j j ( K {
$container = (new Container()) ->registerServiceProvider(new \Joomla\CMS\Service\Provider\Application()) ->registerServiceProvider(new \Joomla\CMS\Service\Provider\Authentication()) ->registerServiceProvider(new \Joomla\CMS\Service\Provider\CacheController()) ->registerServiceProvider(new \Joomla\CMS\Service\Provider\CaptchaRegistry()) ->registerServiceProvider(new \Joomla\CMS\Service\Provider\Config()) ->registerServiceProvider(new \Joomla\CMS\Service\Provider\Console()) ->registerServiceProvider(new \Joomla\CMS\Service\Provider\EditorsRegistry()) ->registerServiceProvider(new \Joomla\CMS\Service\Provider\Database()) ->registerServiceProvider(new \Joomla\CMS\Service\Provider\Dispatcher()) ->registerServiceProvider(new \Joomla\CMS\Service\Provider\Document()) * @since 4.0.0 */ public static function getContainer(): Container { if (!self::$container) { self::$container = self::createContainer(); } return self::$container; }// Set profiler start time and memory usage and mark afterLoad in the profiler.JDEBUG && \Joomla\CMS\Profiler\Profiler::getInstance('Application')->setStart($startTime, $startMem)->mark('afterLoad');// Boot the DI container$container = \Joomla\CMS\Factory::getContainer();/* * Alias the session service keys to the web session service as that is the primary session backend for this application * * In addition to aliasing "common" service keys, we also create aliases for the PHP classes to ensure autowiring objects * define() is used rather than "const" to not error for PHP 5.2 and lower */define('_JEXEC', 1);// Run the application - All executable code should be triggered through this filerequire_once dirname(__FILE__) . '/includes/app.php';|
ClassNotFoundError
|
|---|
Symfony\Component\ErrorHandler\Error\ClassNotFoundError:
Attempted to load class "Config" from namespace "Joomla\CMS\Service\Provider".
Did you forget a "use" statement for another namespace?
at /datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Factory.php:610
at Joomla\CMS\Factory::createContainer()
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Factory.php:241)
at Joomla\CMS\Factory::getContainer()
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/includes/app.php:35)
at require_once('/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/includes/app.php')
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/index.php:32)
|