DebugBarException

HTTP 500 Whoops, looks like something went wrong.

'info' is already a registered collector

Exception

DebugBar\ DebugBarException

  1.     {
  2.         if ($collector->getName() === '__meta') {
  3.             throw new DebugBarException("'__meta' is a reserved name and cannot be used as a collector name");
  4.         }
  5.         if (isset($this->collectors[$collector->getName()])) {
  6.             throw new DebugBarException("'{$collector->getName()}' is already a registered collector");
  7.         }
  8.         $this->collectors[$collector->getName()] = $collector;
  9.         return $this;
  10.     }
DebugBar->addCollector(object(InfoCollector)) in /home/sites/midlandwebservices.co.uk/public_html/plugins/system/debug/debug.php (line 294)
  1.         }
  2.         // Load language.
  3.         $this->loadLanguage();
  4.         $this->debugBar->addCollector(new InfoCollector($this->params$this->debugBar->getCurrentRequestId()));
  5.         $this->debugBar->addCollector(new UserCollector());
  6.         if (JDEBUG) {
  7.             if ($this->params->get('memory'1)) {
  8.                 $this->debugBar->addCollector(new MemoryCollector());
  1.                 if ($event->isStopped())
  2.                 {
  3.                     return $event;
  4.                 }
  5.                 $listener($event);
  6.             }
  7.         }
  8.         return $event;
  9.     }
  1.         // Send the application response.
  2.         $this->respond();
  3.         // Trigger the onAfterRespond event.
  4.         $this->getDispatcher()->dispatch('onAfterRespond');
  5.     }
  6.     /**
  7.      * Check if the user is required to reset their password.
  8.      *
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/home/sites/midlandwebservices.co.uk/public_html/includes/app.php') in /home/sites/midlandwebservices.co.uk/public_html/index.php (line 32)
  1.  * define() is used rather than "const" to not error for PHP 5.2 and lower
  2.  */
  3. define('_JEXEC'1);
  4. // Run the application - All executable code should be triggered through this file
  5. require_once dirname(__FILE__) . '/includes/app.php';

Stack Trace

DebugBarException
DebugBar\DebugBarException:
'info' is already a registered collector

  at /home/sites/midlandwebservices.co.uk/public_html/libraries/vendor/maximebf/debugbar/src/DebugBar/DebugBar.php:65
  at DebugBar\DebugBar->addCollector(object(InfoCollector))
     (/home/sites/midlandwebservices.co.uk/public_html/plugins/system/debug/debug.php:294)
  at PlgSystemDebug->onAfterRespond(object(Event))
     (/home/sites/midlandwebservices.co.uk/public_html/libraries/vendor/joomla/event/src/Dispatcher.php:486)
  at Joomla\Event\Dispatcher->dispatch('onAfterRespond')
     (/home/sites/midlandwebservices.co.uk/public_html/libraries/src/Application/CMSApplication.php:332)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/home/sites/midlandwebservices.co.uk/public_html/includes/app.php:61)
  at require_once('/home/sites/midlandwebservices.co.uk/public_html/includes/app.php')
     (/home/sites/midlandwebservices.co.uk/public_html/index.php:32)