sound Posted May 22, 2022 Share Posted May 22, 2022 (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 May 22, 2022 by sound Link to comment Share on other sites More sharing options...
Jim M Posted May 22, 2022 Share Posted May 22, 2022 Please be advised I have tagged a developer to this topic so they can verify what is happening here. Link to comment Share on other sites More sharing options...
Marc Stridgen Posted May 23, 2022 Share Posted May 23, 2022 Where is it you are seeing these? Are you seeing them in our system logs or your php error logs? Link to comment Share on other sites More sharing options...
sound Posted May 23, 2022 Author Share Posted May 23, 2022 27 minutes ago, Marc Stridgen said: Where is it you are seeing these? Are you seeing them in our system logs or your php error logs? our php error logs Link to comment Share on other sites More sharing options...
Marc Stridgen Posted May 23, 2022 Share Posted May 23, 2022 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 More sharing options...
sound Posted May 23, 2022 Author Share Posted May 23, 2022 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 More sharing options...
Marc Stridgen Posted May 23, 2022 Share Posted May 23, 2022 We are not aware of any issues relating to this at present. I dont seem to be seeing it on my own environment either, in relation to PHP 8. This is why I had requested access there. Link to comment Share on other sites More sharing options...
Management Matt Posted May 31, 2022 Management Share Posted May 31, 2022 I've raised an internal bug report for this, thanks for reporting. Link to comment Share on other sites More sharing options...
peter.schaefer Posted October 2, 2022 Share Posted October 2, 2022 Are you going along with that? Here is an example of my update trial to php8.0 from my php logs: [Sun Oct 02 18:32:40.198311 2022] [proxy_fcgi:error] [pid 61137:tid 34386205184] [client **********:56899] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Attempt to assign property "timezone" on null in /www/system/Member/Member.php:198\nStack trace:\n#0 /www/system/Log/Log.php(107): IPS\\_Member::loggedIn()\n#1 /www/init.php(1029): IPS\\_Log::log('Error: Call to ...', 'uncaught_except...')\n#2 [internal function]: IPS\\IPS::exceptionHandler(Object(Error))\n#3 {main}\n thrown in /www/system/Member/Member.php on line 198' Have blank page instead of the website by the way, haven´t figured out yet, what caused that. A default timezone is set in php.ini: Default timezone Europe/Berlin Link to comment Share on other sites More sharing options...
peter.schaefer Posted October 2, 2022 Share Posted October 2, 2022 Missed some php modules -> filter, gmp and phar. My fault, blank page is gone. Link to comment Share on other sites More sharing options...
peter.schaefer Posted October 2, 2022 Share Posted October 2, 2022 Interesting the php 8 timezone error seems gone too. Daniel F 1 Link to comment Share on other sites More sharing options...
Marc Stridgen Posted October 3, 2022 Share Posted October 3, 2022 Glad to hear thats now working for you Link to comment Share on other sites More sharing options...
MadMaxMangos Posted January 14 Share Posted January 14 On 5/31/2022 at 11:16 AM, Matt said: I've raised an internal bug report for this, thanks for reporting. Also seeing this after moving the website from cpanel to virtualmin. In my case opening the admin login page immediately told me a database table core_theme_settings_fields relating to was missing and somehow throwing this error exact message in the php error logs! So something to note as an indirect cause of that error message I guess. I've put the error log message below (that is now resolved), in case line 205 is another bug that needs fixing (or not). [14-Jan-2023 22:34:32 UTC] PHP Fatal error: Uncaught Error: Attempt to assign property "timezone" on null in /home/markstreeton/public_html/system/Member/Member.php:205 Stack trace: #0 /home/markstreeton/public_html/system/Log/Log.php(107): IPS\_Member::loggedIn() #1 /home/markstreeton/public_html/init.php(1034): IPS\_Log::log() #2 [internal function]: IPS\IPS::exceptionHandler() #3 {main} thrown in /home/markstreeton/public_html/system/Member/Member.php on line 205 Matt 1 Link to comment Share on other sites More sharing options...
balazsp Posted March 25 Share Posted March 25 @MadMaxMangos did you manage to fix this issue? Link to comment Share on other sites More sharing options...
Marc Stridgen Posted March 27 Share Posted March 27 Are you having issues after having moved server? Link to comment Share on other sites More sharing options...
Recommended Posts