Dawx Posted December 3, 2010 Share Posted December 3, 2010 I've been getting this error message: Trying to get property of non-object in /application/controllers/index.php on line 37 Here is line 37 $this->view->title = $pageInfo[0]->title; any help would be much appreciated. Quote Link to comment https://forums.phpfreaks.com/topic/220521-trying-to-get-property-of-non-object/ Share on other sites More sharing options...
trq Posted December 3, 2010 Share Posted December 3, 2010 Either view or $pageInfo[0] are not objects. Quote Link to comment https://forums.phpfreaks.com/topic/220521-trying-to-get-property-of-non-object/#findComment-1142434 Share on other sites More sharing options...
Dawx Posted December 3, 2010 Author Share Posted December 3, 2010 Could you possibly tell me how to fix this? I'm not the best at php. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/220521-trying-to-get-property-of-non-object/#findComment-1142549 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.