我遇到了Symfony的问题。当我在我的网站上做事时,我经常会收到一条错误,上面写着“加载Web调试工具栏时出错(500:内部服务器错误)。你想打开探查器吗?”我不知道知道这个错误到期了。
我附上symfony日志的一部分,我认为这是错误。
[2016-01-18 07:26:01] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\DummyException: "" at /var/www/Phenix/vendor/symfony/symfony/src/Symfony/Component/Debug/ErrorHandler.php line 163 {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\DummyException(code: 0): at /var/www/Phenix/vendor/symfony/symfony/src/Symfony/Component/Debug/ErrorHandler.php:163)"} []
[2016-01-18 07:26:01] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelRequest". [] []
[2016-01-18 07:26:01] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\SessionListener::onKernelRequest". [] []
[2016-01-18 07:26:01] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\FragmentListener::onKernelRequest". [] []
[2016-01-18 07:26:01] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest". [] []
[2016-01-18 07:26:01] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest". [] []
[2016-01-18 07:26:01] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\Security\Http\Firewall::onKernelRequest". [] []
[2016-01-18 07:26:01] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Bundle\AsseticBundle\EventListener\RequestListener::onKernelRequest". [] []
[2016-01-18 07:26:01] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ErrorsLoggerListener::injectLogger". [] []
[2016-01-18 07:26:01] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ErrorsLoggerListener::injectLogger". [] []
[2016-01-18 07:26:01] event.DEBUG: Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController". [] []
[2016-01-18 07:26:01] event.DEBUG: Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController". [] []
[2016-01-18 07:26:01] event.DEBUG: Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController". [] []
[2016-01-18 07:26:01] event.DEBUG: Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController". [] []
[2016-01-18 07:26:01] event.DEBUG: Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController". [] []
[2016-01-18 07:26:01] deprecation.WARNING: Defining the getGlobals() method in the "assetic" extension without explicitly implementing Twig_Extension_GlobalsInterface is deprecated since version 1.23. {"type":-100,"stack":[{"function":"handle","class":"Symfony\\Component\\Debug\\ErrorHandler","type":"->"},{"file":"/var/www/Phenix/app/cache/dev/classes.php","line":3400,"function":"trigger_error"},{"file":"/var/www/Phenix/app/cache/dev/classes.php","line":3361,"function":"initGlobals","class":"Twig_Environment","type":"->"},{"file":"/var/www/Phenix/app/cache/dev/classes.php","line":3367,"function":"getGlobals","class":"Twig_Environment","type":"->"},{"file":"/var/www/Phenix/app/cache/dev/classes.php","line":4616,"function":"mergeGlobals","class":"Twig_Environment","type":"->"},{"file":"/var/www/Phenix/app/cache/dev/classes.php","line":4623,"function":"display","class":"Twig_Template","type":"->"},{"file":"/var/www/Phenix/app/cache/dev/classes.php","line":2931,"function":"render","class":"Twig_Template","type":"->"},{"file":"/var/www/Phenix/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Controller/ExceptionController.php","line":63,"function":"render","class":"Twig_Environment","type":"->"},{"function":"showAction","class":"Symfony\\Bundle\\TwigBundle\\Controller\\ExceptionController","type":"->"},{"file":"/var/www/Phenix/app/bootstrap.php.cache","line":2957,"function":"call_user_func_array"}]} []
[2016-01-18 07:26:01] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Bridge\Monolog\Handler\FirePHPHandler::onKernelResponse". [] []
[2016-01-18 07:26:01] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Bridge\Monolog\Handler\ChromePhpHandler::onKernelResponse". [] []
[2016-01-18 07:26:01] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ResponseListener::onKernelResponse". [] []
[2016-01-18 07:26:01] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Component\Security\Http\RememberMe\ResponseListener::onKernelResponse". [] []
[2016-01-18 07:26:01] event.DEBUG: Notified event "kernel.response" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\CacheListener::onKernelResponse". [] []
[2016-01-18 07:26:01] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelResponse". [] []
[2016-01-18 07:26:01] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Bundle\WebProfilerBundle\EventListener\WebDebugToolbarListener::onKernelResponse". [] []
[2016-01-18 07:26:01] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\SaveSessionListener::onKernelResponse". [] []
[2016-01-18 07:26:01] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\StreamedResponseListener::onKernelResponse". [] []
[2016-01-18 07:26:01] event.DEBUG: Listener "Symfony\Component\HttpKernel\EventListener\ExceptionListener::onKernelException" stopped propagation of the event "kernel.exception". [] []
[2016-01-18 07:26:01] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Bridge\Monolog\Handler\FirePHPHandler::onKernelResponse". [] []
[2016-01-18 07:26:01] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Bridge\Monolog\Handler\ChromePhpHandler::onKernelResponse". [] []
[2016-01-18 07:26:01] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ResponseListener::onKernelResponse". [] []
[2016-01-18 07:26:01] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Component\Security\Http\RememberMe\ResponseListener::onKernelResponse". [] []
[2016-01-18 07:26:01] event.DEBUG: Notified event "kernel.response" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\CacheListener::onKernelResponse". [] []
[2016-01-18 07:26:01] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelResponse". [] []
[2016-01-18 07:26:01] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Bundle\WebProfilerBundle\EventListener\WebDebugToolbarListener::onKernelResponse". [] []
[2016-01-18 07:26:01] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\SaveSessionListener::onKernelResponse". [] []
[2016-01-18 07:26:01] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\StreamedResponseListener::onKernelResponse". [] []
[2016-01-18 07:26:01] event.DEBUG: Notified event "kernel.terminate" to listener "Symfony\Bundle\SwiftmailerBundle\EventListener\EmailSenderListener::onTerminate". [] []