skip to Main Content

I’ve upgraded to new version of twig/twig 3.x.x. As of twig version 3.0 Twig_Extension is deprecated. So I’m getting next with "whiteoctober/breadcrumbs-bundle"

!!  In BreadcrumbsExtension.php line 12:
!!                                                                         
!!    Attempted to load class "Twig_Extension" from the global namespace.  
!!    Did you forget a "use" statement?                                    

Any suggestion how to fix this?

2

Answers


  1. Unfortunately https://github.com/whiteoctober/BreadcrumbsBundle is not maintained anymore for Symfony upper 4.3.
    Look at fork https://github.com/mhujer/BreadcrumbsBundle.

    Login or Signup to reply.
  2. We’ve checked https://github.com/mhujer/BreadcrumbsBundle and it does works.
    There is still the same limitation that you cannot use HTML code in the breadcrumb. Only by overwriting the twig file.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search