Whenever adding new users or editing, updating the products in frontend shows the error Invalid Form Key. Please refresh the page.

*I increased the value of input_max_var but still it showing the error often. Is I need to increase the values for max_input_time and max_execution_time too? Between the site is slow. Will the slow loading cause such issues? *

It also displaying the alert messages lately after saving the product or creating users.

What is the solution?

Kindly help me.


I solved this issue by adding reference container content in the layout.xml file.

  • regarding to this screenshot prnt.sc/papfqq you have use any custom discount amount and check your sales_order page both frontend and backend then let me know there also order total show as '0' – Divya Sekar Sep 25 '19 at 9:42
  • Are you override any Magento sales order totals block – Divya Sekar Sep 25 '19 at 9:49

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.