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

Documentation error for installation in AppKernel.php: #354

Closed
linuxatico opened this issue Jan 9, 2014 · 1 comment
Closed

Documentation error for installation in AppKernel.php: #354

linuxatico opened this issue Jan 9, 2014 · 1 comment

Comments

@linuxatico
Copy link

In the documentation at http://jmsyst.com/bundles/JMSSerializerBundle#installation I found that my Symfony 2.3 installation needs in AppKernel.php

new JMS\SerializerBundle\JMSSerializerBundle($this)

instead of

new JMS\SerializerBundle\JMSSerializerBundle()

because I get the following error:

ContextErrorException: Catchable Fatal Error: Argument 1 passed to JMS\SerializerBundle\JMSSerializerBundle::__construct() must implement interface Symfony\Component\HttpKernel\KernelInterface, none given

@goetas
Copy link
Collaborator

goetas commented Jan 20, 2017

Sorry for the long feedback loop. This issue is probably already solved.
(if not feel free to re open the issue or to comment here)

Thanks

@goetas goetas closed this as completed Jan 20, 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