diff --git a/templates/bundles/TwigBundle/Exception/error500.html.twig b/templates/bundles/TwigBundle/Exception/error500.html.twig
index c709e189..40a418c2 100644
--- a/templates/bundles/TwigBundle/Exception/error500.html.twig
+++ b/templates/bundles/TwigBundle/Exception/error500.html.twig
@@ -19,13 +19,23 @@
Run yarn install and yarn build in Part-DB folder.
Run php bin/console cache:clear
- {% elseif exception.class == "Doctrine\\DBAL\\Exception\\InvalidFieldNameException" or exception.class == "Doctrine\\DBAL\\Exception\\TableNotFoundException" %}
+ {% elseif exception.class == "Doctrine\\DBAL\\Exception\\InvalidFieldNameException"
+ or exception.class == "Doctrine\\DBAL\\Exception\\TableNotFoundException"
+ %}
Invalid or not existing database schema.
Try following things:
- Check if the
DATABASE_URL
in .env.local
(or docker configure) is correct
- Run php bin/console doctrine:migrations:migrate to upgrade database schema
- Run php bin/console cache:clear
+ {% elseif exception.class == "Doctrine\\DBAL\\Exception\\DriverException" %}
+ Error while executing database query.
This is maybe caused by an old database schema.
Try following things:
+
+ - Check if the
DATABASE_URL
in .env.local
(or docker configure) is correct
+ - Run php bin/console doctrine:migrations:migrate to upgrade database schema (if upgrade is available)
+ - Run php bin/console cache:clear
+ - If this issue persist, create a ticket at GitHub.
+
{% else %}
You could try following things, if this error is unexpected: