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

The function "form_stylesheet" does not exist. Did you mean "summernote_form_stylesheet" #13

Open
iamromeo opened this issue Aug 8, 2015 · 2 comments

Comments

@iamromeo
Copy link

iamromeo commented Aug 8, 2015

I have used doctrine:generate:crud (symfony2 2.8.0-dev)
the form and its view literally untouched

And i got this error:
The function "form_stylesheet" does not exist. Did you mean "summernote_form_stylesheet" in SolilokiamSummernoteBundle:Form:summernotestylesheet.html.twig at line 4
500 Internal Server Error - Twig_Error_Syntax

@d3uter
Copy link
Contributor

d3uter commented Oct 9, 2015

I think, there is typo in twig form extension service name.
solilokiam/summernotebundle/Solilokiam/SummernoteBundle/Resources/config/services.xml
Now:

<service id="genemu.twig.extension.form" class="Solilokiam\SummernoteBundle\Twig\FormExtension">

Should be:

<service id="summernote.twig.extension.form" class="Solilokiam\SummernoteBundle\Twig\FormExtension">

@marcosrachid
Copy link

Any resolution for this problem ? I'm facing the same problem right now.

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

3 participants