Louis Switch My Server Posted October 20, 2020 Share Posted October 20, 2020 Hi, After the upgrade to 8.0.2 I receive these same errors on a few different areas such as General Settings, Automation Settings, Configure Admin etc. Exception: DateTime::__construct(): Invalid date.timezone value 'n/a', we selected the timezone 'UTC' for now. in /customer/vendor/nesbot/carbon/src/Carbon/Traits/Timestamp.php:30Stack trace:#0 /customer/vendor/nesbot/carbon/src/Carbon/Traits/Timestamp.php(30): DateTime->__construct('@1603107349')#1 /customer/vendor/whmcs/whmcs-foundation/lib/Carbon.php(0): Carbon\Carbon::createFromTimestamp(1603107349, NULL)#2 /vendor/whmcs/whmcs-foundation/lib/Admin.php(0): WHMCS\Carbon::createFromTimestamp(1603107349)#3 /vendor/whmcs/whmcs-foundation/lib/Admin.php(0): WHMCS\Admin->hasAuthConfirmation()#4 /customer/admin/configadmins.php(0): WHMCS\Admin->requireAuthConfirmation()#5 {main} PHP 7.2.34 (cli) (built: Oct 18 2020 17:33:16) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies with the ionCube PHP Loader + ionCube24 v10.4.4, Copyright (c) 2002-2020, by ionCube Ltd. Any advise would be very much appreciated. Thank you. 0 Quote Link to comment Share on other sites More sharing options...
souzadavi Posted October 20, 2020 Share Posted October 20, 2020 Check your php timezone, whmcs and server time zone. It's look like there isn't time zone defined. They are the same? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted November 9, 2020 WHMCS Support Manager Share Posted November 9, 2020 Hi @Louis Switch My Server, It sounds like your PHP error_reporting level might be a little high to be emitting warnings. Please make sure they are set according to the following guide:https://docs.whmcs.com/Enabling_Error_Reporting#PHP_Warnings_and_Notices Regarding the warning, make sure a default timezone is specified in your php.ini 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.