thorsten / phpMyFAQ

phpMyFAQ - Open Source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases
https://www.phpmyfaq.de
Mozilla Public License 2.0
585 stars 254 forks source link

4.0 Error with click on upgrade in navigation #3054

Closed c1972 closed 3 months ago

c1972 commented 3 months ago

When I click on the Upgrade entry in navigation, I get following error message (regardless of language):

nav-upgrade

Error message:

phpMyFAQ Fatal error
Uncaught exception: 'Twig\Error\RuntimeError'

Message: 'An exception has been thrown during the rendering of a template ("Failed to parse time string (Invalid Date) at position 0 (I): The timezone could not be found in the database").'

Stack trace:

#0 /home/www/cc10.de/src/libs/twig/twig/src/Template.php(335): Twig\Template->yield(Array)
#1 /home/www/cc10.de/src/libs/twig/twig/src/TemplateWrapper.php(38): Twig\Template->render(Array)
#2 /home/www/cc10.de/admin/upgrade.php(62): Twig\TemplateWrapper->render(Array)
#3 /home/www/cc10.de/admin/index.php(363): require('/home/www/cc10....')
#4 {main}
Thrown in '/home/www/cc10.de/assets/templates/admin/configuration/upgrade.twig' on line 135

Site: cc10.de OS: Windows 11 Pro 23H2 Browser: Chrome 126.0.6478.127 phpMyFAQ Version: 4.0 PHP-Version: 8.2 Database: MariaDB 10.11.4 Elasticsearch: No

Regards Christian