« Return to Thread: How to resolve error : Left side ($menuCurrentPage) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible.

Re: How to resolve error : Left side ($menuCurrentPage) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible.

by Nathan Bubna :: Rate this Message:

Reply to Author | View in Thread

Yes, it is a Velocity message.  it means that in the template being
processed at that time, there is no value for th $menuCurrentPage
variable when it is being used in an #if( $menuCurrentPage ==
'something' ) comparison (or an #elseif).

On Sun, Apr 26, 2009 at 11:33 PM, RUPALI <r.gupta1@...> wrote:

> Hi,
>
>
>
> The problem I am facing is that occasionally Resourcenotfound/unable to
> parse file  error comes on the velocity pages which go on page refresh.
>
>
>
>
>
> The following error is shown in the server logs before the logging of
> resourcenotfound exception:
>
> Left side ($menuCurrentPage) of '==' operation has null value. If a
> reference, it may not be in the context. Operation not possible.
>
>
>
> Is something related to the velocity engine here?
>
> The problem is occurring right now only on staging site of my website, and
> thankfully is not on Live. But it is happening a lot of times on staging and
> is becoming troublesome
>
>
>
> Thanks,
>
> Rupali
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...

 « Return to Thread: How to resolve error : Left side ($menuCurrentPage) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible.