| ( ! ) Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalErrorException: Compile Error: Declaration of Doctrine\DBAL\Driver\PDOConnection::query() must be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs): PDOStatement|false in E:\Program_Files\wamp64\www\print\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOConnection.php:70
Stack trace:
#0 E:\Program_Files\wamp64\www\print\vendor\composer\ClassLoader.php(444): ()
#1 E:\Program_Files\wamp64\www\print\vendor\composer\ClassLoader.php(322): Composer\Autoload\includeFile(file: ''E:\\\\Program_Fi...')
#2 E:\Program_Files\wamp64\www\print\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOMySql\Driver.php(21): Composer\Autoload\ClassLoader->loadClass(class: ''Doctrine\\\\DBAL...')
#3 E:\Program_Files\wamp64\www\print\vendor\doctrine\dbal\lib\Doctrine\DBAL\Connection.php(362): Doctrine\DBAL\Driver\PDOMySql\Driver->connect(params: '['driver' => 'p...', username: ''pwdog'', password: ''pwdog'', driverOptions: '[1002 => 'SET s...')
#4 E:\Program_Files\wamp64\www\print\vendor\doctrine\dbal\lib\Doctrine\DBAL\Connection.php(1443): Doctrine\DBAL\Connection->connect()
#5 E:\Program_Files\wamp64\www\print\vendor\doctrine\dbal\lib\Doctrine\DBAL\Connection.php(890): Doctrine\DBAL\Connection->getWrappedConnection()
#6 E:\Program_Files\wamp64\www\print\vendor\doctrine\orm\lib\Doctrine\ORM\Query\Exec\SingleSelectExecutor.php(50): Doctrine\DBAL\Connection->executeQuery(query: ''SELECT p0_.id ...', params: '[]', types: '[]', qcp: 'NULL')
#7 E:\Program_Files\wamp64\www\print\vendor\doctrine\orm\lib\Doctrine\ORM\Query.php(337): Doctrine\ORM\Query\Exec\SingleSelectExecutor->execute(conn: 'class Doctrine\\...', params: '[]', types: '[]')
#8 E:\Program_Files\wamp64\www\print\vendor\doctrine\orm\lib\Doctrine\ORM\AbstractQuery.php(992): Doctrine\ORM\Query->_doExecute()
#9 E:\Program_Files\wamp64\www\print\vendor\doctrine\orm\lib\Doctrine\ORM\AbstractQuery.php(947): Doctrine\ORM\Query->executeIgnoreQueryCache(parameters: 'NULL', hydrationMode: '1')
#10 E:\Program_Files\wamp64\www\print\vendor\doctrine\orm\lib\Doctrine\ORM\AbstractQuery.php(750): Doctrine\ORM\Query->execute(parameters: 'NULL', hydrationMode: '1')
#11 E:\Program_Files\wamp64\www\print\src\Repository\PrinterRepository.php(58): Doctrine\ORM\Query->getResult(hydrationMode: '???')
#12 E:\Program_Files\wamp64\www\print\src\Controller\DashboardController.php(30): App\Repository\PrinterRepository->findAllWithFilter(filter: '[]')
#13 E:\Program_Files\wamp64\www\print\vendor\symfony\http-kernel\HttpKernel.php(151): App\Controller\DashboardController->index(request: 'class Symfony\\C...', printerRepository: 'class App\\Repos...', view: ''dash'')
#14 E:\Program_Files\wamp64\www\print\vendor\symfony\http-kernel\HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(request: 'class Symfony\\C...', type: '1')
#15 E:\Program_Files\wamp64\www\print\vendor\symfony\http-kernel\Kernel.php(198): Symfony\Component\HttpKernel\HttpKernel->handle(request: 'class Symfony\\C...', type: '1', catch: 'TRUE')
#16 E:\Program_Files\wamp64\www\print\public\index.php(25): App\Kernel->handle(request: 'class Symfony\\C...', type: '???', catch: '???')
#17 E:\Program_Files\wamp64\www\print\public\index.php(0): {main}()
#18 {main}
Next RuntimeException: Failed to start the session because headers have already been sent by "E:\Program_Files\wamp64\www\print\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOConnection.php" at line 14. in E:\Program_Files\wamp64\www\print\vendor\symfony\http-foundation\Session\Storage\NativeSessionStorage.php:149
Stack trace:
#0 E:\Program_Files\wamp64\www\print\vendor\symfony\http-foundation\Session\Storage\NativeSessionStorage.php(322): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start()
#1 E:\Program_Files\wamp64\www\print\vendor\symfony\http-foundation\Session\Session.php(256): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag('flashes')
#2 E:\Program_Files\wamp64\www\print\vendor\symfony\http-foundation\Session\Session.php(268): Symfony\Component\HttpFoundation\Session\Session->getBag('flashes')
#3 E:\Program_Files\wamp64\www\print\vendor\symfony\twig-bridge\AppVariable.php(166): Symfony\Component\HttpFoundation\Session\Session->getFlashBag()
#4 E:\Program_Files\wamp64\www\print\vendor\twig\twig\src\Extension\CoreExtension.php(1495): Symfony\Bridge\Twig\AppVariable->getFlashes()
#5 E:\Program_Files\wamp64\www\print\var\cache\prod\twig\f6\f6a9684460eac64915dfee7c83cc5212881462bac89169765d9762d2b818a7de.php(203): twig_get_attribute(Object(Twig\Environment), Object(Twig\Source), Object(Symfony\Bridge\Twig\AppVariable), 'flashes', Array, 'any', false, false, false, 65)
#6 E:\Program_Files\wamp64\www\print\vendor\twig\twig\src\Template.php(407): __TwigTemplate_90738450f87fab42b36a2969f92011dbec65c367d2cd38aa75829bf484f037ab->doDisplay(Array, Array)
#7 E:\Program_Files\wamp64\www\print\vendor\twig\twig\src\Template.php(380): Twig\Template->displayWithErrorHandling(Array, Array)
#8 E:\Program_Files\wamp64\www\print\var\cache\prod\twig\39\39883b14c5d647bde67fafe9fd717d48127dfde194d30e5539ee17e1205146e5.php(43): Twig\Template->display(Array, Array)
#9 E:\Program_Files\wamp64\www\print\vendor\twig\twig\src\Template.php(407): __TwigTemplate_d128b601ea3a1230eddb2d645a0d1272d154e30ef0f8ecd0c8d5969ead980523->doDisplay(Array, Array)
#10 E:\Program_Files\wamp64\www\print\vendor\twig\twig\src\Template.php(380): Twig\Template->displayWithErrorHandling(Array, Array)
#11 E:\Program_Files\wamp64\www\print\vendor\twig\twig\src\Template.php(392): Twig\Template->display(Array)
#12 E:\Program_Files\wamp64\www\print\vendor\twig\twig\src\TemplateWrapper.php(45): Twig\Template->render(Array, Array)
#13 E:\Program_Files\wamp64\www\print\vendor\twig\twig\src\Environment.php(318): Twig\TemplateWrapper->render(Array)
#14 E:\Program_Files\wamp64\www\print\vendor\symfony\twig-bundle\Controller\ExceptionController.php(62): Twig\Environment->render('@Twig/Exception...', Array)
#15 E:\Program_Files\wamp64\www\print\vendor\symfony\http-kernel\HttpKernel.php(151): Symfony\Bundle\TwigBundle\Controller\ExceptionController->showAction(Object(Symfony\Component\HttpFoundation\Request), Object(Symfony\Component\Debug\Exception\FlattenException), Object(Symfony\Bridge\Monolog\Logger))
#16 E:\Program_Files\wamp64\www\print\vendor\symfony\http-kernel\HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 2)
#17 E:\Program_Files\wamp64\www\print\vendor\symfony\http-kernel\EventListener\ExceptionListener.php(62): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 2, false)
#18 E:\Program_Files\wamp64\www\print\vendor\symfony\event-dispatcher\EventDispatcher.php(298): Symfony\Component\HttpKernel\EventListener\ExceptionListener->onKernelException(Object(Symfony\Component\HttpKernel\Event\ExceptionEvent), 'kernel.exceptio...', Object(Symfony\Component\EventDispatcher\EventDispatcher))
#19 E:\Program_Files\wamp64\www\print\vendor\symfony\event-dispatcher\EventDispatcher.php(260): Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}(Object(Symfony\Component\HttpKernel\Event\ExceptionEvent), 'kernel.exceptio...', Object(Symfony\Component\EventDispatcher\EventDispatcher))
#20 E:\Program_Files\wamp64\www\print\vendor\symfony\event-dispatcher\EventDispatcher.php(235): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'kernel.exceptio...', Object(Symfony\Component\HttpKernel\Event\ExceptionEvent))
#21 E:\Program_Files\wamp64\www\print\vendor\symfony\event-dispatcher\EventDispatcher.php(73): Symfony\Component\EventDispatcher\EventDispatcher->callListeners(Array, 'kernel.exceptio...', Object(Symfony\Component\HttpKernel\Event\ExceptionEvent))
#22 E:\Program_Files\wamp64\www\print\vendor\symfony\http-kernel\HttpKernel.php(222): Symfony\Component\EventDispatcher\EventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Event\ExceptionEvent), 'kernel.exceptio...')
#23 E:\Program_Files\wamp64\www\print\vendor\symfony\http-kernel\HttpKernel.php(100): Symfony\Component\HttpKernel\HttpKernel->handleException(Object(Symfony\Component\Debug\Exception\FatalErrorException), Object(Symfony\Component\HttpFoundation\Request), 1)
#24 E:\Program_Files\wamp64\www\print\vendor\symfony\http-kernel\EventListener\DebugHandlersListener.php(119): Symfony\Component\HttpKernel\HttpKernel->terminateWithException(Object(Symfony\Component\Debug\Exception\FatalErrorException), Object(Symfony\Component\HttpFoundation\Request))
#25 E:\Program_Files\wamp64\www\print\vendor\symfony\debug\ErrorHandler.php(578): Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::Symfony\Component\HttpKernel\EventListener\{closure}(Object(Symfony\Component\Debug\Exception\FatalErrorException))
#26 E:\Program_Files\wamp64\www\print\vendor\symfony\debug\ErrorHandler.php(660): Symfony\Component\Debug\ErrorHandler->handleException(Object(Symfony\Component\Debug\Exception\FatalErrorException), Array)
#27 [internal function]: Symfony\Component\Debug\ErrorHandler::handleFatalError()
#28 {main}
Next Twig\Error\RuntimeError: An exception has been thrown during the rendering of a template ("Failed to start the session because headers have already been sent by "E:\Program_Files\wamp64\www\print\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOConnection.php" at line 14."). in E:\Program_Files\wamp64\www\print\templates\base.html.twig on line 65 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0075 | 362800 | {main}( ) | ...\index.php:0 |
| 2 | 0.2122 | 394088 | Symfony\Component\HttpKernel\Kernel->handle( $request = class Symfony\Component\HttpFoundation\Request { public $attributes = class Symfony\Component\HttpFoundation\ParameterBag { protected $parameters = [...] }; public $request = class Symfony\Component\HttpFoundation\ParameterBag { protected $parameters = [...] }; public $query = class Symfony\Component\HttpFoundation\ParameterBag { protected $parameters = [...] }; public $server = class Symfony\Component\HttpFoundation\ServerBag { protected $parameters = [...] }; public $files = class Symfony\Component\HttpFoundation\FileBag { protected $parameters = [...] }; public $cookies = class Symfony\Component\HttpFoundation\ParameterBag { protected $parameters = [...] }; public $headers = class Symfony\Component\HttpFoundation\HeaderBag { protected $headers = [...]; protected $cacheControl = [...] }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/print/public/'; protected $baseUrl = '/print/public'; protected $basePath = '/print/public'; protected $method = 'GET'; protected $format = NULL; protected $session = class Symfony\Component\HttpFoundation\Session\Session { protected $storage = class Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage { ... }; private $flashName = 'flashes'; private $attributeName = 'attributes'; private $data = [...]; private $usageIndex = 0 }; protected $locale = NULL; protected $defaultLocale = 'en'; private $isHostValid = TRUE; private $isForwardedValid = TRUE }, $type = ???, $catch = ??? ) | ...\index.php:25 |
| 3 | 1.0522 | 478376 | Symfony\Component\HttpKernel\HttpKernel->handle( $request = class Symfony\Component\HttpFoundation\Request { public $attributes = class Symfony\Component\HttpFoundation\ParameterBag { protected $parameters = [...] }; public $request = class Symfony\Component\HttpFoundation\ParameterBag { protected $parameters = [...] }; public $query = class Symfony\Component\HttpFoundation\ParameterBag { protected $parameters = [...] }; public $server = class Symfony\Component\HttpFoundation\ServerBag { protected $parameters = [...] }; public $files = class Symfony\Component\HttpFoundation\FileBag { protected $parameters = [...] }; public $cookies = class Symfony\Component\HttpFoundation\ParameterBag { protected $parameters = [...] }; public $headers = class Symfony\Component\HttpFoundation\HeaderBag { protected $headers = [...]; protected $cacheControl = [...] }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/print/public/'; protected $baseUrl = '/print/public'; protected $basePath = '/print/public'; protected $method = 'GET'; protected $format = NULL; protected $session = class Symfony\Component\HttpFoundation\Session\Session { protected $storage = class Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage { ... }; private $flashName = 'flashes'; private $attributeName = 'attributes'; private $data = [...]; private $usageIndex = 0 }; protected $locale = NULL; protected $defaultLocale = 'en'; private $isHostValid = TRUE; private $isForwardedValid = TRUE }, $type = 1, $catch = TRUE ) | ...\Kernel.php:198 |
| 4 | 1.0523 | 478632 | Symfony\Component\HttpKernel\HttpKernel->handleRaw( $request = class Symfony\Component\HttpFoundation\Request { public $attributes = class Symfony\Component\HttpFoundation\ParameterBag { protected $parameters = [...] }; public $request = class Symfony\Component\HttpFoundation\ParameterBag { protected $parameters = [...] }; public $query = class Symfony\Component\HttpFoundation\ParameterBag { protected $parameters = [...] }; public $server = class Symfony\Component\HttpFoundation\ServerBag { protected $parameters = [...] }; public $files = class Symfony\Component\HttpFoundation\FileBag { protected $parameters = [...] }; public $cookies = class Symfony\Component\HttpFoundation\ParameterBag { protected $parameters = [...] }; public $headers = class Symfony\Component\HttpFoundation\HeaderBag { protected $headers = [...]; protected $cacheControl = [...] }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/print/public/'; protected $baseUrl = '/print/public'; protected $basePath = '/print/public'; protected $method = 'GET'; protected $format = NULL; protected $session = class Symfony\Component\HttpFoundation\Session\Session { protected $storage = class Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage { ... }; private $flashName = 'flashes'; private $attributeName = 'attributes'; private $data = [...]; private $usageIndex = 0 }; protected $locale = NULL; protected $defaultLocale = 'en'; private $isHostValid = TRUE; private $isForwardedValid = TRUE }, $type = 1 ) | ...\HttpKernel.php:68 |
| 5 | 1.9693 | 1223184 | App\Controller\DashboardController->index( $request = class Symfony\Component\HttpFoundation\Request { public $attributes = class Symfony\Component\HttpFoundation\ParameterBag { protected $parameters = [...] }; public $request = class Symfony\Component\HttpFoundation\ParameterBag { protected $parameters = [...] }; public $query = class Symfony\Component\HttpFoundation\ParameterBag { protected $parameters = [...] }; public $server = class Symfony\Component\HttpFoundation\ServerBag { protected $parameters = [...] }; public $files = class Symfony\Component\HttpFoundation\FileBag { protected $parameters = [...] }; public $cookies = class Symfony\Component\HttpFoundation\ParameterBag { protected $parameters = [...] }; public $headers = class Symfony\Component\HttpFoundation\HeaderBag { protected $headers = [...]; protected $cacheControl = [...] }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/print/public/'; protected $baseUrl = '/print/public'; protected $basePath = '/print/public'; protected $method = 'GET'; protected $format = NULL; protected $session = class Symfony\Component\HttpFoundation\Session\Session { protected $storage = class Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage { ... }; private $flashName = 'flashes'; private $attributeName = 'attributes'; private $data = [...]; private $usageIndex = 0 }; protected $locale = NULL; protected $defaultLocale = 'en'; private $isHostValid = TRUE; private $isForwardedValid = TRUE }, $printerRepository = class App\Repository\PrinterRepository { protected $_entityName = 'App\\Entity\\Printer'; protected $_em = class Doctrine\ORM\EntityManager { private $config = class Doctrine\ORM\Configuration { ... }; private $conn = class Doctrine\DBAL\Connection { ... }; private $metadataFactory = class Doctrine\ORM\Mapping\ClassMetadataFactory { ... }; private $unitOfWork = class Doctrine\ORM\UnitOfWork { ... }; private $eventManager = class Symfony\Bridge\Doctrine\ContainerAwareEventManager { ... }; private $proxyFactory = class Doctrine\ORM\Proxy\ProxyFactory { ... }; private $repositoryFactory = class Doctrine\Bundle\DoctrineBundle\Repository\ContainerRepositoryFactory { ... }; private $expressionBuilder = NULL; private $closed = FALSE; private $filterCollection = NULL; private $cache = NULL }; protected $_class = class Doctrine\ORM\Mapping\ClassMetadata { public $name = 'App\\Entity\\Printer'; public $namespace = 'App\\Entity'; public $rootEntityName = 'App\\Entity\\Printer'; public $customGeneratorDefinition = NULL; public $customRepositoryClassName = 'App\\Repository\\PrinterRepository'; public $isMappedSuperclass = FALSE; public $isEmbeddedClass = FALSE; public $parentClasses = [...]; public $subClasses = [...]; public $embeddedClasses = [...]; public $namedQueries = [...]; public $namedNativeQueries = [...]; public $sqlResultSetMappings = [...]; public $identifier = [...]; public $inheritanceType = 1; public $generatorType = 4; public $fieldMappings = [...]; public $fieldNames = [...]; public $columnNames = [...]; public $discriminatorValue = NULL; public $discriminatorMap = [...]; public $discriminatorColumn = NULL; public $table = [...]; public $lifecycleCallbacks = [...]; public $entityListeners = [...]; public $associationMappings = [...]; public $isIdentifierComposite = FALSE; public $containsForeignIdentifier = FALSE; public $idGenerator = class Doctrine\ORM\Id\IdentityGenerator { ... }; public $sequenceGeneratorDefinition = NULL; public $tableGeneratorDefinition = NULL; public $changeTrackingPolicy = 1; public $isVersioned = NULL; public $versionField = NULL; public $cache = NULL; public $reflClass = class ReflectionClass { ... }; public $isReadOnly = FALSE; protected $namingStrategy = NULL; public $reflFields = [...]; private ${Doctrine\ORM\Mapping\ClassMetadataInfo}instantiator = class Doctrine\Instantiator\Instantiator { ... } }; private $lvlDanger = 10; private $lvlWarning = 30 }, $view = 'dash' ) | ...\HttpKernel.php:151 |
| 6 | 1.9694 | 1223560 | App\Repository\PrinterRepository->findAllWithFilter( $filter = [] ) | ...\DashboardController.php:30 |
| 7 | 2.0198 | 1275248 | Doctrine\ORM\AbstractQuery->getResult( $hydrationMode = ??? ) | ...\PrinterRepository.php:58 |
| 8 | 2.0199 | 1275248 | Doctrine\ORM\AbstractQuery->execute( $parameters = NULL, $hydrationMode = 1 ) | ...\AbstractQuery.php:750 |
| 9 | 2.0199 | 1275248 | Doctrine\ORM\AbstractQuery->executeIgnoreQueryCache( $parameters = NULL, $hydrationMode = 1 ) | ...\AbstractQuery.php:947 |
| 10 | 2.0199 | 1275640 | Doctrine\ORM\Query->_doExecute( ) | ...\AbstractQuery.php:992 |
| 11 | 2.0602 | 1281496 | Doctrine\ORM\Query\Exec\SingleSelectExecutor->execute( $conn = class Doctrine\DBAL\Connection { protected $_conn = NULL; protected $_config = class Doctrine\DBAL\Configuration { protected $_attributes = [...] }; protected $_eventManager = class Symfony\Bridge\Doctrine\ContainerAwareEventManager { private ${Doctrine\Common\EventManager}_listeners = [...]; private $listeners = [...]; private $initialized = [...]; private $container = class Symfony\Component\DependencyInjection\Argument\ServiceLocator { ... } }; protected $_expr = class Doctrine\DBAL\Query\Expression\ExpressionBuilder { private $connection = ... }; private $isConnected = FALSE; private $autoCommit = TRUE; private $transactionNestingLevel = 0; private $transactionIsolationLevel = NULL; private $nestTransactionsWithSavepoints = FALSE; private $params = ['driver' => 'pdo_mysql', 'charset' => 'utf8mb4', 'url' => 'mysql://pwdog:pwdog@127.0.0.1:3306/PrinterWatchdog', 'host' => '127.0.0.1', 'port' => '3306', 'user' => 'pwdog', 'password' => 'pwdog', 'driverOptions' => [...], 'serverVersion' => '5.7', 'defaultTableOptions' => [...], 'dbname' => 'PrinterWatchdog']; private $platform = class Doctrine\DBAL\Platforms\MySQL57Platform { protected $doctrineTypeMapping = NULL; protected $doctrineTypeComments = NULL; protected $_eventManager = class Symfony\Bridge\Doctrine\ContainerAwareEventManager { ... }; protected $_keywords = NULL }; protected $_schemaManager = NULL; protected $_driver = class Doctrine\DBAL\Driver\PDOMySql\Driver { }; private $isRollbackOnly = FALSE; protected $defaultFetchMode = 2 }, $params = [], $types = [] ) | ...\Query.php:337 |
| 12 | 2.0602 | 1281496 | Doctrine\DBAL\Connection->executeQuery( $query = 'SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.ip AS ip_2, p0_.serial_number AS serial_number_3, p0_.location AS location_4, p0_.last_check AS last_check_5, p0_.is_color_printer AS is_color_printer_6, p0_.toner_black AS toner_black_7, p0_.toner_yellow AS toner_yellow_8, p0_.toner_magenta AS toner_magenta_9, p0_.toner_cyan AS toner_cyan_10, p0_.type AS type_11, p0_.total_pages AS total_pages_12, p0_.unreachable_count AS unreachable_count_13, p0_.toner_black_description AS toner_black_description_14, p0_.tone'..., $params = [], $types = [], $qcp = NULL ) | ...\SingleSelectExecutor.php:50 |
| 13 | 2.0603 | 1281496 | Doctrine\DBAL\Connection->getWrappedConnection( ) | ...\Connection.php:890 |
| 14 | 2.0603 | 1281496 | Doctrine\DBAL\Connection->connect( ) | ...\Connection.php:1443 |
| 15 | 2.0603 | 1281496 | Doctrine\DBAL\Driver\PDOMySql\Driver->connect( $params = ['driver' => 'pdo_mysql', 'charset' => 'utf8mb4', 'url' => 'mysql://pwdog:pwdog@127.0.0.1:3306/PrinterWatchdog', 'host' => '127.0.0.1', 'port' => '3306', 'user' => 'pwdog', 'password' => 'pwdog', 'driverOptions' => [1002 => 'SET sql_mode=(SELECT REPLACE(@@sql_mode,\'ONLY_FULL_GROUP_BY\',\'\'))'], 'serverVersion' => '5.7', 'defaultTableOptions' => ['charset' => 'utf8mb4', 'collate' => 'utf8mb4_unicode_ci'], 'dbname' => 'PrinterWatchdog'], $username = 'pwdog', $password = 'pwdog', $driverOptions = [1002 => 'SET sql_mode=(SELECT REPLACE(@@sql_mode,\'ONLY_FULL_GROUP_BY\',\'\'))'] ) | ...\Connection.php:362 |
| 16 | 2.0603 | 1281496 | Composer\Autoload\ClassLoader->loadClass( $class = 'Doctrine\\DBAL\\Driver\\PDOConnection' ) | ...\Driver.php:21 |
| 17 | 2.0603 | 1281496 | Composer\Autoload\includeFile( $file = 'E:\\Program_Files\\wamp64\\www\\print\\vendor\\composer/../doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php' ) | ...\ClassLoader.php:322 |
| 18 | 2.0608 | 1281760 | include( 'E:\Program_Files\wamp64\www\print\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOConnection.php ) | ...\ClassLoader.php:444 |
| ( ! ) Twig\Error\RuntimeError: An exception has been thrown during the rendering of a template ("Failed to start the session because headers have already been sent by "E:\Program_Files\wamp64\www\print\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOConnection.php" at line 14."). in E:\Program_Files\wamp64\www\print\templates\base.html.twig on line 65 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0075 | 362800 | {main}( ) | ...\index.php:0 |
| 2 | 0.2122 | 394088 | Symfony\Component\HttpKernel\Kernel->handle( $request = class Symfony\Component\HttpFoundation\Request { public $attributes = class Symfony\Component\HttpFoundation\ParameterBag { protected $parameters = [...] }; public $request = class Symfony\Component\HttpFoundation\ParameterBag { protected $parameters = [...] }; public $query = class Symfony\Component\HttpFoundation\ParameterBag { protected $parameters = [...] }; public $server = class Symfony\Component\HttpFoundation\ServerBag { protected $parameters = [...] }; public $files = class Symfony\Component\HttpFoundation\FileBag { protected $parameters = [...] }; public $cookies = class Symfony\Component\HttpFoundation\ParameterBag { protected $parameters = [...] }; public $headers = class Symfony\Component\HttpFoundation\HeaderBag { protected $headers = [...]; protected $cacheControl = [...] }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/print/public/'; protected $baseUrl = '/print/public'; protected $basePath = '/print/public'; protected $method = 'GET'; protected $format = NULL; protected $session = class Symfony\Component\HttpFoundation\Session\Session { protected $storage = class Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage { ... }; private $flashName = 'flashes'; private $attributeName = 'attributes'; private $data = [...]; private $usageIndex = 0 }; protected $locale = NULL; protected $defaultLocale = 'en'; private $isHostValid = TRUE; private $isForwardedValid = TRUE }, $type = ???, $catch = ??? ) | ...\index.php:25 |
| 3 | 1.0522 | 478376 | Symfony\Component\HttpKernel\HttpKernel->handle( $request = class Symfony\Component\HttpFoundation\Request { public $attributes = class Symfony\Component\HttpFoundation\ParameterBag { protected $parameters = [...] }; public $request = class Symfony\Component\HttpFoundation\ParameterBag { protected $parameters = [...] }; public $query = class Symfony\Component\HttpFoundation\ParameterBag { protected $parameters = [...] }; public $server = class Symfony\Component\HttpFoundation\ServerBag { protected $parameters = [...] }; public $files = class Symfony\Component\HttpFoundation\FileBag { protected $parameters = [...] }; public $cookies = class Symfony\Component\HttpFoundation\ParameterBag { protected $parameters = [...] }; public $headers = class Symfony\Component\HttpFoundation\HeaderBag { protected $headers = [...]; protected $cacheControl = [...] }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/print/public/'; protected $baseUrl = '/print/public'; protected $basePath = '/print/public'; protected $method = 'GET'; protected $format = NULL; protected $session = class Symfony\Component\HttpFoundation\Session\Session { protected $storage = class Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage { ... }; private $flashName = 'flashes'; private $attributeName = 'attributes'; private $data = [...]; private $usageIndex = 0 }; protected $locale = NULL; protected $defaultLocale = 'en'; private $isHostValid = TRUE; private $isForwardedValid = TRUE }, $type = 1, $catch = TRUE ) | ...\Kernel.php:198 |
| 4 | 1.0523 | 478632 | Symfony\Component\HttpKernel\HttpKernel->handleRaw( $request = class Symfony\Component\HttpFoundation\Request { public $attributes = class Symfony\Component\HttpFoundation\ParameterBag { protected $parameters = [...] }; public $request = class Symfony\Component\HttpFoundation\ParameterBag { protected $parameters = [...] }; public $query = class Symfony\Component\HttpFoundation\ParameterBag { protected $parameters = [...] }; public $server = class Symfony\Component\HttpFoundation\ServerBag { protected $parameters = [...] }; public $files = class Symfony\Component\HttpFoundation\FileBag { protected $parameters = [...] }; public $cookies = class Symfony\Component\HttpFoundation\ParameterBag { protected $parameters = [...] }; public $headers = class Symfony\Component\HttpFoundation\HeaderBag { protected $headers = [...]; protected $cacheControl = [...] }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/print/public/'; protected $baseUrl = '/print/public'; protected $basePath = '/print/public'; protected $method = 'GET'; protected $format = NULL; protected $session = class Symfony\Component\HttpFoundation\Session\Session { protected $storage = class Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage { ... }; private $flashName = 'flashes'; private $attributeName = 'attributes'; private $data = [...]; private $usageIndex = 0 }; protected $locale = NULL; protected $defaultLocale = 'en'; private $isHostValid = TRUE; private $isForwardedValid = TRUE }, $type = 1 ) | ...\HttpKernel.php:68 |
| 5 | 1.9693 | 1223184 | App\Controller\DashboardController->index( $request = class Symfony\Component\HttpFoundation\Request { public $attributes = class Symfony\Component\HttpFoundation\ParameterBag { protected $parameters = [...] }; public $request = class Symfony\Component\HttpFoundation\ParameterBag { protected $parameters = [...] }; public $query = class Symfony\Component\HttpFoundation\ParameterBag { protected $parameters = [...] }; public $server = class Symfony\Component\HttpFoundation\ServerBag { protected $parameters = [...] }; public $files = class Symfony\Component\HttpFoundation\FileBag { protected $parameters = [...] }; public $cookies = class Symfony\Component\HttpFoundation\ParameterBag { protected $parameters = [...] }; public $headers = class Symfony\Component\HttpFoundation\HeaderBag { protected $headers = [...]; protected $cacheControl = [...] }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/print/public/'; protected $baseUrl = '/print/public'; protected $basePath = '/print/public'; protected $method = 'GET'; protected $format = NULL; protected $session = class Symfony\Component\HttpFoundation\Session\Session { protected $storage = class Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage { ... }; private $flashName = 'flashes'; private $attributeName = 'attributes'; private $data = [...]; private $usageIndex = 0 }; protected $locale = NULL; protected $defaultLocale = 'en'; private $isHostValid = TRUE; private $isForwardedValid = TRUE }, $printerRepository = class App\Repository\PrinterRepository { protected $_entityName = 'App\\Entity\\Printer'; protected $_em = class Doctrine\ORM\EntityManager { private $config = class Doctrine\ORM\Configuration { ... }; private $conn = class Doctrine\DBAL\Connection { ... }; private $metadataFactory = class Doctrine\ORM\Mapping\ClassMetadataFactory { ... }; private $unitOfWork = class Doctrine\ORM\UnitOfWork { ... }; private $eventManager = class Symfony\Bridge\Doctrine\ContainerAwareEventManager { ... }; private $proxyFactory = class Doctrine\ORM\Proxy\ProxyFactory { ... }; private $repositoryFactory = class Doctrine\Bundle\DoctrineBundle\Repository\ContainerRepositoryFactory { ... }; private $expressionBuilder = NULL; private $closed = FALSE; private $filterCollection = NULL; private $cache = NULL }; protected $_class = class Doctrine\ORM\Mapping\ClassMetadata { public $name = 'App\\Entity\\Printer'; public $namespace = 'App\\Entity'; public $rootEntityName = 'App\\Entity\\Printer'; public $customGeneratorDefinition = NULL; public $customRepositoryClassName = 'App\\Repository\\PrinterRepository'; public $isMappedSuperclass = FALSE; public $isEmbeddedClass = FALSE; public $parentClasses = [...]; public $subClasses = [...]; public $embeddedClasses = [...]; public $namedQueries = [...]; public $namedNativeQueries = [...]; public $sqlResultSetMappings = [...]; public $identifier = [...]; public $inheritanceType = 1; public $generatorType = 4; public $fieldMappings = [...]; public $fieldNames = [...]; public $columnNames = [...]; public $discriminatorValue = NULL; public $discriminatorMap = [...]; public $discriminatorColumn = NULL; public $table = [...]; public $lifecycleCallbacks = [...]; public $entityListeners = [...]; public $associationMappings = [...]; public $isIdentifierComposite = FALSE; public $containsForeignIdentifier = FALSE; public $idGenerator = class Doctrine\ORM\Id\IdentityGenerator { ... }; public $sequenceGeneratorDefinition = NULL; public $tableGeneratorDefinition = NULL; public $changeTrackingPolicy = 1; public $isVersioned = NULL; public $versionField = NULL; public $cache = NULL; public $reflClass = class ReflectionClass { ... }; public $isReadOnly = FALSE; protected $namingStrategy = NULL; public $reflFields = [...]; private ${Doctrine\ORM\Mapping\ClassMetadataInfo}instantiator = class Doctrine\Instantiator\Instantiator { ... } }; private $lvlDanger = 10; private $lvlWarning = 30 }, $view = 'dash' ) | ...\HttpKernel.php:151 |
| 6 | 1.9694 | 1223560 | App\Repository\PrinterRepository->findAllWithFilter( $filter = [] ) | ...\DashboardController.php:30 |
| 7 | 2.0198 | 1275248 | Doctrine\ORM\AbstractQuery->getResult( $hydrationMode = ??? ) | ...\PrinterRepository.php:58 |
| 8 | 2.0199 | 1275248 | Doctrine\ORM\AbstractQuery->execute( $parameters = NULL, $hydrationMode = 1 ) | ...\AbstractQuery.php:750 |
| 9 | 2.0199 | 1275248 | Doctrine\ORM\AbstractQuery->executeIgnoreQueryCache( $parameters = NULL, $hydrationMode = 1 ) | ...\AbstractQuery.php:947 |
| 10 | 2.0199 | 1275640 | Doctrine\ORM\Query->_doExecute( ) | ...\AbstractQuery.php:992 |
| 11 | 2.0602 | 1281496 | Doctrine\ORM\Query\Exec\SingleSelectExecutor->execute( $conn = class Doctrine\DBAL\Connection { protected $_conn = NULL; protected $_config = class Doctrine\DBAL\Configuration { protected $_attributes = [...] }; protected $_eventManager = class Symfony\Bridge\Doctrine\ContainerAwareEventManager { private ${Doctrine\Common\EventManager}_listeners = [...]; private $listeners = [...]; private $initialized = [...]; private $container = class Symfony\Component\DependencyInjection\Argument\ServiceLocator { ... } }; protected $_expr = class Doctrine\DBAL\Query\Expression\ExpressionBuilder { private $connection = ... }; private $isConnected = FALSE; private $autoCommit = TRUE; private $transactionNestingLevel = 0; private $transactionIsolationLevel = NULL; private $nestTransactionsWithSavepoints = FALSE; private $params = ['driver' => 'pdo_mysql', 'charset' => 'utf8mb4', 'url' => 'mysql://pwdog:pwdog@127.0.0.1:3306/PrinterWatchdog', 'host' => '127.0.0.1', 'port' => '3306', 'user' => 'pwdog', 'password' => 'pwdog', 'driverOptions' => [...], 'serverVersion' => '5.7', 'defaultTableOptions' => [...], 'dbname' => 'PrinterWatchdog']; private $platform = class Doctrine\DBAL\Platforms\MySQL57Platform { protected $doctrineTypeMapping = NULL; protected $doctrineTypeComments = NULL; protected $_eventManager = class Symfony\Bridge\Doctrine\ContainerAwareEventManager { ... }; protected $_keywords = NULL }; protected $_schemaManager = NULL; protected $_driver = class Doctrine\DBAL\Driver\PDOMySql\Driver { }; private $isRollbackOnly = FALSE; protected $defaultFetchMode = 2 }, $params = [], $types = [] ) | ...\Query.php:337 |
| 12 | 2.0602 | 1281496 | Doctrine\DBAL\Connection->executeQuery( $query = 'SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.ip AS ip_2, p0_.serial_number AS serial_number_3, p0_.location AS location_4, p0_.last_check AS last_check_5, p0_.is_color_printer AS is_color_printer_6, p0_.toner_black AS toner_black_7, p0_.toner_yellow AS toner_yellow_8, p0_.toner_magenta AS toner_magenta_9, p0_.toner_cyan AS toner_cyan_10, p0_.type AS type_11, p0_.total_pages AS total_pages_12, p0_.unreachable_count AS unreachable_count_13, p0_.toner_black_description AS toner_black_description_14, p0_.tone'..., $params = [], $types = [], $qcp = NULL ) | ...\SingleSelectExecutor.php:50 |
| 13 | 2.0603 | 1281496 | Doctrine\DBAL\Connection->getWrappedConnection( ) | ...\Connection.php:890 |
| 14 | 2.0603 | 1281496 | Doctrine\DBAL\Connection->connect( ) | ...\Connection.php:1443 |
| 15 | 2.0603 | 1281496 | Doctrine\DBAL\Driver\PDOMySql\Driver->connect( $params = ['driver' => 'pdo_mysql', 'charset' => 'utf8mb4', 'url' => 'mysql://pwdog:pwdog@127.0.0.1:3306/PrinterWatchdog', 'host' => '127.0.0.1', 'port' => '3306', 'user' => 'pwdog', 'password' => 'pwdog', 'driverOptions' => [1002 => 'SET sql_mode=(SELECT REPLACE(@@sql_mode,\'ONLY_FULL_GROUP_BY\',\'\'))'], 'serverVersion' => '5.7', 'defaultTableOptions' => ['charset' => 'utf8mb4', 'collate' => 'utf8mb4_unicode_ci'], 'dbname' => 'PrinterWatchdog'], $username = 'pwdog', $password = 'pwdog', $driverOptions = [1002 => 'SET sql_mode=(SELECT REPLACE(@@sql_mode,\'ONLY_FULL_GROUP_BY\',\'\'))'] ) | ...\Connection.php:362 |
| 16 | 2.0603 | 1281496 | Composer\Autoload\ClassLoader->loadClass( $class = 'Doctrine\\DBAL\\Driver\\PDOConnection' ) | ...\Driver.php:21 |
| 17 | 2.0603 | 1281496 | Composer\Autoload\includeFile( $file = 'E:\\Program_Files\\wamp64\\www\\print\\vendor\\composer/../doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php' ) | ...\ClassLoader.php:322 |
| 18 | 2.0608 | 1281760 | include( 'E:\Program_Files\wamp64\www\print\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOConnection.php ) | ...\ClassLoader.php:444 |
| 19 | 2.0805 | 1345544 | Symfony\Component\Debug\ErrorHandler::handleFatalError( $error = ??? ) | ...\ErrorHandler.php:0 |
| 20 | 2.0849 | 1365968 | Symfony\Component\Debug\ErrorHandler->handleException( $exception = class Symfony\Component\Debug\Exception\FatalErrorException { protected $message = 'Compile Error: Declaration of Doctrine\\DBAL\\Driver\\PDOConnection::query() must be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs): PDOStatement|false'; private string ${Exception}string = ''; protected $code = 0; protected string $file = 'E:\\Program_Files\\wamp64\\www\\print\\vendor\\doctrine\\dbal\\lib\\Doctrine\\DBAL\\Driver\\PDOConnection.php'; protected int $line = 70; private array ${Exception}trace = [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...], 6 => [...], 7 => [...], 8 => [...], 9 => [...], 10 => [...], 11 => [...], 12 => [...], 13 => [...], 14 => [...], 15 => [...], 16 => [...], 17 => [...]]; private ?Throwable ${Exception}previous = NULL; protected int $severity = 64 }, $error = ['type' => 64, 'message' => 'Declaration of Doctrine\\DBAL\\Driver\\PDOConnection::query() must be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs): PDOStatement|false', 'file' => 'E:\\Program_Files\\wamp64\\www\\print\\vendor\\doctrine\\dbal\\lib\\Doctrine\\DBAL\\Driver\\PDOConnection.php', 'line' => 70] ) | ...\ErrorHandler.php:660 |
| 21 | 2.3246 | 1380480 | Symfony\Component\Debug\ErrorHandler->handleException( $exception = class Twig\Error\RuntimeError { protected $message = 'An exception has been thrown during the rendering of a template ("Failed to start the session because headers have already been sent by "E:\\Program_Files\\wamp64\\www\\print\\vendor\\doctrine\\dbal\\lib\\Doctrine\\DBAL\\Driver\\PDOConnection.php" at line 14.").'; private string ${Exception}string = ''; protected $code = 0; protected string $file = 'E:\\Program_Files\\wamp64\\www\\print\\templates\\base.html.twig'; protected int $line = 65; private array ${Exception}trace = [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...], 6 => [...], 7 => [...], 8 => [...], 9 => [...], 10 => [...], 11 => [...], 12 => [...], 13 => [...], 14 => [...], 15 => [...], 16 => [...], 17 => [...], 18 => [...], 19 => [...], 20 => [...]]; private ?Throwable ${Exception}previous = class RuntimeException { protected $message = 'Failed to start the session because headers have already been sent by "E:\\Program_Files\\wamp64\\www\\print\\vendor\\doctrine\\dbal\\lib\\Doctrine\\DBAL\\Driver\\PDOConnection.php" at line 14.'; private string ${Exception}string = ''; protected $code = 0; protected string $file = 'E:\\Program_Files\\wamp64\\www\\print\\vendor\\symfony\\http-foundation\\Session\\Storage\\NativeSessionStorage.php'; protected int $line = 149; private array ${Exception}trace = [...]; private ?Throwable ${Exception}previous = class Symfony\Component\Debug\Exception\FatalErrorException { ... }; public $xdebug_message = '<tr><th align=\'left\' bgcolor=\'#f57900\' colspan="5"><span style=\'background-color: #cc0000; color: #fce94f; font-size: x-large;\'>( ! )</span> RuntimeException: Failed to start the session because headers have already been sent by "E:\\Program_Files\\wamp64\\www\\print\\vendor\\doctrine\\dbal\\lib\\Doctrine\\DBAL\\Driver\\PDOConnection.php" at line 14. in E:\\Program_Files\\wamp64\\www\\print\\vendor\\symfony\\http-foundation\\Session\\Storage\\NativeSessionStorage.php on line <i>149</i></th></tr>\n<tr><th align=\'left\' bgcolor=\'#e9'... }; private ${Twig\Error\Error}lineno = 65; private ${Twig\Error\Error}name = 'base.html.twig'; private ${Twig\Error\Error}rawMessage = 'An exception has been thrown during the rendering of a template ("Failed to start the session because headers have already been sent by "E:\\Program_Files\\wamp64\\www\\print\\vendor\\doctrine\\dbal\\lib\\Doctrine\\DBAL\\Driver\\PDOConnection.php" at line 14.").'; private ${Twig\Error\Error}sourcePath = 'E:\\Program_Files\\wamp64\\www\\print\\templates\\base.html.twig'; private ${Twig\Error\Error}sourceCode = ''; public $xdebug_message = '<tr><th align=\'left\' bgcolor=\'#f57900\' colspan="5"><span style=\'background-color: #cc0000; color: #fce94f; font-size: x-large;\'>( ! )</span> Twig\\Error\\RuntimeError: An exception has been thrown during the rendering of a template ("Failed to start the session because headers have already been sent by "E:\\Program_Files\\wamp64\\www\\print\\vendor\\doctrine\\dbal\\lib\\Doctrine\\DBAL\\Driver\\PDOConnection.php" at line 14."). in E:\\Program_Files\\wamp64\\www\\print\\templates\\base.html.twig on line <i>65</i></th></tr>\n<tr><'... }, $error = ??? ) | ...\ErrorHandler.php:589 |