1

Getting the error...

invalid form key. please refresh the page

when creating a new user. Even after following these steps.

I set in file php.ini variable max_input_vars increase it to 10000 through. Than cleared var/cache.

Still the customer is not able to create a new account or post the form. Does anyone know how to solve it ? Thanks in advance.

9
  • check you console and let me know the error no for certain request
    – Waqar Ali
    Commented Oct 24, 2019 at 12:39
  • The console is clear. but the page after submission displays error and the page keeps reloading. Invalid Form Key. Please refresh the page. Also this is when create account.
    – Garry
    Commented Oct 24, 2019 at 12:55
  • frontend or backend?
    – Waqar Ali
    Commented Oct 24, 2019 at 12:59
  • ibb.co/HFhVvhs front-end
    – Garry
    Commented Oct 24, 2019 at 13:01
  • Can you reset the URL to magento store root Ex: <host>/Magento/customer/account/create/ and try. Some time the key may be expired if you try refresh the same URL it will throw this exception. Commented Oct 24, 2019 at 13:05

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.