Jump to content

Featured Replies

Posted

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

Solved by Marc

Go to solution

Please be advised I have tagged a developer to this topic so they can verify what is happening here. 

Where is it you are seeing these? Are you seeing them in our system logs or your php error logs?

  • Author
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

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. 

 

  • Author
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

 

 

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. 

  • 2 weeks later...
  • Management

I've raised an internal bug report for this, thanks for reporting.

  • 4 months later...

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

Missed some php modules -> filter, gmp and phar. My fault, blank page is gone.

Glad to hear thats now working for you

  • 3 months later...
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

 

  • 2 months later...

@MadMaxMangos did you manage to fix this issue?

 

Are you having issues after having moved server?

  • 6 months later...
On 3/27/2023 at 3:35 PM, Marc Stridgen said:

Are you having issues after having moved server?

Hello Marc,

Did you able to find the solution for this issue?

9 minutes ago, Jyoti Rani said:

Hello Marc,

Did you able to find the solution for this issue?

Its actually a PHP bug. We have worked around this in the next upcoming release

5 minutes ago, Marc Stridgen said:

Its actually a PHP bug. We have worked around this in the next upcoming release

Actually i got this while working at my local machine. As per the comments on the forum, I restarted my system and i am getting below issue.

Could contain: File, Webpage, Page, Text

Can you please suggest something? My all the efforts for the hook and local setup gets wasted. 

Edited by Jyoti Rani

Marc is thinking of something else that came up recently due to a change in PHP.

This issue typically occurs when there's an error that happens really early in the bootup process before the member object is fully available for logging. (this could be something like an error connecting to the database server) 

  • 2 months later...
  • Solution

This issue has been resolved in the recently released 4.7.15 version. Please update your site if you are still experiencing the issue, and let us know if you see any reoccurrence.

Recently Browsing 0

  • No registered users viewing this page.