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
I was having a problem in the Sonata Dashboard, where the link to Add New Snapshot was giving me a Catchable Fatal Error with method setPage. I followed the issues #19 and #20, and added the commit 7afc50e, as directed.
Now every link in the Sonata Dashboard (User, Group, Page, Snapshot, with both Add New and List) all give the same error:
Catchable Fatal Error: Argument 1 passed to Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter::__construct() must be an instance of Doctrine\Common\Persistence\ManagerRegistry, instance of Symfony\Bundle\DoctrineBundle\Registry given, called in /Users/barry/Symfony/app/cache/dev/appDevDebugProjectContainer.php on line 1755 and defined in /Users/barry/Symfony/vendor/bundles/Sensio/Bundle/FrameworkExtraBundle/Request/ParamConverter/DoctrineParamConverter.php line 31
The error as shown on the log is:
ErrorException: Catchable Fatal Error: Argument 1 passed to Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter::__construct() must be an instance of Doctrine\Common\Persistence\ManagerRegistry, instance of Symfony\Bundle\DoctrineBundle\Registry given, called in /Users/barry/Symfony/app/cache/dev/appDevDebugProjectContainer.php on line 1755 and defined in /Users/barry/Symfony/vendor/bundles/Sensio/Bundle/FrameworkExtraBundle/Request/ParamConverter/DoctrineParamConverter.php line 31 (uncaught exception) at /Users/barry/Symfony/vendor/symfony/src/Symfony/Component/HttpKernel/Debug/ErrorHandler.php line 65
Anybody know whats going on here?
Thanks in advance
Barry
The text was updated successfully, but these errors were encountered:
I have gone back to a backup of my Symfony installation, and reinstalled the SonataPageBundle, this time not using the commit from #19 and #20. I am now getting the original error, as before it is only when i click "Snapshot - Add New"
The error is:
Catchable Fatal Error: Argument 1 passed to Sonata\PageBundle\Model\Snapshot::setPage() must be an instance of Sonata\PageBundle\Model\PageInterface, null given, called in /Users/barry/Symfony/vendor/bundles/Sonata/PageBundle/Controller/SnapshotAdminController.php on line 38 and defined in /Users/barry/Symfony/vendor/bundles/Sonata/PageBundle/Model/Snapshot.php line 236
500 Internal Server Error - ErrorException
Hi
I was having a problem in the Sonata Dashboard, where the link to Add New Snapshot was giving me a Catchable Fatal Error with method setPage. I followed the issues #19 and #20, and added the commit 7afc50e, as directed.
Now every link in the Sonata Dashboard (User, Group, Page, Snapshot, with both Add New and List) all give the same error:
Catchable Fatal Error: Argument 1 passed to Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter::__construct() must be an instance of Doctrine\Common\Persistence\ManagerRegistry, instance of Symfony\Bundle\DoctrineBundle\Registry given, called in /Users/barry/Symfony/app/cache/dev/appDevDebugProjectContainer.php on line 1755 and defined in /Users/barry/Symfony/vendor/bundles/Sensio/Bundle/FrameworkExtraBundle/Request/ParamConverter/DoctrineParamConverter.php line 31
The error as shown on the log is:
ErrorException: Catchable Fatal Error: Argument 1 passed to Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter::__construct() must be an instance of Doctrine\Common\Persistence\ManagerRegistry, instance of Symfony\Bundle\DoctrineBundle\Registry given, called in /Users/barry/Symfony/app/cache/dev/appDevDebugProjectContainer.php on line 1755 and defined in /Users/barry/Symfony/vendor/bundles/Sensio/Bundle/FrameworkExtraBundle/Request/ParamConverter/DoctrineParamConverter.php line 31 (uncaught exception) at /Users/barry/Symfony/vendor/symfony/src/Symfony/Component/HttpKernel/Debug/ErrorHandler.php line 65
Anybody know whats going on here?
Thanks in advance
Barry
The text was updated successfully, but these errors were encountered: