Exceptions
Exception
Symfony\Component\ErrorHandler\Error\ MaxExecutionTimeError
Show exception properties
Symfony\Component\ErrorHandler\Error\MaxExecutionTimeError {#609 -error: array:4 [ "type" => 1 "message" => "Maximum execution time of 30 seconds exceeded" "file" => "C:\Users\jayve\moderators\vendor\doctrine\orm\src\Query\AST\Node.php" "line" => 24 ] }
/*** Abstract class of an AST node.** @link www.doctrine-project.org*/abstract class Node implements Stringable{/*** Double-dispatch method, supposed to dispatch back to the walker.** Implementation is not mandatory for all nodes.
// no-op} elseif (\function_exists('opcache_is_script_cached') && @opcache_is_script_cached($file)) {include $file;return;} elseif (false === include $file) {return;}} else {($this->classLoader)($class);$file = '';
DebugClassLoader->loadClass()
in
C:\Users\jayve\moderators\vendor\doctrine\orm\src\Query\AST\UpdateStatement.php
(line 14)
/*** UpdateStatement = UpdateClause [WhereClause]** @link www.doctrine-project.org*/class UpdateStatement extends Node{public WhereClause|null $whereClause = null;public function __construct(public UpdateClause $updateClause){
// no-op} elseif (\function_exists('opcache_is_script_cached') && @opcache_is_script_cached($file)) {include $file;return;} elseif (false === include $file) {return;}} else {($this->classLoader)($class);$file = '';
DebugClassLoader->loadClass()
in
C:\Users\jayve\moderators\vendor\doctrine\orm\src\Query\Parser.php
(line 863)
/*** UpdateStatement ::= UpdateClause [WhereClause]*/public function UpdateStatement(): AST\UpdateStatement{$updateStatement = new AST\UpdateStatement($this->UpdateClause());$updateStatement->whereClause = $this->lexer->isNextToken(TokenType::T_WHERE) ? $this->WhereClause() : null;return $updateStatement;}
Parser->UpdateStatement()
in
C:\Users\jayve\moderators\vendor\doctrine\orm\src\Query\Parser.php
(line 823)
case TokenType::T_SELECT:$statement = $this->SelectStatement();break;case TokenType::T_UPDATE:$statement = $this->UpdateStatement();break;case TokenType::T_DELETE:$statement = $this->DeleteStatement();break;
Parser->QueryLanguage()
in
C:\Users\jayve\moderators\vendor\doctrine\orm\src\Query\Parser.php
(line 243)
* Parses and builds AST for the given Query.*/public function getAST(): AST\SelectStatement|AST\UpdateStatement|AST\DeleteStatement{// Parse & build AST$AST = $this->QueryLanguage();// Process any deferred validations of some nodes in the AST.// This also allows post-processing of the AST for modification purposes.$this->processDeferredIdentificationVariables();
/*** Parses a query string.*/public function parse(): ParserResult{$AST = $this->getAST();$customWalkers = $this->query->getHint(Query::HINT_CUSTOM_TREE_WALKERS);if ($customWalkers !== false) {$this->customTreeWalkers = $customWalkers;}
}// Cache miss.$parser = new Parser($this);$this->parserResult = $parser->parse();$queryCache->save($cacheItem->set($this->parserResult)->expiresAfter($this->queryCacheTTL));return $this->parserResult;}
$this->state = self::STATE_DIRTY;}private function getSqlExecutor(): AbstractSqlExecutor{return $this->parse()->prepareSqlExecutor($this);}}
return $this->parserResult;}protected function _doExecute(): Result|int{$executor = $this->getSqlExecutor();if ($this->queryCacheProfile) {$executor->setQueryCacheProfile($this->queryCacheProfile);} else {$executor->removeQueryCacheProfile();
Query->_doExecute()
in
C:\Users\jayve\moderators\vendor\doctrine\orm\src\AbstractQuery.php
(line 930)
$setCacheEntry = static function ($data) use ($cache, $result, $cacheItem, $realCacheKey): void {$cache->save($cacheItem->set($result + [$realCacheKey => $data]));};}$stmt = $this->_doExecute();if (is_numeric($stmt)) {$setCacheEntry($stmt);return $stmt;
AbstractQuery->executeIgnoreQueryCache()
in
C:\Users\jayve\moderators\vendor\doctrine\orm\src\AbstractQuery.php
(line 886)
): mixed {if ($this->cacheable && $this->isCacheEnabled()) {return $this->executeUsingQueryCache($parameters, $hydrationMode);}return $this->executeIgnoreQueryCache($parameters, $hydrationMode);}/*** Execute query ignoring second level cache.*
AbstractQuery->execute()
in
C:\Users\jayve\moderators\src\EventSubscriber\AutoClockOutSubscriber.php
(line 26)
if (!$e->isMainRequest()) return;try {$this->em->createQuery('UPDATE App\Entity\Attendance a SET a.clockOut = a.autoOut, a.autoClosed = trueWHERE a.clockOut IS NULL AND a.autoOut IS NOT NULL AND a.autoOut <= :now')->setParameter('now', new \DateTimeImmutable(), 'datetime_immutable')->execute();} catch (\Throwable) {// tables not created yet — ignore}}}
AutoClockOutSubscriber->sweep()
in
C:\Users\jayve\moderators\vendor\symfony\event-dispatcher\Debug\WrappedListener.php
(line 115)
$this->priority ??= $dispatcher->getListenerPriority($eventName, $this->listener);$e = $this->stopwatch->start($this->name, 'event_listener');try {($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);} finally {if ($e->isStarted()) {$e->stop();}}
WrappedListener->__invoke()
in
C:\Users\jayve\moderators\vendor\symfony\event-dispatcher\EventDispatcher.php
(line 206)
foreach ($listeners as $listener) {if ($stoppable && $event->isPropagationStopped()) {break;}$listener($event, $eventName, $this);}}/*** Sorts the internal list of listeners for the given event by priority.
EventDispatcher->callListeners()
in
C:\Users\jayve\moderators\vendor\symfony\event-dispatcher\EventDispatcher.php
(line 56)
} else {$listeners = $this->getListeners($eventName);}if ($listeners) {$this->callListeners($listeners, $eventName, $event);}return $event;}
EventDispatcher->dispatch()
in
C:\Users\jayve\moderators\vendor\symfony\event-dispatcher\Debug\TraceableEventDispatcher.php
(line 129)
try {$this->beforeDispatch($eventName, $event);try {$e = $this->stopwatch->start($eventName, 'section');try {$this->dispatcher->dispatch($event, $eventName);} finally {if ($e->isStarted()) {$e->stop();}}
TraceableEventDispatcher->dispatch()
in
C:\Users\jayve\moderators\vendor\symfony\http-kernel\HttpKernel.php
(line 164)
*/private function handleRaw(Request $request, int $type = self::MAIN_REQUEST, ?ControllerMetadata &$controllerMetadata = null): Response{// request$event = new RequestEvent($this, $request, $type);$this->dispatcher->dispatch($event, KernelEvents::REQUEST);if ($event->hasResponse()) {return $this->filterResponse($event->getResponse(), $request, $type);}
HttpKernel->handleRaw()
in
C:\Users\jayve\moderators\vendor\symfony\http-kernel\HttpKernel.php
(line 79)
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);$response = null;try {return $response = $this->handleRaw($request, $type, $controllerMetadata);} catch (\Throwable $e) {if ($e instanceof \Error && !$this->handleAllThrowables) {throw $e;}
if (!$this->handlingHttpCache) {$this->resetServices = true;}try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
Kernel->handle()
in
C:\Users\jayve\moderators\vendor\symfony\runtime\Runner\Symfony\HttpKernelRunner.php
(line 34)
) {}public function run(): int{$response = $this->kernel->handle($this->request);$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {fastcgi_finish_request();
$app = $app(...$args);exit($runtime->getRunner($app)->run());
<?phpuse App\Kernel;require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return static function (array $context) {return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);};
Logs
| Level | Channel | Message |
|---|---|---|
| DEBUG 15:39:24 | php |
User Warning: Configure the "curl.cainfo", "openssl.cafile" or "openssl.capath" php.ini setting to enable the CurlHttpClient {
"exception": {
"severity": 512,
"file": "C:\\Users\\jayve\\moderators\\vendor\\symfony\\http-client\\HttpClient.php",
"line": 57,
"trace": [
{
"file": "C:\\Users\\jayve\\moderators\\var\\cache\\dev\\ContainerZxPf1Ec\\App_KernelDevDebugContainer.php",
"line": 1682,
"function": "create",
"class": "Symfony\\Component\\HttpClient\\HttpClient",
"type": "::"
}
],
"count": 1
}
}
|
| DEBUG 15:39:24 | php |
User Notice: Upgrade the curl extension or run "composer require amphp/http-client:^5" to perform async HTTP operations, including full HTTP/2 support {
"exception": {
"severity": 1024,
"file": "C:\\Users\\jayve\\moderators\\vendor\\symfony\\http-client\\HttpClient.php",
"line": 64,
"trace": [
{
"file": "C:\\Users\\jayve\\moderators\\var\\cache\\dev\\ContainerZxPf1Ec\\App_KernelDevDebugContainer.php",
"line": 1682,
"function": "create",
"class": "Symfony\\Component\\HttpClient\\HttpClient",
"type": "::"
}
],
"count": 1
}
}
|
| INFO 15:39:24 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "latest"
},
"request_uri": "http://server.tail2daa0b.ts.net/_profiler/latest?type=request&url=http%3A%2F%2Fserver.tail2daa0b.ts.net%2Frobots.txt",
"method": "GET"
}
|
| INFO 15:39:24 | deprecation |
User Deprecated: Support for MySQL < 8 is deprecated and will be removed in DBAL 5 (AbstractMySQLDriver.php:80 called by AbstractDriverMiddleware.php:32, https://github.com/doctrine/dbal/pull/6343, package doctrine/dbal) {
"exception": {}
}
|
| INFO 15:39:24 | doctrine |
Connecting with parameters {params} {
"params": {
"driver": "pdo_mysql",
"idle_connection_ttl": 600,
"host": "127.0.0.1",
"port": 3312,
"user": "root",
"password": "<redacted>",
"driverOptions": [],
"defaultTableOptions": [],
"dbname": "moderators",
"serverVersion": "8.0",
"charset": "utf8mb4"
}
}
|
| DEBUG 15:39:24 | doctrine | Executing statement: UPDATE attendance SET clock_out = auto_out, auto_closed = 1 WHERE clock_out IS NULL AND auto_out IS NOT NULL AND auto_out <= ? (parameters: {params}, types: {types}) |
Stack Trace
|
MaxExecutionTimeError
|
|---|
Symfony\Component\ErrorHandler\Error\MaxExecutionTimeError:
Error: Maximum execution time of 30 seconds exceeded
at C:\Users\jayve\moderators\vendor\doctrine\orm\src\Query\AST\Node.php:24
at include()
(C:\Users\jayve\moderators\vendor\symfony\error-handler\DebugClassLoader.php:350)
at Symfony\Component\ErrorHandler\DebugClassLoader->loadClass()
(C:\Users\jayve\moderators\vendor\doctrine\orm\src\Query\AST\UpdateStatement.php:14)
at include()
(C:\Users\jayve\moderators\vendor\symfony\error-handler\DebugClassLoader.php:350)
at Symfony\Component\ErrorHandler\DebugClassLoader->loadClass()
(C:\Users\jayve\moderators\vendor\doctrine\orm\src\Query\Parser.php:863)
at Doctrine\ORM\Query\Parser->UpdateStatement()
(C:\Users\jayve\moderators\vendor\doctrine\orm\src\Query\Parser.php:823)
at Doctrine\ORM\Query\Parser->QueryLanguage()
(C:\Users\jayve\moderators\vendor\doctrine\orm\src\Query\Parser.php:243)
at Doctrine\ORM\Query\Parser->getAST()
(C:\Users\jayve\moderators\vendor\doctrine\orm\src\Query\Parser.php:335)
at Doctrine\ORM\Query\Parser->parse()
(C:\Users\jayve\moderators\vendor\doctrine\orm\src\Query.php:248)
at Doctrine\ORM\Query->parse()
(C:\Users\jayve\moderators\vendor\doctrine\orm\src\Query.php:717)
at Doctrine\ORM\Query->getSqlExecutor()
(C:\Users\jayve\moderators\vendor\doctrine\orm\src\Query.php:257)
at Doctrine\ORM\Query->_doExecute()
(C:\Users\jayve\moderators\vendor\doctrine\orm\src\AbstractQuery.php:930)
at Doctrine\ORM\AbstractQuery->executeIgnoreQueryCache()
(C:\Users\jayve\moderators\vendor\doctrine\orm\src\AbstractQuery.php:886)
at Doctrine\ORM\AbstractQuery->execute()
(C:\Users\jayve\moderators\src\EventSubscriber\AutoClockOutSubscriber.php:26)
at App\EventSubscriber\AutoClockOutSubscriber->sweep()
(C:\Users\jayve\moderators\vendor\symfony\event-dispatcher\Debug\WrappedListener.php:115)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
(C:\Users\jayve\moderators\vendor\symfony\event-dispatcher\EventDispatcher.php:206)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(C:\Users\jayve\moderators\vendor\symfony\event-dispatcher\EventDispatcher.php:56)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(C:\Users\jayve\moderators\vendor\symfony\event-dispatcher\Debug\TraceableEventDispatcher.php:129)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(C:\Users\jayve\moderators\vendor\symfony\http-kernel\HttpKernel.php:164)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(C:\Users\jayve\moderators\vendor\symfony\http-kernel\HttpKernel.php:79)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(C:\Users\jayve\moderators\vendor\symfony\http-kernel\Kernel.php:143)
at Symfony\Component\HttpKernel\Kernel->handle()
(C:\Users\jayve\moderators\vendor\symfony\runtime\Runner\Symfony\HttpKernelRunner.php:34)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(C:\Users\jayve\moderators\vendor\autoload_runtime.php:32)
at require_once()
(C:\Users\jayve\moderators\public\index.php:5)
|