Lorem ipsum dolor sit amet, consectetur adipiscing elit. (6)

In id ultrices neque, nec scelerisque tellus. Curabitur semper vestibulum felis porta maximus. In bibendum vel mauris vitae maximus. Vestibulum aliquet risus arcu, non ultrices nunc pretium in.

Attempted to load class "CliDumper" from namespace "Symfony\Component\VarDumper\Dumper". Did you forget a "use" statement for another namespace? (500 Whoops, looks like something went wrong.)

ClassNotFoundError

HTTP 500 Whoops, looks like something went wrong.

Attempted to load class "CliDumper" from namespace "Symfony\Component\VarDumper\Dumper".
Did you forget a "use" statement for another namespace?

Exception

Symfony\Component\ErrorHandler\Error\ ClassNotFoundError

  1. * DataFormatter constructor.
  2. */
  3. public function __construct()
  4. {
  5. $this->cloner = new VarCloner();
  6. $this->dumper = new CliDumper();
  7. }
  8. /**
  9. * @param $data
  10. * @return string
  1. * @return DataFormatter
  2. */
  3. public static function getDefaultDataFormatter(): DataFormatter
  4. {
  5. if (self::$defaultDataFormatter === null) {
  6. self::$defaultDataFormatter = new DataFormatter();
  7. }
  8. return self::$defaultDataFormatter;
  9. }
AbstractDataCollector::getDefaultDataFormatter() in /var/www/clients/client16/web101/web/plugins/system/debug/src/AbstractDataCollector.php (line 65)
  1. * @return DataFormatter
  2. */
  3. public function getDataFormatter(): DataFormatter
  4. {
  5. if ($this->dataFormater === null) {
  6. $this->dataFormater = self::getDefaultDataFormatter();
  7. }
  8. return $this->dataFormater;
  9. }
  1. $value = '***redacted***';
  2. });
  3. foreach ($data as $key => $value) {
  4. $this->sessionData[$key] = $this->getDataFormatter()->formatVar($value);
  5. }
  6. }
  7. return ['data' => $this->sessionData];
  8. }
  1. public function __construct($params, $collect = false)
  2. {
  3. parent::__construct($params);
  4. if ($collect) {
  5. $this->collect();
  6. }
  7. }
  8. /**
  9. * Called by the DebugBar when data needs to be collected
  1. if ($this->params->get('request', 1)) {
  2. $this->debugBar->addCollector(new RequestDataCollector());
  3. }
  4. if ($this->params->get('session', 1)) {
  5. $this->debugBar->addCollector(new SessionCollector($this->params, true));
  6. }
  7. if ($this->params->get('profile', 1)) {
  8. $this->debugBar->addCollector((new ProfileCollector($this->params))->setRequestEndTime($endTime));
  9. }
  1. foreach ($this->listeners[$event->getName()] as $listener) {
  2. if ($event->isStopped()) {
  3. return $event;
  4. }
  5. $listener($event);
  6. }
  7. }
  8. return $event;
  9. }
  1. $dispatcher = $this->getDispatcher();
  2. } catch (\UnexpectedValueException $exception) {
  3. return null;
  4. }
  5. return $dispatcher->dispatch($eventName, $event ?: new ApplicationEvent($eventName, $this));
  6. }
  7. /**
  8. * Method to run the application routines.
  9. *
  1. // Send the application response.
  2. $this->respond();
  3. // Trigger the onAfterRespond event.
  4. $this->dispatchEvent(
  5. 'onAfterRespond',
  6. new AfterRespondEvent('onAfterRespond', ['subject' => $this])
  7. );
  8. }
CMSApplication->execute() in /var/www/clients/client16/web101/web/includes/app.php (line 58)
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application = $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/var/www/clients/client16/web101/web/includes/app.php') in /var/www/clients/client16/web101/web/index.php (line 51)
  1. // ... die
  2. die();
  3. }
  4. // Run the application - All executable code should be triggered through this file
  5. require_once __DIR__ . '/includes/app.php';

Stack Trace

ClassNotFoundError
Symfony\Component\ErrorHandler\Error\ClassNotFoundError:
Attempted to load class "CliDumper" from namespace "Symfony\Component\VarDumper\Dumper".
Did you forget a "use" statement for another namespace?

  at /var/www/clients/client16/web101/web/libraries/vendor/php-debugbar/php-debugbar/src/DebugBar/DataFormatter/DataFormatter.php:28
  at DebugBar\DataFormatter\DataFormatter->__construct()
     (/var/www/clients/client16/web101/web/plugins/system/debug/src/AbstractDataCollector.php:80)
  at Joomla\Plugin\System\Debug\AbstractDataCollector::getDefaultDataFormatter()
     (/var/www/clients/client16/web101/web/plugins/system/debug/src/AbstractDataCollector.php:65)
  at Joomla\Plugin\System\Debug\AbstractDataCollector->getDataFormatter()
     (/var/www/clients/client16/web101/web/plugins/system/debug/src/DataCollector/SessionCollector.php:87)
  at Joomla\Plugin\System\Debug\DataCollector\SessionCollector->collect()
     (/var/www/clients/client16/web101/web/plugins/system/debug/src/DataCollector/SessionCollector.php:58)
  at Joomla\Plugin\System\Debug\DataCollector\SessionCollector->__construct()
     (/var/www/clients/client16/web101/web/plugins/system/debug/src/Extension/Debug.php:307)
  at Joomla\Plugin\System\Debug\Extension\Debug->onAfterRespond()
     (/var/www/clients/client16/web101/web/libraries/vendor/joomla/event/src/Dispatcher.php:454)
  at Joomla\Event\Dispatcher->dispatch()
     (/var/www/clients/client16/web101/web/libraries/vendor/joomla/application/src/AbstractApplication.php:99)
  at Joomla\Application\AbstractApplication->dispatchEvent()
     (/var/www/clients/client16/web101/web/libraries/src/Application/CMSApplication.php:347)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/var/www/clients/client16/web101/web/includes/app.php:58)
  at require_once('/var/www/clients/client16/web101/web/includes/app.php')
     (/var/www/clients/client16/web101/web/index.php:51)