{"id":5664,"date":"2014-04-04T15:41:29","date_gmt":"2014-04-04T15:41:29","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/04\/problem-about-sonata-admin-collection-of-common-programming-errors\/"},"modified":"2014-04-04T15:41:29","modified_gmt":"2014-04-04T15:41:29","slug":"problem-about-sonata-admin-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/04\/problem-about-sonata-admin-collection-of-common-programming-errors\/","title":{"rendered":"problem about sonata-admin-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/bb79b3c75aae4ce3ed54b291b77ad1cb?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nuser1150508<br \/>\nsymfony2 sonata-admin symfony-sonata<br \/>\nI have opened an issue here for my problem. The problem is basically that I can not show embed arrays or collections when listing, editing or adding user. When using SonataDoctrineORMAdminBundle there is no such problem. I could not find a good documentation to install SonataDoctrineMongoDBAdminBundle. How can I install SonataDoctrineMongoDBAdminBundle and use it without any crash?<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/b6116ac3c4b5835c6745570ea73a85c1?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nCharles<br \/>\nphp doctrine symfony-2.1 sonata-admin<br \/>\nI have been trying to setup Sonata Admin with Symfony-CMF for my project, and i have some errors when i trying to add menu item. How to fix this?Error:The class &#8216;Symfony\\Cmf\\Bundle\\MenuBundle\\Document\\MenuItem&#8217; was not found in the chain configured namespaces Doctrine\\ODM\\PHPCR\\DocumentLogs:DEBUG &#8211; Notified event &#8220;kernel.request&#8221; to listener &#8220;Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener::onKernelRequest&#8221;. DEBUG &#8211; Notified event &#8220;kernel.request&#8221; to listener &#8220;Symfony\\Bundle\\Framewo<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/bLYjW.jpg?s=32&amp;g=1\" \/><br \/>\nlikeitlikeit<br \/>\nsymfony2 routing fosuserbundle symfony-sonata sonata-admin<br \/>\nI&#8217;ve followed the official doc to install the FOS User bundle for symfony 2, but at the very end, when I need to specify the routes :# app\/config\/routing.yml fos_user_security:resource: &#8220;@FOSUserBundle\/Resources\/config\/routing\/security.xml&#8221;fos_user_profile:resource: &#8220;@FOSUserBundle\/Resources\/config\/routing\/profile.xml&#8221;prefix: \/profilefos_user_register:resource: &#8220;@FOSUserBundle\/Resources\/config\/routing\/registration.xml&#8221;prefix: \/registerfos_user_resetting:resource: &#8220;@FOSUserBundle\/Resources\/config<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/a188d4bc26119b3994e1b8922362dc26?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nRobMasters<br \/>\nphp symfony2 sonata-admin<br \/>\nI&#8217;m hoping somebody will be able to shed some light on this problem &#8211; unfortunately I&#8217;m not able to provide too much to work from as I don&#8217;t know what&#8217;s going wrong.Basically, when I&#8217;m uploading JPEG images that are only about 300kb in size the page will hang and say something like &#8220;uploading 11%&#8221; in the status bar. Shortly afterwards, I&#8217;ll get the following CRITICAL error appearing in my logs:[2013-01-28 10:15:50] request.CRITICAL: Symfony\\Component\\HttpFoundation\\File\\Exception\\FileNotFoundExc<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/1aaafb1f68ad0d59332b6f92c29f6929?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nstefun<br \/>\nvalidation symfony2 fosuserbundle sonata-admin<br \/>\nI&#8217;m implementing an application which needs CRUD functionality using SonataAdminBundle+SonatUserBundle+FOSUserbundle. Integration of bundle done successfully and login thing works fine. I manage to get change password form and resetting password form from FOSUserBundle. Now while submitting any of these form I&#8217;ll get error likeFatal error: Call to undefined method Symfony\\Component\\Validator\\ExecutionContext::setCurrentProperty() in \/vendor\/symfony\/src\/Symfony\/Component\/Form\/Extension\/Validator\/<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/graph.facebook.com\/1592808864\/picture?type=large\" \/><br \/>\ndeepak<br \/>\nphp doctrine2 symfony-2.1 sonata-admin<br \/>\nI just upgraded my symfony2.1.6 to Symfony2.1.7 and bumped in to this issue. Please let me know I can provide more details. It was fine with 2.1.6 but does not seem to work in 2.1.7.This error comes when I try to access Customer.php Entity (customer listing)Notice: Undefined index: _per_page in \/var\/www\/playground\/vendor\/sonata-project\/admin-bundle\/Sonata\/AdminBundle\/Admin\/Admin.php line 720<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/ec7f6c190bea501e47a04de172023b96?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\npuntotuning<br \/>\nsymfony-2.1 fosuserbundle sonata-admin knpmenubundle<br \/>\nI&#8217;m following this tutorial http:\/\/tech.dupeu.pl\/2012\/10\/getting-started-with-symfony-2-1-fosuserbundle-sonatauserbundle-and-sonataadminbundle\/#respond to install the sonata admin bundle for symfony2.1(i&#8217;m currently using symfony2.1.7). Everything is working perfectly but when i click on the &#8220;List&#8221; button once logged in, i get a fatal error: Fatal error: Call to undefined method Knp\\Menu\\MenuItem::setCurrentUri() in \/Users\/salvatore\/Documents\/workspace\/mysite\/vendor\/sonata-project\/admin-bundle\/S<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>user1150508 symfony2 sonata-admin symfony-sonata I have opened an issue here for my problem. The problem is basically that I can not show embed arrays or collections when listing, editing or adding user. When using SonataDoctrineORMAdminBundle there is no such problem. I could not find a good documentation to install SonataDoctrineMongoDBAdminBundle. How can I install SonataDoctrineMongoDBAdminBundle [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5664","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5664","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=5664"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5664\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=5664"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=5664"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=5664"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}