I'm running the latest version of EE (v5) but when trying to login to the control panel, I keep getting a form expired message - "Error: This form has expired. Please refresh and try again."

This is happening on all computers and all browsers apart from my work computer. That's the only one I can still login on.

Any ideas on how to solve this issue would be hugely appreciated as we're putting this website live in a week's time! Cheers in advance!


Did you recently move this from a temporary or staging environment?

When I have run into this, it is down to the existing cookies from a previous login interfering with new ones.

Try setting the control panel to 'Session ID only' and see if that helps to get you logged-in.

Failing that you could try adding this to your config:

$config['disable_csrf_protection'] = "y";

But remove it once you can login again as you don't want to leave csrf_protection switched off

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.