On Fri, 25 Sep 2009, DEEPAK BHATIA wrote:
> "Fatal Error: Call to a member function getEmpId() on a non-object in
> /opt/lampp/htdocs/crb/apps/tool/modules/book/actions/actions.class.php at
> line 2370 which is the highlighted pink line above.
>
> My opinion
> ========
> My point is that session between web browser and server has been broken
> hence the $this->getUser()->getAttribute('allnames'); is returning a null
> value but if it is null then we should get PropelException.
Yes, null is not an object :-)
You should always check that the object returned is not null *before*
trying to use it.
--
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---