What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hello guys, i get the following template error ```Template "@WebProfiler/Profiler/toolbar_js.html.tw

giovanni.piemontese
giovanni.piemontese Spryker Solution Partner Posts: 871 🧑🏻‍🚀 - Cadet

Hello guys, i get the following template error

Template "@WebProfiler/Profiler/toolbar_js.html.twig" is not defined (Spryker\Shared\Twig\TwigFilesystemLoader: Unable to find template "Profiler/toolbar_js.html.twig" (looked into: ).).

I use the latest docker instance. On Yves it works good.

Here the configuration in config_default-docker.php


The WebProfilerApplicationPlugin is correcty registered under \Pyz\Zed\Application\ApplicationDependencyProvider .

Maybe someone has the same problem?
Thank u in advance.

Comments

  • giovanni.piemontese
    giovanni.piemontese Spryker Solution Partner Posts: 871 🧑🏻‍🚀 - Cadet

    It was just a missing TwigPlugin registration under src/Pyz/Zed/Twig/TwigDependencyProvider.php.

    The WebProfilerTwigLoaderPlugin must be registered under \Pyz\Zed\Twig\TwigDependencyProvider::getTwigLoaderPlugins . Now it works!