java.lang.IllegalStateException at com.caucho.quercus.env.MethodMap.get(MethodMap.java:143) at com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:768) at com.caucho.quercus.env.Value.callMethod(Value.java:1527) at com.caucho.quercus.expr.ObjectMethodVarExpr.eval(ObjectMethodVarExpr.java:113) at com.caucho.quercus.expr.Expr.evalCopy(Expr.java:497) at com.caucho.quercus.expr.BinaryAssignExpr.eval(BinaryAssignExpr.java:88) at com.caucho.quercus.expr.Expr.evalTop(Expr.java:523) at com.caucho.quercus.statement.ExprStatement.execute(ExprStatement.java:67) at com.caucho.quercus.statement.BlockStatement.execute(BlockStatement.java:105) at com.caucho.quercus.statement.IfStatement.execute(IfStatement.java:84) at com.caucho.quercus.statement.IfStatement.execute(IfStatement.java:87) at com.caucho.quercus.statement.BlockStatement.execute(BlockStatement.java:105) at com.caucho.quercus.statement.IfStatement.execute(IfStatement.java:84) at com.caucho.quercus.statement.IfStatement.execute(IfStatement.java:84) at com.caucho.quercus.statement.BlockStatement.execute(BlockStatement.java:105) at com.caucho.quercus.statement.IfStatement.execute(IfStatement.java:84) at com.caucho.quercus.statement.BlockStatement.execute(BlockStatement.java:105) at com.caucho.quercus.statement.IfStatement.execute(IfStatement.java:84) at com.caucho.quercus.statement.BlockStatement.execute(BlockStatement.java:105) at com.caucho.quercus.statement.IfStatement.execute(IfStatement.java:87) at com.caucho.quercus.statement.IfStatement.execute(IfStatement.java:87) at com.caucho.quercus.statement.BlockStatement.execute(BlockStatement.java:105) at com.caucho.quercus.statement.ForeachStatement.execute(ForeachStatement.java:103) at com.caucho.quercus.statement.BlockStatement.execute(BlockStatement.java:105) at com.caucho.quercus.program.Function.callImpl(Function.java:433) at com.caucho.quercus.program.Function.callMethod(Function.java:469) at com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:770) at com.caucho.quercus.expr.AbstractMethodExpr.eval(AbstractMethodExpr.java:97) at com.caucho.quercus.expr.ObjectMethodExpr.eval(ObjectMethodExpr.java:97) at com.caucho.quercus.expr.Expr.evalValue(Expr.java:469) at com.caucho.quercus.statement.ReturnStatement.execute(ReturnStatement.java:69) at com.caucho.quercus.program.Function.callImpl(Function.java:433) at com.caucho.quercus.program.Function.callMethod(Function.java:469) at com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:770) at com.caucho.quercus.expr.AbstractMethodExpr.eval(AbstractMethodExpr.java:97) at com.caucho.quercus.expr.ObjectMethodExpr.eval(ObjectMethodExpr.java:97) at com.caucho.quercus.expr.AbstractMethodExpr.evalCopy(AbstractMethodExpr.java:63) at com.caucho.quercus.expr.BinaryAssignExpr.eval(BinaryAssignExpr.java:88) at com.caucho.quercus.expr.Expr.evalTop(Expr.java:523) at com.caucho.quercus.statement.ExprStatement.execute(ExprStatement.java:67) at com.caucho.quercus.statement.IfStatement.execute(IfStatement.java:84) at com.caucho.quercus.statement.BlockStatement.execute(BlockStatement.java:105) at com.caucho.quercus.program.Function.callImpl(Function.java:433) at com.caucho.quercus.program.Function.callMethod(Function.java:469) at com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:770) at com.caucho.quercus.expr.AbstractMethodExpr.eval(AbstractMethodExpr.java:97) at com.caucho.quercus.expr.ObjectMethodExpr.eval(ObjectMethodExpr.java:97) at com.caucho.quercus.expr.Expr.evalValue(Expr.java:469) at com.caucho.quercus.statement.ReturnStatement.execute(ReturnStatement.java:69) at com.caucho.quercus.statement.IfStatement.execute(IfStatement.java:87) at com.caucho.quercus.statement.BlockStatement.execute(BlockStatement.java:105) at com.caucho.quercus.program.Function.callImpl(Function.java:433) at com.caucho.quercus.program.Function.callMethod(Function.java:469) at com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:770) at com.caucho.quercus.expr.AbstractMethodExpr.eval(AbstractMethodExpr.java:97) at com.caucho.quercus.expr.ObjectMethodExpr.eval(ObjectMethodExpr.java:97) at com.caucho.quercus.expr.AbstractMethodExpr.evalCopy(AbstractMethodExpr.java:63) at com.caucho.quercus.expr.BinaryAssignExpr.eval(BinaryAssignExpr.java:88) at com.caucho.quercus.expr.Expr.evalTop(Expr.java:523) at com.caucho.quercus.statement.ExprStatement.execute(ExprStatement.java:67) at com.caucho.quercus.statement.BlockStatement.execute(BlockStatement.java:105) at com.caucho.quercus.program.Function.callImpl(Function.java:433) at com.caucho.quercus.program.Function.call(Function.java:349) at com.caucho.quercus.expr.CallExpr.evalImpl(CallExpr.java:237) at com.caucho.quercus.expr.CallExpr.evalCopy(CallExpr.java:164) at com.caucho.quercus.expr.BinaryAssignExpr.eval(BinaryAssignExpr.java:88) at com.caucho.quercus.expr.Expr.evalTop(Expr.java:523) at com.caucho.quercus.statement.ExprStatement.execute(ExprStatement.java:67) at com.caucho.quercus.statement.BlockStatement.execute(BlockStatement.java:105) at com.caucho.quercus.statement.IfStatement.execute(IfStatement.java:84) at com.caucho.quercus.statement.IfStatement.execute(IfStatement.java:87) at com.caucho.quercus.statement.BlockStatement.execute(BlockStatement.java:105) at com.caucho.quercus.statement.IfStatement.execute(IfStatement.java:84) at com.caucho.quercus.statement.BlockStatement.execute(BlockStatement.java:105) at com.caucho.quercus.program.QuercusProgram.execute(QuercusProgram.java:412) at com.caucho.quercus.page.InterpretedPage.execute(InterpretedPage.java:89) at com.caucho.quercus.env.Env.executePageTop(Env.java:3907) at com.caucho.quercus.env.Env.executeTop(Env.java:3848) at com.caucho.quercus.servlet.QuercusServletImpl.service(QuercusServletImpl.java:188) at com.caucho.quercus.servlet.QuercusServlet.service(QuercusServlet.java:592) at javax.servlet.http.HttpServlet.service(HttpServlet.java:96) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:109) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:183) at com.caucho.server.webapp.AccessLogFilterChain.doFilter(AccessLogFilterChain.java:92) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:286) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:789) at com.caucho.network.listen.TcpSocketLink.dispatchRequest(TcpSocketLink.java:662) at com.caucho.network.listen.TcpSocketLink.handleRequestsImpl(TcpSocketLink.java:625) at com.caucho.network.listen.TcpSocketLink.handleRequests(TcpSocketLink.java:576) at com.caucho.network.listen.TcpSocketLink$AcceptTask.doTask(TcpSocketLink.java:1157) at com.caucho.network.listen.TcpSocketLink$ConnectionReadTask.runThread(TcpSocketLink.java:1092) at com.caucho.network.listen.TcpSocketLink$AcceptTask.run(TcpSocketLink.java:1124) at com.caucho.env.thread.ResinThread.runTasks(ResinThread.java:169) at com.caucho.env.thread.ResinThread.run(ResinThread.java:126)