当我尝试资产转储php app / console assetic:dump --env = prod时,我得到了错误
[Symfony\Component\Debug\Exception\ClassNotFoundException]
Attempted to load class "Twig_Filter_Method" from the global namespace.
Did you forget a "use" statement?
在浏览器中运行我的项目显示错误如: -
ClassNotFoundException in BootstrapIconExtension.php line 51:
Attempted to load class "Twig_Filter_Method" from the global namespace.
Did you forget a "use" statement?
任何人有任何建议请告诉我..
我遇到过同样的问题;对我而言,它与我正在使用的liip imag捆绑版本有关。我已经改变了那个版本并且运行顺利