<b>Background of the issue: </b>
We are trying to install WPML but without success so far. When reaching the end of the setup wizard, we cannot proceed beyond the seventh, final step ("Finished"). The "Go to Translation Dashboard" button is unclickable, and the "WPML → Languages" link goes to a page with the message, "Sorry, you are not allowed to access this page." In troubleshooting the issue, we have checked/attempted the following notable actions to no avail:
NOTE: Although MySQL is 5.5 instead of 5.6 according to the debug information, we are using MariaDB 10.3.17.
<b>Symptoms: </b>
The "Go to Translation Dashboard" button is unclickable, and the "WPML → Languages" link goes to a page with the message, "Sorry, you are not allowed to access this page."
Thanks for contacting us. This sounds like some sort of permission issue. I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.
Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.
Your upcoming reply will be treated with confidentiality and will only be visible to you and me.
✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.
Thank you for your reply. I can see a 500 error on the setup page, as shown in the attached screenshot.
Could you please share your FTP access details here so I can check the debug log? For your reference, this article explains the steps I’ll be taking on your site: https://wpml.org/documentation/support/debugging-wpml/
Thanks, Kor! I'm going to reach out to the hosting provider and get them to forward FTP access details to me so that I can drop them in here once received. Stay tuned!
I now have the FTP details to pass along, but I'm not sure how to post a private message without being prompted to like last time when I gave the WP-Admin details.
Thank you for your reply. I only see this specific error below in the debug log, and it doesn't appear to be related to the issue. However, I recommend sharing it with your hosting provider for further review. Additionally, please ask them to check if services like ModSecurity might be blocking WPML’s AJAX requests, and have them investigate any potential blocked AJAX activity.
[10-Jun-2025 07:28:40 UTC] PHP Fatal error: Cannot redeclare wp_cache_switch_to_blog() (previously declared in /var/newrelic/wordpress/object-cache.php:20) in /var/newrelic/wordpress/object-cache.php on line 20
If the issue continues and your hosting provider is unable to assist, please let me know and I’ll escalate this to our 2nd Tier Support for further investigation.
Thanks for your reply. It's not fixed when I checked. I'll need to escalate this to our 2nd Tier Support for further investigation. I will come back to you once I've received feedback.
Thanks for your patience. Our 2nd Tier Support checked and they found out this error below in the debug log.
[13-Jun-2025 08:09:33 UTC] PHP Fatal error: Cannot redeclare wp_cache_switch_to_blog() (previously declared in /var/newrelic/wordpress/object-cache.php:20) in /var/newrelic/wordpress/object-cache.php on line 20
Could you please contact your hosting provider and ask them to disable server cache and the drop-in object-cache.php ? Let us know how it goes.