• Suite 7/438 Forest Road Hurstville NSW 2220 AUSTRALIA
  • (+61) 2 95863111

Access Consultant's Journal

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.)

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 /home/sydneya1/public_html/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
SessionCollector->__construct(object(Registry), true) in /home/sydneya1/public_html/plugins/system/debug/src/Extension/Debug.php (line 299)
  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->paramstrue));
  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.      *
AbstractApplication->dispatchEvent('onAfterRespond', object(AfterRespondEvent)) in /home/sydneya1/public_html/libraries/src/Application/CMSApplication.php (line 349)
  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 /home/sydneya1/public_html/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('/home/sydneya1/public_html/includes/app.php') in /home/sydneya1/public_html/index.php (line 283)
  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

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 /home/sydneya1/public_html/libraries/vendor/maximebf/debugbar/src/DebugBar/DataFormatter/DataFormatter.php:28
  at DebugBar\DataFormatter\DataFormatter->__construct()
     (/home/sydneya1/public_html/plugins/system/debug/src/AbstractDataCollector.php:80)
  at Joomla\Plugin\System\Debug\AbstractDataCollector::getDefaultDataFormatter()
     (/home/sydneya1/public_html/plugins/system/debug/src/AbstractDataCollector.php:65)
  at Joomla\Plugin\System\Debug\AbstractDataCollector->getDataFormatter()
     (/home/sydneya1/public_html/plugins/system/debug/src/DataCollector/SessionCollector.php:87)
  at Joomla\Plugin\System\Debug\DataCollector\SessionCollector->collect()
     (/home/sydneya1/public_html/plugins/system/debug/src/DataCollector/SessionCollector.php:58)
  at Joomla\Plugin\System\Debug\DataCollector\SessionCollector->__construct(object(Registry), true)
     (/home/sydneya1/public_html/plugins/system/debug/src/Extension/Debug.php:299)
  at Joomla\Plugin\System\Debug\Extension\Debug->onAfterRespond(object(AfterRespondEvent))
     (/home/sydneya1/public_html/libraries/vendor/joomla/event/src/Dispatcher.php:454)
  at Joomla\Event\Dispatcher->dispatch('onAfterRespond', object(AfterRespondEvent))
     (/home/sydneya1/public_html/libraries/vendor/joomla/application/src/AbstractApplication.php:99)
  at Joomla\Application\AbstractApplication->dispatchEvent('onAfterRespond', object(AfterRespondEvent))
     (/home/sydneya1/public_html/libraries/src/Application/CMSApplication.php:349)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/home/sydneya1/public_html/includes/app.php:58)
  at require_once('/home/sydneya1/public_html/includes/app.php')
     (/home/sydneya1/public_html/index.php:283)