/home/kevinmul/psrally.com/ibilling/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php
* Replace the part of the path that all files have in common.
*
* @param string $path
* @return string
*/
public function shorten($path)
{
if ($this->applicationRootPath != "/") {
$path = str_replace($this->applicationRootPath, '…', $path);
}
return $path;
}
private function getDumper()
{
if (!$this->htmlDumper && class_exists('Symfony\Component\VarDumper\Cloner\VarCloner')) {
$this->htmlDumperOutput = new HtmlDumperOutput();
// re-use the same var-dumper instance, so it won't re-render the global styles/scripts on each dump.
$this->htmlDumper = new HtmlDumper($this->htmlDumperOutput);
$styles = [
'default' => 'color:#FFFFFF; line-height:normal; font:12px "Inconsolata", "Fira Mono", "Source Code Pro", Monaco, Consolas, "Lucida Console", monospace !important; word-wrap: break-word; white-space: pre-wrap; position:relative; z-index:99999; word-break: normal',
'num' => 'color:#BCD42A',
'const' => 'color: #4bb1b1;',
'str' => 'color:#BCD42A',
'note' => 'color:#ef7c61',
'ref' => 'color:#A0A0A0',
'public' => 'color:#FFFFFF',
'protected' => 'color:#FFFFFF',
'private' => 'color:#FFFFFF',
'meta' => 'color:#FFFFFF',
'key' => 'color:#BCD42A',
'index' => 'color:#ef7c61',
];
$this->htmlDumper->setStyles($styles);
}
return $this->htmlDumper;
}
Warning: Uncaught Error: Class "Symfony\Component\VarDumper\Dumper\HtmlDumper" not found in /home/kevinmul/psrally.com/ibilling/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php:133
Stack trace:
#0 /home/kevinmul/psrally.com/ibilling/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(198): Whoops\Util\TemplateHelper->getDumper()
#1 /home/kevinmul/psrally.com/ibilling/vendor/filp/whoops/src/Whoops/Resources/views/frame_code.html.php(37): Whoops\Util\TemplateHelper->dumpArgs(Object(Whoops\Exception\Frame))
#2 /home/kevinmul/psrally.com/ibilling/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(250): require('/home/kevinmul/...')
#3 [internal function]: Whoops\Util\TemplateHelper->{closure:Whoops\Util\TemplateHelper::render():248}('/home/kevinmul/...', Array)
#4 /home/kevinmul/psrally.com/ibilling/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(248): call_user_func(Object(Closure), '/home/kevinmul/...', Array)
#5 /home/kevinmul/psrally.com/ibilling/vendor/filp/whoops/src/Whoops/Resources/views/panel_details.html.php(1): Whoops\Util\TemplateHelper->render('/home/kevinmul/...')
#6 /home/kevinmul/psrally.com/ibilling/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(250): require('/home/kevinmul/...')
#7 [internal function]: Whoops\Util\TemplateHelper->{closure:Whoops\Util\TemplateHelper::render():248}('/home/kevinmul/...', Array)
#8 /home/kevinmul/psrally.com/ibilling/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(248): call_user_func(Object(Closure), '/home/kevinmul/...', Array)
#9 /home/kevinmul/psrally.com/ibilling/vendor/filp/whoops/src/Whoops/Resources/views/panel_details_outer.html.php(2): Whoops\Util\TemplateHelper->render('/home/kevinmul/...')
#10 /home/kevinmul/psrally.com/ibilling/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(250): require('/home/kevinmul/...')
#11 [internal function]: Whoops\Util\TemplateHelper->{closure:Whoops\Util\TemplateHelper::render():248}('/home/kevinmul/...', Array)
#12 /home/kevinmul/psrally.com/ibilling/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(248): call_user_func(Object(Closure), '/home/kevinmul/...', Array)
#13 /home/kevinmul/psrally.com/ibilling/vendor/filp/whoops/src/Whoops/Resources/views/layout.html.php(23): Whoops\Util\TemplateHelper->render('/home/kevinmul/...')
#14 /home/kevinmul/psrally.com/ibilling/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(250): require('/home/kevinmul/...')
#15 [internal function]: Whoops\Util\TemplateHelper->{closure:Whoops\Util\TemplateHelper::render():248}('/home/kevinmul/...', Array)
#16 /home/kevinmul/psrally.com/ibilling/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(248): call_user_func(Object(Closure), '/home/kevinmul/...', Array)
#17 /home/kevinmul/psrally.com/ibilling/vendor/filp/whoops/src/Whoops/Handler/PrettyPageHandler.php(289): Whoops\Util\TemplateHelper->render('/home/kevinmul/...')
#18 /home/kevinmul/psrally.com/ibilling/vendor/filp/whoops/src/Whoops/Run.php(340): Whoops\Handler\PrettyPageHandler->handle(Object(Whoops\Exception\ErrorException))
#19 /home/kevinmul/psrally.com/ibilling/vendor/filp/whoops/src/Whoops/Run.php(422): Whoops\Run->handleException(Object(Whoops\Exception\ErrorException))
#20 /home/kevinmul/psrally.com/ibilling/vendor/composer/ClassLoader.php(478): Whoops\Run->handleError(8192, 'Symfony\\Compone...', '/home/kevinmul/...', 80)
#21 /home/kevinmul/psrally.com/ibilling/vendor/composer/ClassLoader.php(478): include('/home/kevinmul/...')
#22 /home/kevinmul/psrally.com/ibilling/vendor/composer/ClassLoader.php(346): Composer\Autoload\includeFile('/home/kevinmul/...')
#23 /home/kevinmul/psrally.com/ibilling/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(133): Composer\Autoload\ClassLoader->loadClass('Symfony\\Compone...')
#24 /home/kevinmul/psrally.com/ibilling/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(198): Whoops\Util\TemplateHelper->getDumper()
#25 /home/kevinmul/psrally.com/ibilling/vendor/filp/whoops/src/Whoops/Resources/views/frame_code.html.php(37): Whoops\Util\TemplateHelper->dumpArgs(Object(Whoops\Exception\Frame))
#26 /home/kevinmul/psrally.com/ibilling/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(250): require('/home/kevinmul/...')
#27 [internal function]: Whoops\Util\TemplateHelper->{closure:Whoops\Util\TemplateHelper::render():248}('/home/kevinmul/...', Array)
#28 /home/kevinmul/psrally.com/ibilling/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(248): call_user_func(Object(Closure), '/home/kevinmul/...', Array)
#29 /home/kevinmul/psrally.com/ibilling/vendor/filp/whoops/src/Whoops/Resources/views/panel_details.html.php(1): Whoops\Util\TemplateHelper->render('/home/kevinmul/...')
#30 /home/kevinmul/psrally.com/ibilling/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(250): require('/home/kevinmul/...')
#31 [internal function]: Whoops\Util\TemplateHelper->{closure:Whoops\Util\TemplateHelper::render():248}('/home/kevinmul/...', Array)
#32 /home/kevinmul/psrally.com/ibilling/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(248): call_user_func(Object(Closure), '/home/kevinmul/...', Array)
#33 /home/kevinmul/psrally.com/ibilling/vendor/filp/whoops/src/Whoops/Resources/views/panel_details_outer.html.php(2): Whoops\Util\TemplateHelper->render('/home/kevinmul/...')
#34 /home/kevinmul/psrally.com/ibilling/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(250): require('/home/kevinmul/...')
#35 [internal function]: Whoops\Util\TemplateHelper->{closure:Whoops\Util\TemplateHelper::render():248}('/home/kevinmul/...', Array)
#36 /home/kevinmul/psrally.com/ibilling/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(248): call_user_func(Object(Closure), '/home/kevinmul/...', Array)
#37 /home/kevinmul/psrally.com/ibilling/vendor/filp/whoops/src/Whoops/Resources/views/layout.html.php(23): Whoops\Util\TemplateHelper->render('/home/kevinmul/...')
#38 /home/kevinmul/psrally.com/ibilling/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(250): require('/home/kevinmul/...')
#39 [internal function]: Whoops\Util\TemplateHelper->{closure:Whoops\Util\TemplateHelper::render():248}('/home/kevinmul/...', Array)
#40 /home/kevinmul/psrally.com/ibilling/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(248): call_user_func(Object(Closure), '/home/kevinmul/...', Array)
#41 /home/kevinmul/psrally.com/ibilling/vendor/filp/whoops/src/Whoops/Handler/PrettyPageHandler.php(289): Whoops\Util\TemplateHelper->render('/home/kevinmul/...')
#42 /home/kevinmul/psrally.com/ibilling/vendor/filp/whoops/src/Whoops/Run.php(340): Whoops\Handler\PrettyPageHandler->handle(Object(Error))
#43 [internal function]: Whoops\Run->handleException(Object(Error))
#44 {main}
thrown in
/home/kevinmul/psrally.com/ibilling/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php on line
133
Fatal error: Cannot redeclare function Symfony\Component\VarDumper\Dumper\esc() (previously declared in /home/kevinmul/psrally.com/ibilling/vendor/symfony/var-dumper/Dumper/HtmlDumper.php:1001) in
/home/kevinmul/psrally.com/ibilling/vendor/symfony/var-dumper/Dumper/HtmlDumper.php on line
1001