Error

/home/carpet/public_html/fibre_2023_V2024/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php(86): An exception occurred while executing a query: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'limit 1' at line 1

Debug

#0 /home/carpet/public_html/fibre_2023_V2024/vendor/doctrine/dbal/src/Connection.php(1939): Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert(Object(Doctrine\DBAL\Driver\PDO\Exception), Object(Doctrine\DBAL\Query))
#1 /home/carpet/public_html/fibre_2023_V2024/vendor/doctrine/dbal/src/Connection.php(1881): Doctrine\DBAL\Connection->handleDriverException(Object(Doctrine\DBAL\Driver\PDO\Exception), Object(Doctrine\DBAL\Query))
#2 /home/carpet/public_html/fibre_2023_V2024/vendor/doctrine/dbal/src/Connection.php(1106): Doctrine\DBAL\Connection->convertExceptionDuringQuery(Object(Doctrine\DBAL\Driver\PDO\Exception), 'SELECT `name` F...', Array, Array)
#3 /home/carpet/public_html/fibre_2023_V2024/src/phpfn.php(6020): Doctrine\DBAL\Connection->executeQuery('SELECT `name` F...')
#4 /home/carpet/public_html/fibre_2023_V2024/src/phpfn.php(6177): PHPMaker2024\fibre\ExecuteQuery('SELECT `name` F...', NULL)
#5 /home/carpet/public_html/fibre_2023_V2024/src/userfn.php(258): PHPMaker2024\fibre\ExecuteScalar('SELECT `name` F...')
#6 /home/carpet/public_html/fibre_2023_V2024/views/layout.php(283): PHPMaker2024\fibre\HeaderName()
#7 /home/carpet/public_html/fibre_2023_V2024/vendor/slim/php-view/src/PhpRenderer.php(219): include('/home/carpet/pu...')
#8 /home/carpet/public_html/fibre_2023_V2024/vendor/slim/php-view/src/PhpRenderer.php(184): Slim\Views\PhpRenderer->protectedIncludeScope('views/layout.ph...', Array)
#9 /home/carpet/public_html/fibre_2023_V2024/vendor/slim/php-view/src/PhpRenderer.php(155): Slim\Views\PhpRenderer->fetchTemplate('layout.php', Array)
#10 /home/carpet/public_html/fibre_2023_V2024/src/HttpErrorHandler.php(169): Slim\Views\PhpRenderer->fetch('Error.php', Array, true)
#11 /home/carpet/public_html/fibre_2023_V2024/vendor/slim/slim/Slim/Handlers/ErrorHandler.php(136): PHPMaker2024\fibre\HttpErrorHandler->respond()
#12 /home/carpet/public_html/fibre_2023_V2024/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(92): Slim\Handlers\ErrorHandler->__invoke(Object(Slim\Http\ServerRequest), Object(Doctrine\DBAL\Exception\SyntaxErrorException), true, true, true)
#13 /home/carpet/public_html/fibre_2023_V2024/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(79): Slim\Middleware\ErrorMiddleware->handleException(Object(Slim\Http\ServerRequest), Object(Doctrine\DBAL\Exception\SyntaxErrorException))
#14 /home/carpet/public_html/fibre_2023_V2024/vendor/slim/slim/Slim/MiddlewareDispatcher.php(129): Slim\Middleware\ErrorMiddleware->process(Object(Slim\Http\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#15 /home/carpet/public_html/fibre_2023_V2024/vendor/slim/slim/Slim/MiddlewareDispatcher.php(73): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(Slim\Http\ServerRequest))
#16 /home/carpet/public_html/fibre_2023_V2024/vendor/slim/slim/Slim/App.php(209): Slim\MiddlewareDispatcher->handle(Object(Slim\Http\ServerRequest))
#17 /home/carpet/public_html/fibre_2023_V2024/vendor/slim/slim/Slim/App.php(193): Slim\App->handle(Object(Slim\Http\ServerRequest))
#18 /home/carpet/public_html/fibre_2023_V2024/index.php(152): Slim\App->run()
#19 {main}