0
{
if ($collector->getName() === '__meta') {
throw new DebugBarException("'__meta' is a reserved name and cannot be used as a collector name");
}
if (isset($this->collectors[$collector->getName()])) {
throw new DebugBarException("'{$collector->getName()}' is already a registered collector");
}
$this->collectors[$collector->getName()] = $collector;
return $this;
}
}
// Load language.
$this->loadLanguage();
$this->debugBar->addCollector(new InfoCollector($this->params, $this->debugBar->getCurrentRequestId()));
$this->debugBar->addCollector(new UserCollector());
if (JDEBUG) {
if ($this->params->get('memory', 1)) {
$this->debugBar->addCollector(new MemoryCollector($this->params, $endMemory));
if ($event->isStopped())
{
return $event;
}
$listener($event);
}
}
return $event;
}
// Send the application response.
$this->respond();
// Trigger the onAfterRespond event.
$this->getDispatcher()->dispatch('onAfterRespond');
}
/**
* Check if the user is required to reset their password.
*
// 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 dirname(__FILE__) . '/includes/app.php';
DebugBarException
|
---|
DebugBar\DebugBarException: 'info' is already a registered collector at /homepages/23/d380474000/htdocs/circle2020/libraries/vendor/maximebf/debugbar/src/DebugBar/DebugBar.php:65 at DebugBar\DebugBar->addCollector() (/homepages/23/d380474000/htdocs/circle2020/plugins/system/debug/src/Extension/Debug.php:286) at Joomla\Plugin\System\Debug\Extension\Debug->onAfterRespond() (/homepages/23/d380474000/htdocs/circle2020/libraries/vendor/joomla/event/src/Dispatcher.php:486) at Joomla\Event\Dispatcher->dispatch() (/homepages/23/d380474000/htdocs/circle2020/libraries/src/Application/CMSApplication.php:332) at Joomla\CMS\Application\CMSApplication->execute() (/homepages/23/d380474000/htdocs/circle2020/includes/app.php:61) at require_once('/homepages/23/d380474000/htdocs/circle2020/includes/app.php') (/homepages/23/d380474000/htdocs/circle2020/index.php:32) |