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:

    + {% elseif exception.class == "Doctrine\\DBAL\\Exception\\DriverException" %} + Error while executing database query.
    This is maybe caused by an old database schema.

    Try following things:

    + {% else %} You could try following things, if this error is unexpected: