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: Language Redirection, Language URL
Related documentation:
This topic contains 28 replies, has 2 voices.
Last updated by Bigul 2 years, 3 months ago.
Assigned support staff: Bigul.
Author | Posts |
---|---|
August 28, 2018 at 1:30 pm #2682526 | |
benjaminS-17 |
All my French page are error 500. If i create a new one it's directly in error 500. But in english it's good. Link to a page where the issue can be seen: aroma-care.fr Help me please |
August 28, 2018 at 4:04 pm #2683457 | |
Bigul Supporter
Languages: English (English ) Timezone: Asia/Kolkata (GMT+05:30) |
Hello, Welcome to the WPML support forum. I will do my best to help you to resolve these issues. Please let me know the following details to track the issue. a) Have you made any changes to the website? Because the French pages are showing for me as expected now. Please check the attached images. b) To help you faster, I've enabled debug information for this support ticket. Please see this link for how to get this information from your site and give it to us: http://wpml.org/faq/provide-debug-information-faster-support/ c) Please share with me the WordPress debug.log (not WPML debug information). Please check this page for instructions https://wpml.org/documentation/support/debugging-wpml/ To enable it, open your wp-config.php file and look for define(‘WP_DEBUG’, false);. Change it to: // Enable WP_DEBUG mode define( 'WP_DEBUG', true ); // Enable Debug logging to the /wp-content/debug.log file define( 'WP_DEBUG_LOG', true ); // Disable display of errors and warnings define( 'WP_DEBUG_DISPLAY', false ); @ini_set( 'display_errors', 0 ); // Use dev versions of core JS and CSS files (only needed if you are modifying these core files) define( 'SCRIPT_DEBUG', true ); In this case, the errors will be saved to a debug.log log file inside the */wp-content/* directory. Please do the steps to reproduce the bug and check you are getting any errors or warning related to WPML in the log file. If you can paste your debug.log to http://pastebin.com/index.php and provide me that link it would be great! (This is the cleanest way because sometimes the logs are long and create a complete mess of discussion). -- Bigul |
September 5, 2018 at 6:49 am #2705680 | |
benjaminS-17 |
Hello, Thank you for your help. |
September 5, 2018 at 12:09 pm #2706761 | |
Bigul Supporter
Languages: English (English ) Timezone: Asia/Kolkata (GMT+05:30) |
Hello, Thank you for the feedback. Please share more details about the following for a better understanding. Every day when I come back to work the pages are no longer available as if the URL was corrupt If possible, please share with me the WordPress debug.log (not WPML debug information) for tracking the error. Please check this page for instructions https://wpml.org/documentation/support/debugging-wpml/ To enable it, open your wp-config.php file and look for define(‘WP_DEBUG’, false);. Change it to: // Enable WP_DEBUG mode define( 'WP_DEBUG', true ); // Enable Debug logging to the /wp-content/debug.log file define( 'WP_DEBUG_LOG', true ); // Disable display of errors and warnings define( 'WP_DEBUG_DISPLAY', false ); @ini_set( 'display_errors', 0 ); // Use dev versions of core JS and CSS files (only needed if you are modifying these core files) define( 'SCRIPT_DEBUG', true ); In this case, the errors will be saved to a debug.log log file inside the */wp-content/* directory. Please do the steps to reproduce the bug and check you are getting any errors or warning related to WPML in the log file. If you can paste your debug.log to http://pastebin.com/index.php and provide me that link it would be great! (This is the cleanest way because sometimes the logs are long and create a complete mess of discussion). -- Bigul |
September 5, 2018 at 12:44 pm #2707029 | |
benjaminS-17 |
Hello, |
September 5, 2018 at 1:23 pm #2707264 | |
benjaminS-17 |
This is the debug.log info : [05-Sep-2018 12:42:58 UTC] PHP Notice: is_404 est appelée de la mauvaise manière. Les balises de requête conditionnelle ne fonctionnent pas avant le lancement de la requête. Avant cela, elles renvoient toujours le booléen false . Veuillez lire <a href="https://codex.wordpress.org/fr:Débogage_dans_WordPress">Débogage dans WordPress</a> (en) pour plus d’informations. (Ce message a été ajouté à la version 3.1.0.) in /home/aromacarvs/v2/wp-includes/functions.php on line 4161 false . Veuillez lire <a href="https://codex.wordpress.org/fr:Débogage_dans_WordPress">Débogage dans WordPress</a> (en) pour plus d’informations. (Ce message a été ajouté à la version 3.1.0.) in /home/aromacarvs/v2/wp-includes/functions.php on line 4161 false . Veuillez lire <a href="https://codex.wordpress.org/fr:Débogage_dans_WordPress">Débogage dans WordPress</a> (en) pour plus d’informations. (Ce message a été ajouté à la version 3.1.0.) in /home/aromacarvs/v2/wp-includes/functions.php on line 4161 false . Veuillez lire <a href="https://codex.wordpress.org/fr:Débogage_dans_WordPress">Débogage dans WordPress</a> (en) pour plus d’informations. (Ce message a été ajouté à la version 3.1.0.) in /home/aromacarvs/v2/wp-includes/functions.php on line 4161 false . Veuillez lire <a href="https://codex.wordpress.org/fr:Débogage_dans_WordPress">Débogage dans WordPress</a> (en) pour plus d’informations. (Ce message a été ajouté à la version 3.1.0.) in /home/aromacarvs/v2/wp-includes/functions.php on line 4161 false . Veuillez lire <a href="https://codex.wordpress.org/fr:Débogage_dans_WordPress">Débogage dans WordPress</a> (en) pour plus d’informations. (Ce message a été ajouté à la version 3.1.0.) in /home/aromacarvs/v2/wp-includes/functions.php on line 4161 false . Veuillez lire <a href="https://codex.wordpress.org/fr:Débogage_dans_WordPress">Débogage dans WordPress</a> (en) pour plus d’informations. (Ce message a été ajouté à la version 3.1.0.) in /home/aromacarvs/v2/wp-includes/functions.php on line 4161 false . Veuillez lire <a href="https://codex.wordpress.org/fr:Débogage_dans_WordPress">Débogage dans WordPress</a> (en) pour plus d’informations. (Ce message a été ajouté à la version 3.1.0.) in /home/aromacarvs/v2/wp-includes/functions.php on line 4161 false . Veuillez lire <a href="https://codex.wordpress.org/fr:Débogage_dans_WordPress">Débogage dans WordPress</a> (en) pour plus d’informations. (Ce message a été ajouté à la version 3.1.0.) in /home/aromacarvs/v2/wp-includes/functions.php on line 4161 false . Veuillez lire <a href="https://codex.wordpress.org/fr:Débogage_dans_WordPress">Débogage dans WordPress</a> (en) pour plus d’informations. (Ce message a été ajouté à la version 3.1.0.) in /home/aromacarvs/v2/wp-includes/functions.php on line 4161 false . Veuillez lire <a href="https://codex.wordpress.org/fr:Débogage_dans_WordPress">Débogage dans WordPress</a> (en) pour plus d’informations. (Ce message a été ajouté à la version 3.1.0.) in /home/aromacarvs/v2/wp-includes/functions.php on line 4161 false . Veuillez lire <a href="https://codex.wordpress.org/fr:Débogage_dans_WordPress">Débogage dans WordPress</a> (en) pour plus d’informations. (Ce message a été ajouté à la version 3.1.0.) in /home/aromacarvs/v2/wp-includes/functions.php on line 4161 false . Veuillez lire <a href="https://codex.wordpress.org/fr:Débogage_dans_WordPress">Débogage dans WordPress</a> (en) pour plus d’informations. (Ce message a été ajouté à la version 3.1.0.) in /home/aromacarvs/v2/wp-includes/functions.php on line 4161 false . Veuillez lire <a href="https://codex.wordpress.org/fr:Débogage_dans_WordPress">Débogage dans WordPress</a> (en) pour plus d’informations. (Ce message a été ajouté à la version 3.1.0.) in /home/aromacarvs/v2/wp-includes/functions.php on line 4161 |
September 5, 2018 at 4:31 pm #2708185 | |
Bigul Supporter
Languages: English (English ) Timezone: Asia/Kolkata (GMT+05:30) |
Hello, Thank you for the updates and Debug Log information. The Debug.log is not showing any notice, warning or error related to WPML. If possible, please consider a staging site(clone copy of the live site) on the same server. So we can try to reproduce and debug it further in the same environment without affecting your live site. Just to make sure, are you able to reproduce the issue again when WPML Translation management plugin is active. -- Bigul |
September 6, 2018 at 11:36 am #2710422 | |
benjaminS-17 |
Hello, I have some new line in the debug.log - https://pastebin.com/cQf9nphB |
September 6, 2018 at 4:53 pm #2711760 | |
Bigul Supporter
Languages: English (English ) Timezone: Asia/Kolkata (GMT+05:30) |
Hello, Thank you for the Debug log details. The Debug log is showing the following error. This may be happening becuase of some string was saved without the name. [05-Sep-2018 22:37:15 UTC] PHP Fatal error: Uncaught exception 'InvalidArgumentException' with message 'Translation name cannot be empty' in /home/aromacarvs/v2/wp-content/plugins/wpml-string-translation/classes/filters/db-cache/class-wpml-st-page-translation.php:107 Stack trace: #0 /home/aromacarvs/v2/wp-content/plugins/wpml-string-translation/classes/filters/db-cache/class-wpml-st-page-translation.php(44): WPML_ST_Page_Translation->validate_values('22699', '', 'woocommerce-che...') #1 /home/aromacarvs/v2/wp-content/plugins/wpml-string-translation/classes/filters/db-cache/persist/class-wpml-st-page-translations-persist.php(108): WPML_ST_Page_Translation->__construct('22699', '', 'woocommerce-che...', '', false, '') #2 [internal function]: WPML_ST_Page_Translations_Persist->create_translation_from_db_record(Array) #3 /home/aromacarvs/v2/wp-content/plugins/wpml-string-translation/classes/filters/db-cache/persist/class-wpml-st-page-translations-persist.php(51): array_map(Array, Array) #4 /home/aromacarvs/v2/wp-content/plugins/wpml-string-translation/clas in /home/aromacarvs/v2/wp-content/plugins/wpml-string-translation/classes/filters/db-cache/class-wpml-st-page-translation.php on line 107 Please try the following steps after a full site backup and make sure you are getting this error or not. 1) Go to WPML>>Support page - Clear the cache in WPML Please note, if you can paste your debug.log to http://pastebin.com/index.php and provide me that link it would be great! (This is the cleanest way because sometimes the logs are long and create a complete mess of discussion). -- Bigul |
September 10, 2018 at 10:12 am #2719589 | |
benjaminS-17 |
Thank you for your reply. I have done all the recommendations but the problem is still here. |
September 10, 2018 at 4:10 pm #2720660 | |
Bigul Supporter
Languages: English (English ) Timezone: Asia/Kolkata (GMT+05:30) |
Hello, Thank you for the feedback. Please fill the private details fields after a full site backup. I would like to access the admin area of your site for further checking. Please check the following links for more details about our private information sharing policies. hidden link Please allow me to make a duplicator copy of your site using Duplicator plugin(https://wordpress.org/plugins/duplicator/) for debugging the issue on my local server. -- Bigul |
September 11, 2018 at 3:54 pm #2724533 | |
Bigul Supporter
Languages: English (English ) Timezone: Asia/Kolkata (GMT+05:30) |
Hello, Thank you for the login information and permission. I made a Duplicator copy of the site for further debugging. I went through a few pages in the frontend and backend. But not able to reproduce the errors exactly. So please let me know the exact steps to reproduce the issue. -- Bigul |
September 12, 2018 at 9:23 am #2726934 | |
benjaminS-17 |
Hello, Thank you |
September 12, 2018 at 5:35 pm #2728483 | |
Bigul Supporter
Languages: English (English ) Timezone: Asia/Kolkata (GMT+05:30) |
Hello, Thank you for the updates. I can reproduce the issue on your site. But the Duplicator copy works as expected on my local server. Please check the attached images. Therefore I have a request. Please check you are getting any error message in Server Error log(not *debug.log*) while having Error 500. Maybe you have to contact your hosting provider for this. -- Bigul |
September 18, 2018 at 7:49 am #2743905 | |
benjaminS-17 |
Hello, [Fri Sep 14 13:28:16 2018] [error] [client 157.55.39.115] [host v2.aroma-care.fr] AH10141: FastCGI: comm with server "/homez.2069/aromacarvs/v2/index.php" aborted: idle timeout (300 sec) It's strange that there is not for yesterday for example because I still had the problems. In addition my hosting provider tells me that the errors in the logs are "timeout" which does not correspond to a 500 error. |
The topic ‘[Closed] Big Problem error 500’ is closed to new replies.