JMSJobQueueBundle icon indicating copy to clipboard operation
JMSJobQueueBundle copied to clipboard

Attempted to load class "Twig_Extension" from the global namespace. Did you forget a "use" statement?

Open curtchan opened this issue 6 years ago • 2 comments

Attempted to load class "Twig_Extension" from the global namespace.
Did you forget a "use" statement?

Fails with Twig 2.*

As hotfix you can create empty class and register it with same service name

jms_job_queue.twig.extension:
        class: App\Twig\JobQueueExtension

(note) this hotfix will let the app work, but surely it will make bundle templates throw exceptions due to missing twig functions/filters

curtchan avatar Apr 14 '20 13:04 curtchan

Created pull request #243 to fix it

DGCarramona avatar Apr 28 '20 12:04 DGCarramona

up

inmarelibero avatar Oct 26 '20 10:10 inmarelibero