timezone warning

Fatal error: Uncaught exception ‘Exception’ with message ‘DateTime::__construct(): It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone ‘UTC’ for now, but please set date.timezone to select your timezone.’ in /home/keysentence2605/public_html/601/core/lib/date.lib.php:132 Stack trace: #0 /home/keysentence2605/public_html/601/core/lib/date.lib.php(132): DateTime->__construct() #1 /home/keysentence2605/public_html/601/core/modules/modAdherent.class.php(327): dol_time_plus_duree(1523955235, 1, ‘y’) #2 /home/keysentence2605/public_html/601/user/perms.php(151): modAdherent->__construct(Object(DoliDBMysqli)) #3 {main} thrown in /home/keysentence2605/public_html/601/core/lib/date.lib.php on line 132

I have no idea about it you have to search on google otherwise contact with any company. If i face any problem i also do same things. :happy:

Hi
You can fix timezone in Dolibarr and/or htaccess

https://www.a2hosting.com/kb/developer-corner/php/using-php-directives-in-custom-htaccess-files/setting-the-php-time-zone-in-an-htaccess-file

@+