我想學習如何使用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