Deprecated: Return type of Klein\DataCollection\DataCollection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/appnet/public_html/vendor/klein/klein/src/Klein/DataCollection/DataCollection.php on line 356
Deprecated: Return type of Klein\DataCollection\DataCollection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/appnet/public_html/vendor/klein/klein/src/Klein/DataCollection/DataCollection.php on line 402
Deprecated: Return type of Klein\DataCollection\DataCollection::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/appnet/public_html/vendor/klein/klein/src/Klein/DataCollection/DataCollection.php on line 371
Deprecated: Return type of Klein\DataCollection\DataCollection::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/appnet/public_html/vendor/klein/klein/src/Klein/DataCollection/DataCollection.php on line 387
Deprecated: Return type of Klein\DataCollection\DataCollection::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/appnet/public_html/vendor/klein/klein/src/Klein/DataCollection/DataCollection.php on line 417
Deprecated: Return type of Klein\DataCollection\DataCollection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/appnet/public_html/vendor/klein/klein/src/Klein/DataCollection/DataCollection.php on line 431
Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /home/appnet/public_html/vendor/klein/klein/src/Klein/Klein.php on line 784
Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /home/appnet/public_html/vendor/klein/klein/src/Klein/Klein.php on line 784
Error
Uncaught exception: 'Doctrine\DBAL\Exception\ConnectionException'
Message: 'An exception occurred in the driver: SQLSTATE[HY000] [1045] Access denied for user 'appnet_parkingpay'@'localhost' (using password: YES)'
#0 /home/appnet/public_html/vendor/doctrine/dbal/src/Connection.php(1976): Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert(Object(Doctrine\DBAL\Driver\PDO\Exception), NULL)
#1 /home/appnet/public_html/vendor/doctrine/dbal/src/Connection.php(1924): Doctrine\DBAL\Connection->handleDriverException(Object(Doctrine\DBAL\Driver\PDO\Exception), NULL)
#2 /home/appnet/public_html/vendor/doctrine/dbal/src/Connection.php(385): Doctrine\DBAL\Connection->convertException(Object(Doctrine\DBAL\Driver\PDO\Exception))
#3 /home/appnet/public_html/vendor/doctrine/dbal/src/Connection.php(458): Doctrine\DBAL\Connection->connect()
#4 /home/appnet/public_html/vendor/doctrine/dbal/src/Connection.php(416): Doctrine\DBAL\Connection->getDatabasePlatformVersion()
#5 /home/appnet/public_html/vendor/doctrine/dbal/src/Connection.php(323): Doctrine\DBAL\Connection->detectDatabasePlatform()
#6 /home/appnet/public_html/vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php(876): Doctrine\DBAL\Connection->getDatabasePlatform()
#7 /home/appnet/public_html/vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php(631): Doctrine\ORM\Mapping\ClassMetadataFactory->getTargetPlatform()
#8 /home/appnet/public_html/vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php(160): Doctrine\ORM\Mapping\ClassMetadataFactory->completeIdGeneratorMapping(Object(Doctrine\ORM\Mapping\ClassMetadata))
#9 /home/appnet/public_html/vendor/doctrine/persistence/src/Persistence/Mapping/AbstractClassMetadataFactory.php(343): Doctrine\ORM\Mapping\ClassMetadataFactory->doLoadMetadata(Object(Doctrine\ORM\Mapping\ClassMetadata), NULL, false, Array)
#10 /home/appnet/public_html/vendor/doctrine/persistence/src/Persistence/Mapping/AbstractClassMetadataFactory.php(207): Doctrine\Persistence\Mapping\AbstractClassMetadataFactory->loadMetadata('Models\\Location')
#11 /home/appnet/public_html/vendor/doctrine/orm/src/EntityManager.php(329): Doctrine\Persistence\Mapping\AbstractClassMetadataFactory->getMetadataFor('Models\\Location')
#12 /home/appnet/public_html/vendor/doctrine/orm/src/Repository/DefaultRepositoryFactory.php(32): Doctrine\ORM\EntityManager->getClassMetadata('Models\\Location')
#13 /home/appnet/public_html/vendor/doctrine/orm/src/EntityManager.php(839): Doctrine\ORM\Repository\DefaultRepositoryFactory->getRepository(Object(Doctrine\ORM\EntityManager), 'Models\\Location')
#14 /home/appnet/public_html/App/Services/BaseService.php(23): Doctrine\ORM\EntityManager->getRepository('Models\\Location')
#15 /home/appnet/public_html/App/Services/BaseService.php(44): Services\BaseService->getRepository('Location')
#16 /home/appnet/public_html/App/Services/Web/PublicService.php(16): Services\BaseService->getLocationRepository()
#17 /home/appnet/public_html/App/Controllers/WebController.php(36): Services\Web\PublicService->getLocations()
#18 [internal function]: Controllers\WebController->Controllers\{closure}(Object(Klein\Request), Object(Klein\Response), Object(Klein\ServiceProvider), Object(Klein\App), Object(Klein\Klein), Object(Klein\DataCollection\RouteCollection), Array)
#19 /home/appnet/public_html/vendor/klein/klein/src/Klein/Klein.php(878): call_user_func(Object(Closure), Object(Klein\Request), Object(Klein\Response), Object(Klein\ServiceProvider), Object(Klein\App), Object(Klein\Klein), Object(Klein\DataCollection\RouteCollection), Array)
#20 /home/appnet/public_html/vendor/klein/klein/src/Klein/Klein.php(588): Klein\Klein->handleRouteCallback(Object(Klein\Route), Object(Klein\DataCollection\RouteCollection), Array)
#21 /home/appnet/public_html/index.php(127): Klein\Klein->dispatch()
#22 {main}
Thrown in '/home/appnet/public_html/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php' on line 101
----------------{"code":500,"message":"Error","error":"An exception occurred in the driver: SQLSTATE[HY000] [1045] Access denied for user 'appnet_parkingpay'@'localhost' (using password: YES)"}