You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I have a problem when i try to return an array using the method View::create.
For example:
$em = $this->getDoctrine()->getManager();
$users = $em->getRepository('RestRestBundle:User')->findAll();
return View::create($users, 200);
Warning: json_encode(): recursion detected
Thanks.
The text was updated successfully, but these errors were encountered:
closing,
sorry for the incredibly long feedback loop (almost 4 years). the issue seems to be solved long time ago. do not hesitate to re open a new issue if the problem persists
Hello,
I have a problem when i try to return an array using the method View::create.
For example:
$em = $this->getDoctrine()->getManager();
$users = $em->getRepository('RestRestBundle:User')->findAll();
return View::create($users, 200);
Warning: json_encode(): recursion detected
Thanks.
The text was updated successfully, but these errors were encountered: