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 DataFormatterInterface
  2.      */
  3.     public static function getDefaultDataFormatter()
  4.     {
  5.         if (self::$defaultDataFormatter === null) {
  6.             self::$defaultDataFormatter = new DataFormatter();
  7.         }
  8.         return self::$defaultDataFormatter;
  9.     }
  10.     /**
  1.      * @return DataFormatterInterface
  2.      */
  3.     public function getDataFormatter()
  4.     {
  5.         if ($this->dataFormater === null) {
  6.             $this->dataFormater self::getDefaultDataFormatter();
  7.         }
  8.         return $this->dataFormater;
  9.     }
  10.     /**
  1.     public function collect()
  2.     {
  3.         $this->updatePeakUsage();
  4.         return array(
  5.             'peak_usage' => $this->peakUsage,
  6.             'peak_usage_str' => $this->getDataFormatter()->formatBytes($this->peakUsage0)
  7.         );
  8.     }
  9.     /**
  10.      * @return string
  1.                 $request_variables
  2.             )
  3.         );
  4.         foreach ($this->collectors as $name => $collector) {
  5.             $this->data[$name] = $collector->collect();
  6.         }
  7.         // Remove all invalid (non UTF-8) characters
  8.         array_walk_recursive($this->data, function (&$item) {
  9.                 if (is_string($item) && !mb_check_encoding($item'UTF-8')) {
  1.      * @return array
  2.      */
  3.     public function getData()
  4.     {
  5.         if ($this->data === null) {
  6.             $this->collect();
  7.         }
  8.         return $this->data;
  9.     }
  10.     /**
  1.                 $js .= $this->getAddDatasetCode($id$data'(stacked)');
  2.             }
  3.         }
  4.         $suffix = !$initialize '(ajax)' null;
  5.         $js .= $this->getAddDatasetCode($this->debugBar->getCurrentRequestId(), $this->debugBar->getData(), $suffix);
  6.         $nonce '';
  7.         if ($doc->cspNonce) {
  8.             $nonce ' nonce="' $doc->cspNonce '"';
JavascriptRenderer->render() in /home/netsoft/public_html/plugins/system/debug/debug.php (line 370)
  1.             echo $contents;
  2.             return;
  3.         }
  4.         echo str_replace('</body>'$debugBarRenderer->renderHead() . $debugBarRenderer->render() . '</body>'$contents);
  5.     }
  6.     /**
  7.      * AJAX handler
  8.      *
  1.                 if ($event->isStopped())
  2.                 {
  3.                     return $event;
  4.                 }
  5.                 $listener($event);
  6.             }
  7.         }
  8.         return $event;
  9.     }
Dispatcher->dispatch('onAfterRespond') in /home/netsoft/public_html/libraries/src/Application/CMSApplication.php (line 333)
  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.      *
CMSApplication->execute() in /home/netsoft/public_html/includes/app.php (line 61)
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/home/netsoft/public_html/includes/app.php') in /home/netsoft/public_html/index.php (line 34)
  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/netsoft/public_html/libraries/vendor/maximebf/debugbar/src/DebugBar/DataFormatter/DataFormatter.php:28
  at DebugBar\DataFormatter\DataFormatter->__construct()
     (/home/netsoft/public_html/libraries/vendor/maximebf/debugbar/src/DebugBar/DataCollector/DataCollector.php:49)
  at DebugBar\DataCollector\DataCollector::getDefaultDataFormatter()
     (/home/netsoft/public_html/libraries/vendor/maximebf/debugbar/src/DebugBar/DataCollector/DataCollector.php:72)
  at DebugBar\DataCollector\DataCollector->getDataFormatter()
     (/home/netsoft/public_html/libraries/vendor/maximebf/debugbar/src/DebugBar/DataCollector/MemoryCollector.php:70)
  at DebugBar\DataCollector\MemoryCollector->collect()
     (/home/netsoft/public_html/libraries/vendor/maximebf/debugbar/src/DebugBar/DebugBar.php:238)
  at DebugBar\DebugBar->collect()
     (/home/netsoft/public_html/libraries/vendor/maximebf/debugbar/src/DebugBar/DebugBar.php:265)
  at DebugBar\DebugBar->getData()
     (/home/netsoft/public_html/plugins/system/debug/src/JavascriptRenderer.php:119)
  at Joomla\Plugin\System\Debug\JavascriptRenderer->render()
     (/home/netsoft/public_html/plugins/system/debug/debug.php:370)
  at PlgSystemDebug->onAfterRespond(object(Event))
     (/home/netsoft/public_html/libraries/vendor/joomla/event/src/Dispatcher.php:486)
  at Joomla\Event\Dispatcher->dispatch('onAfterRespond')
     (/home/netsoft/public_html/libraries/src/Application/CMSApplication.php:333)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/home/netsoft/public_html/includes/app.php:61)
  at require_once('/home/netsoft/public_html/includes/app.php')
     (/home/netsoft/public_html/index.php:34)