Новости Ассоциации «Росспецмаш»

28 мая 2018
Развитие сельхозмашиностроения в руках производителей и государства
Подробнее
22 мая 2018
Страны Африки заинтересованы в поставке российской сельхозтехники и пищевого оборудования
Подробнее
15 мая 2018
Российская экспозиция открылась на крупнейшей сельскохозяйственной выставке Африки
Подробнее
11 мая 2018
Российская экспозиция производителей сельхозтехники и пищевого оборудования – на крупнейшей отраслевой выставке Африки
Подробнее
10 мая 2018
Итоги Форума ДЕМОСТРОЙ 2018
Подробнее
07 мая 2018
Российские производители специализированной техники могут упрочить свои позиции за рубежом
Подробнее
03 мая 2018
Российские производители специализированной техники намерены увеличить поставки в Монголию
Подробнее
✖
Подпишись на нас в Max
QR код
✖
Подпишись на нас в Telegram
QR код
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 /home/rosspetsmash.ru/www/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. *
AbstractApplication->dispatchEvent() in /home/rosspetsmash.ru/www/libraries/src/Application/CMSApplication.php (line 347)
  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/rosspetsmash.ru/www/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/rosspetsmash.ru/www/includes/app.php') in /home/rosspetsmash.ru/www/index.php (line 51)
  1. // ... die
  2. die();
  3. }
  4. require_once __DIR__ . '/includes/app.php';
  5. // Run the application - All executable code should be triggered through this file

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