Jump to content

bug? php 8.0 error - user with no timezone


Recommended Posts

Posted (edited)

occasionally get the below error

triggered it seems if no timezone is  present in the users ipsTimezone cookie

[22-May-2022 05:25:49 UTC] PHP Fatal error:  Uncaught Error: Attempt to assign property "timezone" on null in /home/huh/html/system/Member/Member.php:183
Stack trace:
#0 /home/huh/html/system/Log/Log.php(107): IPS\_Member::loggedIn()
#1 /home/huh/html/init.php(1015): IPS\_Log::log()
#2 [internal function]: IPS\IPS::exceptionHandler()
#3 {main}
  thrown in /home/huh/html/system/Member/Member.php on line 183

looks like this is now causing the php error in Php 8.0

        if ( !static::$loggedInMember->member_id and isset( \IPS\Request::i()->cookie['ipsTimezone'] ) )
            {
                static::$loggedInMember->timezone = \IPS\Request::i()->cookie['ipsTimezone'];
            }

Edited by sound
Link to comment
Share on other sites

We would need to look further into this for you, however the access details on file appear to be incorrect or missing. Could you please update these details by visiting your client area, selecting the relevant purchase, then clicking "Review/Update Access Information" under the "Stored Access Information" section. 

We look forward to further assisting you. 

 

Link to comment
Share on other sites

15 minutes ago, Marc Stridgen said:

We would need to look further into this for you, however the access details on file appear to be incorrect or missing. Could you please update these details by visiting your client area, selecting the relevant purchase, then clicking "Review/Update Access Information" under the "Stored Access Information" section. 

We look forward to further assisting you. 

 

hey Marc, some misunderstanding here

am just informing you/invision of a possible bug with the software

No real wish for any work/access on own live server

Just letting you know

 

 

Link to comment
Share on other sites

  • 2 weeks later...
 Share

  • Recently Browsing   0 members

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