0

I am getting this below error when doing the actions of clearing cache, or install/uninstall module, running update.php.

InvalidArgumentException: Routing requirement for "_user_is_logged_in" must be a string. in Symfony\Component\Routing\Route->sanitizeRequirement()

Can you please help on this?

  • 3
    You have to check *.routing.yml of all installed modules for this invalid argument. – 4k4 Jan 13 at 7:20
  • 1
    Has to be like _user_is_logged_in: 'TRUE' - TRUE is a string :-) in the routing.ymls – Rainer Feike Jan 13 at 9:44
  • Thanks both of you. let me check – logeshvaran Jan 13 at 9:56
  • I fixed this issue in routing.yml. Thank you both. – logeshvaran Jan 15 at 6:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.