Page 1 of 1

Php Undefined property

Posted: Thu Jan 11, 2024 10:23 am
by ricklincs
Good Morning,

I had a vps server with my nubuilder app on running for 6 months with no problems, I then started seeing the below in my logs, I have moved the nubuilder app to a new vps server with more ram and cores and I am still seeing the below. Anybody seen this before?

I am getting the following apache warning message running php 8.2

AH01071: Got error 'PHP message: PHP Warning: Undefined property: stdClass::$mtrs in /var/www/vhosts/wm/core/nucommon.php(1406) : eval()'d code on line 10', referer:

Followed by:
Code 503 POST /wm/core/nuapi.php HTTP/1.0 Apache SSL/TLS access

and then:

(70007)The timeout specified has expired: AH01075: Error dispatching request to :, referer: https://wm/ Apache error

followed by:
3474#0: *3615 upstream timed out (110: Connection timed out) while reading response header from upstream nginx error

Re: Php Undefined property

Posted: Fri Jan 12, 2024 4:05 pm
by kev1n
Hi,

The warning message you provided indicates that there is an attempt to access an undefined property mtrs on an object of the stdClass class. This is happening in the context of evaluating code at line 10.

In essence, I suspect that the 'mtrs' property is defined within custom code that extends beyond the core codebase of nuBuilder.

Re: Php Undefined property

Posted: Fri Jan 12, 2024 5:30 pm
by ricklincs
Thanks Kev1n, you are correct.