-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Magento 2.3 Error: "Invalid Form Key. Please refresh the page." When creating Bundled Products #31209
Comments
Hi @mateuszrusiecki. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
For more details, please, review the Magento Contributor Assistant documentation. Please, add a comment to assign the issue:
🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket. 🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
Hello @mateuszrusiecki I Couldn't reproduce this issue on the latest 2.4-develop |
@Pavel-Fekete sorry, the issue appears when there is 30+ options. And turns out that this is max_input_vars related. I changed the value wrong - for cli instead of fpm. After increasing it to 10000 and restarting fpm it worked. But issue still persist. There "Invalid Form Key. Please refresh the page." message is useless, and debug log provide no informations whatsoever. So you can set max_input_vars to some low value like 100 and see the error. |
oh for fuck sake, now half of my options vanished after saving. This is so piece of shit... |
Besides changing max_input_vars, please try changing max_input_nesting_level and max_input_time as well to some higher values. Hope this will help Regards, |
Hi @engcom-Alfa. Thank you for working on this issue.
|
Hi @mateuszrusiecki. Thank you for your report! Manual testing scenario:
Actual Result: ✔️ Bundled product saved successfully. So, we have to close it. |
@engcom-Alfa I think I mentioned in few paces that I use 2.3 NOT 2.4 but whatever. Did you set max_input_vars=100? I pretty sure that it will fail wit only 100 |
Preconditions
Steps to reproduce
Expected result
Actual result
The text was updated successfully, but these errors were encountered: