Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Php Undefined property

Questions related to using nuBuilder Forte.
Post Reply
ricklincs
Posts: 107
Joined: Mon Aug 01, 2011 5:39 pm
Has thanked: 33 times

Php Undefined property

Unread post 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
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Php Undefined property

Unread post 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.
ricklincs
Posts: 107
Joined: Mon Aug 01, 2011 5:39 pm
Has thanked: 33 times

Re: Php Undefined property

Unread post by ricklincs »

Thanks Kev1n, you are correct.
Post Reply