Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timezone Error? #32458

Open
stan-thomas opened this issue Dec 23, 2024 · 0 comments
Open

Timezone Error? #32458

stan-thomas opened this issue Dec 23, 2024 · 0 comments
Labels
Bug This is a bug (something does not work as expected)

Comments

@stan-thomas
Copy link

Bug

This is from the apache error log

PHP Fatal error: Uncaught Exception: DateTimeZone::__construct(): Unknown or bad timezone (Asia/Calcutta) in /usr/share/dolibarr/htdocs/core/lib/functions.lib.php:2852\nStack trace:\n#0 /usr/share/dolibarr/htdocs/core/lib/functions.lib.php(2852): DateTimeZone->__construct()\n#1 /usr/share/dolibarr/htdocs/main.inc.php(2454): dol_print_date()\n#2 /usr/share/dolibarr/htdocs/main.inc.php(2343): top_menu_user()\n#3 /usr/share/dolibarr/htdocs/main.inc.php(1545): top_menu()\n#4 /usr/share/dolibarr/htdocs/index.php(87): llxHeader()\n#5 {main}\n thrown in /usr/share/dolibarr/htdocs/core/lib/functions.lib.php on line 2852

Dolibarr Version

19.0.4

Environment PHP

8.1 and 8.2

Environment Database

Postgres 17

Steps to reproduce the behavior and expected behavior

Happens immediately after login. I upgraded my server. I guess the PHP version has changed. Can't be sure. I'm getting this error in both 8.1 and 8.2 PHP.

Attached files

No response

@stan-thomas stan-thomas added the Bug This is a bug (something does not work as expected) label Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug (something does not work as expected)
Projects
None yet
Development

No branches or pull requests

1 participant