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

Plugin install via Admin Panel seems to crash #17

Open
paulhibbitts opened this issue May 6, 2016 · 4 comments
Open

Plugin install via Admin Panel seems to crash #17

paulhibbitts opened this issue May 6, 2016 · 4 comments
Labels

Comments

@paulhibbitts
Copy link

I am running the most recent stable release of Grav, and when I try to install MediaEmbed via the Admin Panel I get this Twig error:

Twig_Error_Runtime
An exception has been thrown during the rendering of a template ("Array to string conversion") in "forms/fields/toggle/toggle.html.twig" at line 46.

Happy to test any possible fixes, etc.

Thanks very much,
Paul

@Sommerregen
Copy link
Owner

Hi @paulhibbitts,

that seems to be related with #13 . However I don't understand, what is actually going on. Currently I'm on my way to set up a machine with the latest Grav + Admin to test it.

@paulhibbitts
Copy link
Author

Thanks so much for taking a look into it Benny!

@tdulieu
Copy link

tdulieu commented Jul 24, 2016

Hi @Sommerregen and @paulhibbitts

This issue seems to be related to the way services are named in blueprints.yaml. For example services.SoundCloud crashes the Admin panel, but services.soundcloud doesn't. For some reason uppercase letters should be totally avoided.

Changing all services names to lowercase in blueprints.yaml fixed the bug for me on Grav 1.1.1 + Admin 1.1.2

@ghost
Copy link

ghost commented Nov 11, 2016

I also ran into this issue today. Grav v1.1.8 Admin v1.2.4 and tried to install MediaEmbed v1.2.0. I also posted this in the Grav forum

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants