Problem: The client encountered an error stating 'There was an error processing your order. Please check for any charges in your payment method and review your order history before placing the order again.' This issue was due to not meeting the minimum server requirements for WPML. Solution: We recommended increasing the WordPress memory limit to at least 256 MB, as WPML requires a minimum of 128 MB. The client's current WordPress memory limit was only 40 MB, despite having a PHP memory limit of 1024 MB. To resolve this, the client needed to: 1. Connect to their website's server and open the
wp-config.php
file located in the WordPress root directory. 2. Add the following line of code to increase the memory limit:
define('WP_MEMORY_LIMIT', '256M');
This code should be added just before the comment:
// That's all, stop editing! Happy blogging.
3. Check the current values under WPML > Support > WordPress. If the hosting provider restricts these settings, we advised contacting them to make the necessary changes. Additionally, we suggested clearing the site's cache and temporarily deactivating any snippets in WPCode Lite for testing purposes. If these steps do not resolve the issue, we recommend visiting our known issues page and verifying the version of the permanent fix. Ensure that the latest versions of themes and plugins are installed. If the problem persists, please open a new support ticket.