if ($this->params->get('request', 1)) {
$this->debugBar->addCollector(new RequestDataCollector());
}
if ($this->params->get('session', 1)) {
$this->debugBar->addCollector(new SessionCollector($this->params, true));
}
if ($this->params->get('profile', 1)) {
$this->debugBar->addCollector((new ProfileCollector($this->params))->setRequestEndTime($endTime));
}
foreach ($this->listeners[$event->getName()] as $listener) {
if ($event->isStopped()) {
return $event;
}
$listener($event);
}
}
return $event;
}
$dispatcher = $this->getDispatcher();
} catch (\UnexpectedValueException $exception) {
return null;
}
return $dispatcher->dispatch($eventName, $event ?: new ApplicationEvent($eventName, $this));
}
/**
* Method to run the application routines.
*
// Send the application response.
$this->respond();
// Trigger the onAfterRespond event.
$this->dispatchEvent(
'onAfterRespond',
new AfterRespondEvent('onAfterRespond', ['subject' => $this])
);
}
// Set the application as global app
\Joomla\CMS\Factory::$application = $app;
// Execute the application.
$app->execute();
* 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 file
require_once __DIR__ . '/includes/app.php';
ClassNotFoundError
|
---|
Symfony\Component\ErrorHandler\Error\ClassNotFoundError: Attempted to load class "SessionCollector" from namespace "Joomla\Plugin\System\Debug\DataCollector". Did you forget a "use" statement for another namespace? at /hp/cj/ad/jd/www/hgweb1/plugins/system/debug/src/Extension/Debug.php:309 at Joomla\Plugin\System\Debug\Extension\Debug->onAfterRespond(object(AfterRespondEvent)) (/hp/cj/ad/jd/www/hgweb1/libraries/vendor/joomla/event/src/Dispatcher.php:454) at Joomla\Event\Dispatcher->dispatch('onAfterRespond', object(AfterRespondEvent)) (/hp/cj/ad/jd/www/hgweb1/libraries/vendor/joomla/application/src/AbstractApplication.php:99) at Joomla\Application\AbstractApplication->dispatchEvent('onAfterRespond', object(AfterRespondEvent)) (/hp/cj/ad/jd/www/hgweb1/libraries/src/Application/CMSApplication.php:347) at Joomla\CMS\Application\CMSApplication->execute() (/hp/cj/ad/jd/www/hgweb1/includes/app.php:58) at require_once('/hp/cj/ad/jd/www/hgweb1/includes/app.php') (/hp/cj/ad/jd/www/hgweb1/index.php:32) |