php - Controller dispatch error in Zend framework 2 -


I am returning Jason reaction to Zend controller

this is my code < P> Controller code

  get public function () {$ result = // Calling respond to other functions and array prints ("Before calling Jason Model Value in controller "); Print_r ($ result); $ Temp = $ this- & gt; ToJsonModel ($ results); Var_dump ($ temp); Return $ temporary; {$ Data = array ()} {$ data ['requestId']   

toJsonModel function

  public function Jason Model = $ This- & gt; GetHeader ('RequestId'); Print ("before returning to the value controller"); Print_r ($ data); Return new JasonModal ($ data); }   

Feedback

Enter the image details here

The first and second print shows the correct value, but when I try to display the wrong value and "capture to", "termination" and "children" , Then after getting value from JasonModel.

I do not know why this is giving me wrong message.

Can someone guide me on the right path and tell me what is the problem?

Thanks in advance

Edit I'm adding a new screenshot to display the full message.

Error :

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -