This thread is resolved. Here is a description of the problem and solution.
Problem: You are experiencing a recurring issue with the WPML plugin where after translating pages and posts, the backend functionality of your site gets corrupted, and the file admin-ajax.php throws a 500 error. The error log indicates a fatal error related to a function call on a null object within the WPML plugin's code. Solution: We have identified that the issue might be related to the PHP version compatibility with WordPress. Currently, your site is running on PHP version 8.3, which has only Beta support in WordPress. We recommend switching to a stable and compatible PHP version, such as 7.4 or 8.0, to see if this resolves the issue. You can check the PHP compatibility details with WordPress at this link.
If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, please open a new support ticket. We also highly 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. For further assistance, you can contact us directly at WPML support forum.
0% of people find this useful.
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.
Good morning.
I am experiencing a recurring issue with the WPML plugin.
After finishing the pages and posts translation, the site gets corrupted in the backend functionality, as the file hidden link throws a 500 error.
Here are the details of the error.
Hi There,
Thanks for contacting WPML Support. Sorry for the delay in responding due to the weekend.
I understand the issue you're experiencing. Upon reviewing the WPML Debug info, I noticed that the site is currently running on PHP version 8.3. For your information, WordPress offers Beta support for PHP 8.2 and 8.3, while PHP 8.0 and 8.1 are marked as compatible, though exceptions may occur. You can view the PHP compatibility details with WordPress at this link.
Therefore, the issue you encountered could be related to PHP compatibility. Could you please switch to a stable and compatible version, such as PHP 7.4 or 8.0, and check if the issue persists?
Please let me know the update. I'll be happy to help if you need further assistance in this matter.
Thank you
Regards The issue has been resolved by wiping the data from every WPML table. Since the logs consistently relate to the file of the plugin that does the query, all I need to do is locate the record or table that is problematic.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.