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.
Tagged: Exception
This topic contains 5 replies, has 1 voice.
Last updated by alaidA 3 months, 1 week ago.
Assisted by: Otto.
Author | Posts |
---|---|
March 25, 2025 at 1:42 am #16854465 | |
alaidA |
Background of the issue: I tried deactivating all plugins and leaving only WPML active and the issue still occurs.. Symptoms: Questions: |
March 25, 2025 at 12:32 pm #16857559 | |
Andrey WPML Supporter since 06/2013 Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+03:00) |
While one of my teammates handles your ticket, I will provide you with initial debugging steps. The “500 error” means that there is an error in the PHP code that your site runs. When errors are not caught, the server stops everything and returns a page that says “500 error” or an empty page. Different servers are configured to display these errors slightly differently, but they all mean the same – there is an unhandled PHP error in the site’s code. First, you need to see what the errors are. Guessing what might be the problem and trying different solutions may lead to even more trouble. The first step is to enable debugging. You can add a few lines to the site’s wp-config.php file. With the error log enabled, you will see the actual problem. To enable it, open your wp-config.php file and look for define('WP_DEBUG', false);. Change it to: define('WP_DEBUG', true); To enable the error logging to a file on the server, you need to add yet one more similar line: define( 'WP_DEBUG_LOG', true ); The errors will be saved to a debug.log file inside the /wp-content/directory. https://wpml.org/documentation/support/debugging-wpml/ Let us know what you see after the debug mode has been enabled. |
March 25, 2025 at 11:10 pm #16860108 | |
alaidA |
Hi, After performing the recommended actions, the following error is displayed: [25-Mar-2025 23:02:44 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_requested_lang() on null in /home/premierm/public_html/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php:1134 As I mentioned before, the error occurs with the WPML Multilingual CMS plugin activated. |
March 26, 2025 at 9:27 pm #16865665 | |
Andrey WPML Supporter since 06/2013 Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+03:00) |
It seems that not all WPML plugins are being updated or that some files are missing. Please try updating them manually by following these steps: 1. Download the latest version of WPML from https://wpml.org/account/downloads/. If the issue persists, please explain why you need to access /wp-admin/admin-ajax.php directly. |
March 26, 2025 at 10:19 pm #16865723 | |
alaidA |
Hi, I already did all of this before creating the ticket, and it didn't solve anything. Please excuse me, I need someone else to handle this ticket to move forward. Don't insist. Thanks. |
March 27, 2025 at 2:25 pm #16868984 | |
Otto WPML Supporter since 09/2015
Languages: English (English ) Spanish (Español ) Timezone: America/Argentina/Buenos_Aires (GMT-03:00) |
Hello, Can you please update the theme Astra to the version 4.9.1 (if fixes a critical issue: hidden link) Is it possible for you to do this test to check for compatibility issues? If it's not possible, can you allow me to access the site admin? I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. The information you will enter is private which means only you and I can see and have access to it. **IMPORTANT** Best Regards, |
March 27, 2025 at 3:34 pm #16869446 | |
alaidA |
Hi, The plugin that was causing this and other conflict is Query Monitor which was activated. Thanks. |