Closed vasilvestre closed 9 months ago
Hi @vasilvestre!
This error is not related to the Search plugin, nor is it totally related to the Settings plugin…
You have overridden the template to add {{ sylius_template_event([event_prefix ~ '.buttons'...
, except that this template can be used without the variable being defined.
For example, you should get the same error if you try to edit the addresses of an order (example: /admin/orders/XXX/edit
).
One solution would be to define a default value just in case:
{{ sylius_template_event([event_prefix|default('global' ~ '.buttons'...
I guess a coffee was required
Sorry for the noise 😅
you will buy me a beer during the afup day 🍻 ;)
When rendering admin settings and opening SyliusSearchPlugin, a template miss a variable.
Versions