FOSCommentBundle icon indicating copy to clipboard operation
FOSCommentBundle copied to clipboard

Symfony/Component/FormRegistry incompatibility

Open rubiodamian opened this issue 8 years ago • 1 comments

i got this error:

An exception has been thrown during the rendering of a template ("Warning: Missing argument 1 for FOS\CommentBundle\Form\CommentType::__construct(), called in /vendor/symfony/symfony/src/Symfony/Component/Form/FormRegistry.php on line 90 and defined").

So i followed it and it seems to be a problem with FormRegistry and FOS\CommentBundle\Form\CommentType::__construct() This contruct need a param named "$commentClass" and FormFactory creates this form here with no params at all. I do not know why this error started, because everything worked well until a month ago

bundles info: name : friendsofsymfony/comment-bundle versions : * v2.0.9

name : symfony/symfony versions : * v2.8.15

rubiodamian avatar Dec 20 '16 19:12 rubiodamian

this is still there...

no fix for this?

rubiodamian avatar Oct 22 '18 19:10 rubiodamian