Introduction
If you encounter the error message ‘Unable to save address, please check input data’ while trying to checkout in Magento 2, it may be related to a PHP setting in Plesk. This post will guide you on how to resolve this issue.
Error Description
During the checkout process, Magento 2 may display the error message ‘Unable to save address, please check input data’. This issue is often linked to PHP configuration settings in Plesk.
Solution
To fix this error, you need to adjust a specific PHP setting in Plesk. For detailed information, refer to the solution provided in this GitHub issue comment.
Step-by-Step Guide
1. Access Plesk
Log in to your Plesk control panel.
2. Navigate to PHP Settings
Go to Websites & Domains > PHP Settings for your Magento 2 domain.
3. Update PHP Settings
Check the following settings and update them if necessary:
- max_input_vars: Increase this value to a higher number, such as
5000
or more.
4. Save Changes
Click OK or Apply to save the changes.
5. Clear Magento Cache
After updating the PHP settings, clear the Magento cache:
- Go to System > Cache Management in the Magento admin panel.
- Select all cache types and click Flush Magento Cache.
Conclusion
By adjusting the PHP settings in Plesk, you should be able to resolve the “Unable to save address” error and complete the checkout process in Magento 2 successfully.
Further Assistance
If you continue to experience issues or have any questions, please leave a comment below or reach out for additional support.