Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Trying to get property of non-object

Try var_dump($this->container); and die();

If that's an object, try var_dump($this->container->view);, then die();

Basically, keep vardumping each step until you get to whatever is not an object. More often than nut something is null.
 
PREVIOUS NEXT
Tagged: #Trying #property
ADD COMMENT
Topic
Name
8+6 =