我想学习如何使用symfony,但是在通过作曲家更新后出现此错误,我不明白如何解决它。通过使用作曲家更新后的小枝错误
Twig_Error_Syntax in classes.php line 5280:
An exception has been thrown during the compilation of a template ("Catchable Fatal Error: Argument 1 passed to Twig_Filter::__construct() must be an instance of string, string given, called in C:\wamp64\www\symfony\var\cache\dev\classes.php on line 5573 and defined") in "@Twig/Exception/exception_full.html.twig".
PHP -v:
PHP 7.0.10 (cli) (built: Aug 18 2016 09:48:53) (ZTS)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
如果有人能告诉我怎么做,我将不胜感激\ O/
谢谢!
我用这个CMD更新:
C:\wamp64\www\symfony>php ../composer.phar update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 2 installs, 10 updates, 0 removals
它的工作的感谢! – Jukess