954,116 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Is this a PHP installation problem??

I'm getting the following error

A PHP Error was encountered Severity: Notice Message: Trying to get property of non-object

Is this an installation error?? I'm using php 5.2.11 on centos 5.4.

bonzi200x
Newbie Poster
6 posts since Nov 2009
Reputation Points: 10
Solved Threads: 0
 

Hey.

No, this is a problem with one of your PHP scripts. Somewhere in the code you try to use a non-object (a normal variable) as if it were an object.

I can't really tell you more unless you locate the code that is generating the message.
Was there more to the error? Perhaps a file name and line number?

Atli
Posting Pro
540 posts since May 2007
Reputation Points: 93
Solved Threads: 70
 

Thanks for the reply. Yes there was more on the error


A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: video/middle_view.php

Line Number: 395

bonzi200x
Newbie Poster
6 posts since Nov 2009
Reputation Points: 10
Solved Threads: 0
 

Although I'm no fan of oop I would suggest posting line 395 and code that relates to line 395 for us to debug.

cwarn23
Occupation: Genius
Team Colleague
3,033 posts since Sep 2007
Reputation Points: 413
Solved Threads: 259
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: