I recently updated from Twig v1.24.2 to Twig v1.26.0. Now, everytime I made a call to auth_user() in my Twig template, I am getting
An exception has been thrown during the compilation of a template ("Method Illuminate\Auth\AuthManager::user() does not exist")
Method Illuminate\Auth\AuthManager::user() does not exist (Twig/Node/Expression/Call.php line 262)
Digging, v1.26.0 introduced a reflectCallable method which does not exist in v1.24.2.
I tried calling new ReflectionMethod($callable[0], $callable[1]); alone and it produces the same error. However, call_user_func_array($callable); works.
I don't know where to submit this issue. Any suggestions on resolving this?
I recently updated from Twig
v1.24.2to Twigv1.26.0. Now, everytime I made a call toauth_user()in my Twig template, I am gettingDigging, v1.26.0 introduced a
reflectCallablemethod which does not exist in v1.24.2.I tried calling
new ReflectionMethod($callable[0], $callable[1]);alone and it produces the same error. However,call_user_func_array($callable);works.I don't know where to submit this issue. Any suggestions on resolving this?