This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is experiencing an issue where a red WPML error appears stating 'max_questions resource exceeded' when trying to save CSS customizations in the Total theme's 'Custom CSS' panel. This error includes a stack trace indicating issues with database queries related to language settings.
Solution:
If you're encountering this issue, we recommend following these steps:
1) Ensure you have a full site backup before proceeding.
2) Upgrade your WordPress to the latest version, currently 6.8.1.
3) Update WPML to the latest version, which is 4.7.6. You might need to check for updates manually in the Plugins>>Add New>>Commercial tab.
4) Increase the 'MaxInputVars' setting in your PHP configuration to '10000'. For guidance on how to do this, please refer to this article.
If these steps do not resolve the issue or if the solution seems outdated or irrelevant to your case, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. We highly recommend opening a new support ticket for further assistance at WPML support forum.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.