Jump to content

Oops error in general settings after update


Recommended Posts

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:30
Stack 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.

Link to comment
Share on other sites

  • 3 weeks later...
  • WHMCS Support Manager

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated