Symfony 2.8 - Attempted to call an undefined method named "hasOneMandatoryArgument" of class "Twig_Function_Method"

254 views Asked by At

I updated PHP version 7.4.5 to 7.4.23 in Symfony 2.8 Framework.

After I am getting this error in Symfony vendor "/vendor/twig/twig/src/ExpressionParser.php" Please help me here. for more information you can see screenshots also.

Error [Symfony\Component\Debug\Exception\UndefinedMethodException]
Attempted to call an undefined method named "hasOneMandatoryArgument" of class "Twig_Function_Method".

enter image description here

$test->hasOneMandatoryArgument function call in vendor file(/vendor/twig/twig/src/ExpressionParser.php) enter image description here

0

There are 0 answers