Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error View::create #365

Closed
ch1986 opened this issue Feb 14, 2014 · 1 comment
Closed

Error View::create #365

ch1986 opened this issue Feb 14, 2014 · 1 comment

Comments

@ch1986
Copy link

ch1986 commented Feb 14, 2014

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.

@goetas
Copy link
Collaborator

goetas commented Apr 3, 2017

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

@goetas goetas closed this as completed Apr 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants