Skip to content

Instantly share code, notes, and snippets.

@tic984
Created September 11, 2017 14:22
Show Gist options
  • Save tic984/487796747c919fb53083e86433ad8c4a to your computer and use it in GitHub Desktop.
Save tic984/487796747c919fb53083e86433ad8c4a to your computer and use it in GitHub Desktop.
[2017-09-11 16:25:43] php.INFO: The "security.context" service is deprecated since Symfony 2.6 and will be removed in 3.0. {"type":16384,"file":"/DATA/OWP-v2/releases/20170908195822/app/cache/dev/appDevDebugProjectContainer.php","line":6982,"level":28928,"stack":[{"function":"handleError","class":"Symfony\\Component\\Debug\\ErrorHandler","type":"->"},{"file":"/DATA/OWP-v2/releases/20170908195822/app/cache/dev/appDevDebugProjectContainer.php","line":6982,"function":"trigger_error"},{"file":"/DATA/OWP-v2/releases/20170908195822/app/bootstrap.php.cache","line":2222,"function":"getSecurity_ContextService","class":"appDevDebugProjectContainer","type":"->"},{"file":"/DATA/OWP-v2/releases/20170908195822/src/OWP/Bundle/AdminBundle/Controller/BaseAdminController.php","line":1428,"function":"get","class":"Symfony\\Component\\DependencyInjection\\Container","type":"->"},{"file":"/DATA/OWP-v2/releases/20170908195822/src/OWP/Bundle/AdminBundle/Controller/BaseAdminController.php","line":520,"function":"getUser","class":"OWP\\Bundle\\AdminBundle\\Controller\\BaseAdminController","type":"->"},{"file":"/DATA/OWP-v2/releases/20170908195822/src/OWP/Bundle/PopulationBundle/Controller/PopulationImportController.php","line":2281,"function":"checkPrivilege","class":"OWP\\Bundle\\AdminBundle\\Controller\\BaseAdminController","type":"->"},{"file":"/DATA/OWP-v2/releases/20170908195822/src/OWP/Bundle/PopulationBundle/Command/ImportCommand.php","line":56,"function":"importPPGsAction","class":"OWP\\Bundle\\PopulationBundle\\Controller\\PopulationImportController","type":"->"},{"file":"/DATA/OWP-v2/shared/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php","line":259,"function":"execute","class":"OWP\\Bundle\\PopulationBundle\\Command\\ImportCommand","type":"->"},{"file":"/DATA/OWP-v2/shared/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php","line":863,"function":"run","class":"Symfony\\Component\\Console\\Command\\Command","type":"->"},{"file":"/DATA/OWP-v2/shared/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php","line":192,"function":"doRunCommand","class":"Symfony\\Component\\Console\\Application","type":"->"},{"file":"/DATA/OWP-v2/shared/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php","line":92,"function":"doRun","class":"Symfony\\Component\\Console\\Application","type":"->"},{"file":"/DATA/OWP-v2/shared/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php","line":123,"function":"doRun","class":"Symfony\\Bundle\\FrameworkBundle\\Console\\Application","type":"->"},{"file":"/DATA/OWP-v2/releases/20170908195822/app/console","line":29,"function":"run","class":"Symfony\\Component\\Console\\Application","type":"->"}]}
[2017-09-11 16:25:43] php.INFO: The Symfony\Component\Security\Core\SecurityContext class is deprecated since version 2.6 and will be removed in 3.0. Use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage or Symfony\Component\Security\Core\Authorization\AuthorizationChecker instead. {"type":16384,"file":"/DATA/OWP-v2/shared/vendor/symfony/symfony/src/Symfony/Component/Security/Core/SecurityContext.php","line":14,"level":28928,"stack":[{"function":"handleError","class":"Symfony\\Component\\Debug\\ErrorHandler","type":"->"},{"file":"/DATA/OWP-v2/shared/vendor/symfony/symfony/src/Symfony/Component/Security/Core/SecurityContext.php","line":14,"function":"trigger_error"},{"file":"/DATA/OWP-v2/shared/vendor/symfony/symfony/src/Symfony/Component/Debug/DebugClassLoader.php","line":169,"args":["/DATA/OWP-v2/shared/vendor/symfony/symfony/src/Symfony/Component/Security/Core/SecurityContext.php"],"function":"require_once"},{"function":"loadClass","class":"Symfony\\Component\\Debug\\DebugClassLoader","type":"->"},{"file":"/DATA/OWP-v2/releases/20170908195822/app/cache/dev/appDevDebugProjectContainer.php","line":6984,"function":"spl_autoload_call"},{"file":"/DATA/OWP-v2/releases/20170908195822/app/bootstrap.php.cache","line":2222,"function":"getSecurity_ContextService","class":"appDevDebugProjectContainer","type":"->"},{"file":"/DATA/OWP-v2/releases/20170908195822/src/OWP/Bundle/AdminBundle/Controller/BaseAdminController.php","line":1428,"function":"get","class":"Symfony\\Component\\DependencyInjection\\Container","type":"->"},{"file":"/DATA/OWP-v2/releases/20170908195822/src/OWP/Bundle/AdminBundle/Controller/BaseAdminController.php","line":520,"function":"getUser","class":"OWP\\Bundle\\AdminBundle\\Controller\\BaseAdminController","type":"->"},{"file":"/DATA/OWP-v2/releases/20170908195822/src/OWP/Bundle/PopulationBundle/Controller/PopulationImportController.php","line":2281,"function":"checkPrivilege","class":"OWP\\Bundle\\AdminBundle\\Controller\\BaseAdminController","type":"->"},{"file":"/DATA/OWP-v2/releases/20170908195822/src/OWP/Bundle/PopulationBundle/Command/ImportCommand.php","line":56,"function":"importPPGsAction","class":"OWP\\Bundle\\PopulationBundle\\Controller\\PopulationImportController","type":"->"},{"file":"/DATA/OWP-v2/shared/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php","line":259,"function":"execute","class":"OWP\\Bundle\\PopulationBundle\\Command\\ImportCommand","type":"->"},{"file":"/DATA/OWP-v2/shared/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php","line":863,"function":"run","class":"Symfony\\Component\\Console\\Command\\Command","type":"->"},{"file":"/DATA/OWP-v2/shared/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php","line":192,"function":"doRunCommand","class":"Symfony\\Component\\Console\\Application","type":"->"},{"file":"/DATA/OWP-v2/shared/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php","line":92,"function":"doRun","class":"Symfony\\Component\\Console\\Application","type":"->"},{"file":"/DATA/OWP-v2/shared/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php","line":123,"function":"doRun","class":"Symfony\\Bundle\\FrameworkBundle\\Console\\Application","type":"->"},{"file":"/DATA/OWP-v2/releases/20170908195822/app/console","line":29,"function":"run","class":"Symfony\\Component\\Console\\Application","type":"->"}]}
PHP Fatal error: Call to a member function getUser() on null in /DATA/OWP-v2/releases/20170908195822/src/OWP/Bundle/AdminBundle/Controller/BaseAdminController.php on line 1430
PHP Fatal error: Uncaught exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Error: Call to a member function getUser() on null' in /DATA/OWP-v2/releases/20170908195822/src/OWP/Bundle/AdminBundle/Controller/BaseAdminController.php:1430
Stack trace:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment