This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is unable to complete the WPML setup wizard and encounters an error message: 'Sorry, you are not allowed to access this page.' This issue may be related to insufficient WP memory limit or a plugin compatibility issue.
Solution:
1. Increase the WP memory limit by adding the following lines to your wp-config.php file:
/* WP Memory Limit */<br />define('WP_MEMORY_LIMIT', '256M');<br />define('WP_MAX_MEMORY_LIMIT', '256M');
Place it just before:
/* That's all, stop editing! Happy blogging. */
If your hosting provider limits these settings, contact them to request an increase.
2. To test for a plugin compatibility issue:
- Create a full website backup.
- Disable all plugins except WPML and its add-ons.
- Check if the issue persists.
- If not, reactivate your plugins one by one to identify the problematic plugin.
- If the issue still occurs with only WPML active, switch to a default theme like TwentySeventeen and test again.
Perform these steps preferably in a staging environment. Verify the changes on the WPML >> Support page.
If these steps do not resolve your issue or if the solution seems outdated or irrelevant, we recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket.
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.
This topic contains 1 reply, has 2 voices.
Last updated by 11 months ago.
Assisted by: Mihai Apetrei.