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

Error while trying to add plugin #1806

Closed
ariko861 opened this issue Jan 11, 2020 · 4 comments
Closed

Error while trying to add plugin #1806

ariko861 opened this issue Jan 11, 2020 · 4 comments

Comments

@ariko861
Copy link

ariko861 commented Jan 11, 2020

In the plugin admin section, when I click on "add" to search for new plugin, I get this error :

 Twig \ Error \ RuntimeError
An exception has been thrown during the rendering of a template ("RocketTheme\Toolbox\Blueprints\BlueprintForm::doLoad(): Parameter #1 does not contain array of filenames").
@pseudorandomnumber
Copy link

pseudorandomnumber commented Jan 11, 2020

I have the same. The file with the error seems to be: WEBROOT/user/plugins/admin/themes/grav/templates/partials/plugins-list.html.twig

edit:
for a quick fix, I commented out the line 18 in the file so it reads:
{# {% set data = admin.data('plugins/' ~ slug) %} #}

@mahagr
Copy link
Member

mahagr commented Jan 13, 2020

This has been fixed for the next RC.4

@Kobraz
Copy link

Kobraz commented Jan 15, 2020

I installed today and I have the same problem...

When will RC4 become awailable?

How do I update GravCMS? Do I have to download and install again?

@pd-giz-dave
Copy link

pd-giz-dave commented Jan 27, 2020

For the record this is the fix I used in rc3:

{% if not installing %}
            {% set data = admin.data('plugins/' ~ slug) %}  {#27/01/20 DCN: This goes bang when installing#}
 {% else %}
            {% set data = {enabled: false} %}               {#27/01/20 DCN: Irrelevant when installng#}
 {% endif %}

At lines 18..22 in:

user/plugins/admin/themes/grav/templates/partials/plugins-list.htm.twig

To be clear: this is a fix I applied to RC3 for myself, it is not in RC3 itself.

@mahagr mahagr added the fixed label Jan 29, 2020
@mahagr mahagr closed this as completed Feb 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants