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: 

This topic contains 12 replies, has 2 voices.

Last updated by Bruno Kos 5 months, 3 weeks ago.

Assigned support staff: Bruno Kos.

Author Posts
April 23, 2019 at 10:52 am

robbyM-2

Hi,

I translated my client's website prorace.be (which is in Dutch) to French. However, I get a 500 internal server error when I visit the French pages and only on the French pages.

I read this post ( https://wpml.org/forums/topic/500-internal-server-error-29/ ) and saw that I have the same kind of errors in my debug log but I'm already on the newest version of WPML and have re-saves my permalinks a few times and made sure that all the French pages were published.

The url for the French site is hidden link

Let me know if you need any more information.

Thanks in advance.

April 23, 2019 at 11:32 am #3663007

Bruno Kos
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

Thank you for contacting WPML support!

and saw that I have the same kind of errors in my debug log.

Can you the following then:

- Reproduce the issue.
- Locate the debug log in: /wp-content/debug.log
- Paste the latest lines here. No need to paste the entire log file, just 50 lines or so will do. Please censor any sensitive information

Regards,
Bruno Kos

April 23, 2019 at 12:02 pm #3663667

robbyM-2

{"id":"103733","status":"0","ctx":"171ccc514201eb6295ab25fd37ed8321","translated":null,"mo_string":"Uw WPML installatie kan problemen met de Gutenberg editor veroorzaken","original":"Your WPML installation may cause problems with Gutenberg editor","gettext_context":""},{"id":"103734","status":"0","ctx":"a639fbc9efd6de512ebe99fa8e8f139f","translated":null,"mo_string":"Uw blogpagina bestaat niet of de vertaling ervan is niet gepubliceerd in %s.","original":"Your blog page does not exist or its translation is not published in %s.","gettext_context":""},{"id":"103735","status":"0","ctx":"e1d3f8750f433a128e5d9cfa4b0de738","translated":null,"mo_string":"Uw browser laat blijkbaar niet toe dat er cookies gebruikt worden.","original":"Your browser doesn\u0027t seem to be allowing cookies to be set.","gettext_context":""},{"id":"103736","status":"0","ctx":"6078a685b3a1faa5baf9269038809d6f","translated":null,"mo_string":"Uw startpagina bestaat niet of de vertaling ervan is niet gepubliceerd in %s.","original":"Your home page does not exist or its translation is not published in %s.","gettext_context":""},{"id":"103737","status":"0","ctx":"337b42f30d120e754b6c40cee076fee7","translated":null,"mo_string":"Uw menu omvat aangepaste items, die u dient te vertalen met de String Translation van WPML.","original":"Your menu includes custom items, which you need to translate using WPML\u0027s String Translation.","gettext_context":""},{"id":"103738","status":"0","ctx":"18e69bd4d436d3150e4a6871a5349ddc","translated":null,"mo_string":"Uw php.ini bestaat staat in","original":"Your php.ini file is located at","gettext_context":""},{"id":"103739","status":"0","ctx":"cda44955080992db4b0c9ab363527456","translated":null,"mo_string":"Uw beoordeling:","original":"Your rating:","gettext_context":""},{"id":"103740","status":"0","ctx":"3bf573008a8922317e4a7663caf8338c","translated":null,"mo_string":"Uw site zal niet functioneren zoals hij zou moeten doen in deze configuratie","original":"Your site will not work as it should in this configuration","gettext_context":""},{"id":"103741","status":"0","ctx":"4c1d9950be80026ae0d7d6c39bcbff9a","translated":null,"mo_string":"Uw abonnement is niet langer geldig. Probeer opnieuw te registreren met een geldige sitecode.","original":"Your subscription appears to no longer be valid. Please try to register again using a valid site key.","gettext_context":""},{"id":"103742","status":"0","ctx":"2edb9ca39b984096d67a0c445e40c1f7","translated":null,"mo_string":"U abonnement verloopt over %d dag.","original":"Your subscription expires in %d day.","gettext_context":""},{"id":"103743","status":"0","ctx":"2882c950ae6073989157f87931da4718","translated":null,"mo_string":"Uw abonnement verloopt over %d dagen.","original":"Your subscription expires in %d days.","gettext_context":""},{"id":"103744","status":"0","ctx":"468b9ea2c3566c04b0702c2af89b607f","translated":null,"mo_string":"geactiveerd","original":"activated","gettext_context":""},{"id":"103745","status":"0","ctx":"a5de0859d637987352edefdc5e5c4e42","translated":null,"mo_string":"aan het activeren","original":"activating","gettext_context":""},{"id":"103746","status":"0","ctx":"84bee5ba13e4027cd18730e0402d0a27","translated":null,"mo_string":"toevoegen","original":"add","gettext_context":""},{"id":"103747","status":"0","ctx":"9a06c247472d78ab2dd41dd920e6e833","translated":null,"mo_string":"vertaling toevoegen","original":"add translation","gettext_context":""},{"id":"103748","status":"0","ctx":"0edef92a657738792ff89f240497e8e7","translated":null,"mo_string":"alle","original":"all","gettext_context":""},{"id":"103749","status":"0","ctx":"d113cbd3991f05d61fb5e624ceb80ba5","translated":null,"mo_string":"gelijk welke taal","original":"any language","gettext_context":""},{"id":"103750","status":"0","ctx":"c197d14753c84bc6e1510ea1a51003e0","translated":null,"mo_string":"alle mogelijkheden","original":"complete set of features","gettext_context":""},{"id":"103751","status":"0","ctx":"71fe9898ef281fd5df9b423fb7f1b429","translated":null,"mo_string":"gedownload","original":"downloaded","gettext_context":""},{"id":"103752","status":"0","ctx":"d324acb4dac14e0fd74502f33371fb00","translated":null,"mo_string":"aan het downloaden...","original":"downloading...","gettext_context":""},{"id":"103753","status":"0","ctx":"99e6e0a16ffa308cc579429dc2e9a325","translated":null,"mo_string":"kopie","original":"duplicate","gettext_context":""},{"id":"103754","status":"0","ctx":"22a19b3bd73bef1986e1cfc3d5ff86e6","translated":null,"mo_string":"termen bewerken","original":"edit terms","gettext_context":""},{"id":"103755","status":"0","ctx":"c8d145668047cbb88eff70ad642535c2","translated":null,"mo_string":"vertaling bewerken","original":"edit translation","gettext_context":""},{"id":"103756","status":"0","ctx":"13bc879eae4daa68547005aba08c01cd","translated":null,"mo_string":"eval() beschikbaarheid van Suhosin","original":"eval() availability from Suhosin","gettext_context":""},{"id":"103757","status":"0","ctx":"6b9de3487472f04369a96fdedbb83910","translated":null,"mo_string":"mislukt!","original":"failed!","gettext_context":""},{"id":"103758","status":"0","ctx":"0837cf39ec727d8bcd76231f4dfe5d09","translated":null,"mo_string":"verborgen","original":"hidden","gettext_context":""},{"id":"103759","status":"0","ctx":"295b96e2840162270bcb791a136bf657","translated":null,"mo_string":"verbergen","original":"hide","gettext_context":""},{"id":"103760","status":"0","ctx":"af5cd03839ff0febaf2c6fd0f799fc59","translated":null,"mo_string":"in","original":"in","gettext_context":""},{"id":"103761","status":"0","ctx":"6e8dbe0f882fd71bfb8b0ce6a940077f","translated":null,"mo_string":"geïnstalleerd","original":"installed","gettext_context":""},{"id":"103762","status":"0","ctx":"527c9149e7ce1f1f3ae7496baf1c445f","translated":null,"mo_string":"aan het installeren...","original":"installing...","gettext_context":""},{"id":"103763","status":"0","ctx":"056123aa7db4a3236b99aa9648fbae15","translated":null,"mo_string":"item","original":"item","gettext_context":""},{"id":"103764","status":"0","ctx":"ad55d9cdffa72b218d15ebf869e9b823","translated":null,"mo_string":"items","original":"items","gettext_context":""},{"id":"103765","status":"0","ctx":"b21d9e6bebdcd2aa0324e3fbb0139bb1","translated":null,"mo_string":"gelinkt met:","original":"linked to: ","gettext_context":""},{"id":"103766","status":"0","ctx":"9e5753e3e3e72c45d8030502bc1c4479","translated":null,"mo_string":"bezig met laden","original":"loading","gettext_context":""},{"id":"103767","status":"0","ctx":"f5c4117644e7a33f140c3d47215b8967","translated":null,"mo_string":"lokale vertaler","original":"local translator","gettext_context":""},{"id":"103768","status":"0","ctx":"17fd403649dfb551d949604b49311d70","translated":null,"mo_string":"niet beschikbaar","original":"n\/a","gettext_context":""},{"id":"103769","status":"0","ctx":"222304587903e20b8c3bfced9f4296f8","translated":null,"mo_string":"geen","original":"none","gettext_context":""},{"id":"103770","status":"0","ctx":"7e09119bbf7fca036938d93475b258c5","translated":null,"mo_string":"niet vertaald naar de huidige taal","original":"not translated in current language","gettext_context":""},{"id":"103771","status":"0","ctx":"a33a3848aff7722cb1805c00815ed4a0","translated":null,"mo_string":"van","original":"of","gettext_context":""},{"id":"103772","status":"0","ctx":"815f3893c8b02d3bcfd08789e9910633","translated":null,"mo_string":"ouder selecteren","original":"select parent","gettext_context":""},{"id":"103773","status":"0","ctx":"a8c6baead2fe9869ce511d232b941570","translated":null,"mo_string":"weergeven","original":"show","gettext_context":""},{"id":"103774","status":"0","ctx":"5de6110b7507388ad2593d939c200a6b","translated":null,"mo_string":"string niet geregistreerd","original":"string not registered","gettext_context":""},{"id":"103775","status":"0","ctx":"f958e6a2f6574932be9d3efe20a9b6f1","translated":null,"mo_string":"dit zal uw admintaal zijn die ook gebruikt zal worden om commentaren te vertalen.","original":"this will be your admin language and will also be used for translating comments.","gettext_context":""},{"id":"103776","status":"0","ctx":"20f045323f33139cfd0b938c0948d73d","translated":null,"mo_string":"naar","original":"to","gettext_context":""},{"id":"103777","status":"0","ctx":"25f9765129909687f5051ab76e58ff23","translated":null,"mo_string":"vertaal de basistaxonomyslugs met WPML","original":"translate the base taxonomy slugs with WPML","gettext_context":""},{"id":"103778","status":"0","ctx":"64c20ac4c666212672eb51b8a0c57a28","translated":null,"mo_string":"berichtcategorieën en aangepaste taxonomieën aan het vertalen","original":"translating post categories and custom taxonomies","gettext_context":""},{"id":"103779","status":"0","ctx":"bf960379e7bd7d9236372fd919e36e08","translated":null,"mo_string":"niet vertaald","original":"untranslated","gettext_context":""},{"id":"103780","status":"0","ctx":"47fb435063b68d82d3805cd2850f50c0","translated":null,"mo_string":"aan het updaten...","original":"updating...","gettext_context":""},{"id":"103781","status":"0","ctx":"c26126c700aee2206ade5d5d0615bcb7","translated":null,"mo_string":"upgrade naar Toolset","original":"upgrade to Toolset","gettext_context":""},{"id":"103782","status":"0","ctx":"7969986373d2b26f964f8c50e96596a8","translated":null,"mo_string":"welk thema en plugins u gebruikt.","original":"which theme and plugins you are using.","gettext_context":""},{"id":"103783","status":"0","ctx":"7864bbaf25a41d71213137104a1bfb51","translated":null,"mo_string":"uw account","original":"your account","gettext_context":""},{"id":"115015","status":null,"ctx":"d0b896ff880e84b460017e66f86ed491","translated":null,"mo_string":null,"original":"Translations:","gettext_context":""},{"id":"116459","status":null,"ctx":"c82078ca994ac4d79b71e3fe513f7da5","translated":null,"mo_string":null,"original":"The original has been deleted!","gettext_context":""}],"queries":null,"prefix":"invl_","base_prefix":"invl_","ready":true,"blogid":0,"siteid":0,"tables":["posts","comments","links","options","postmeta","terms","term_taxonomy","term_relationships","termmeta","commentmeta","snippets","yoast_seo_links","yoast_seo_meta","woocommerce_payment_tokenmeta","woocommerce_order_itemmeta","wc_product_meta_lookup"],"old_tables":["categories","post2cat","link2cat"],"global_tables":["users","usermeta"],"ms_global_tables":["blogs","blogmeta","signups","site","sitemeta","sitecategories","registration_log","blog_versions","ms_snippets"],"comments":"invl_comments","commentmeta":"invl_commentmeta","links":"invl_links","options":"invl_options","postmeta":"invl_postmeta","posts":"invl_posts","terms":"invl_terms","term_relationships":"invl_term_relationships","term_taxonomy":"invl_term_taxonomy","termmeta":"invl_termmeta","usermeta":"invl_usermeta","users":"invl_users","blogs":null,"blogmeta":null,"blog_versions":null,"registration_log":null,"signups":null,"site":null,"sitecategories":null,"sitemeta":null,"field_types":{"post_author":"%d","post_parent":"%d","menu_order":"%d","term_id":"%d","term_group":"%d","term_taxonomy_id":"%d","parent":"%d","count":"%d","object_id":"%d","term_order":"%d","ID":"%d","comment_ID":"%d","comment_post_ID":"%d","comment_parent":"%d","user_id":"%d","link_id":"%d","link_owner":"%d","link_rating":"%d","option_id":"%d","blog_id":"%d","meta_id":"%d","post_id":"%d","user_status":"%d","umeta_id":"%d","comment_karma":"%d","comment_count":"%d","active":"%d","cat_id":"%d","deleted":"%d","lang_id":"%d","mature":"%d","public":"%d","site_id":"%d","spam":"%d"},"charset":"utf8mb4","collate":"utf8mb4_unicode_520_ci","func_call":"$db-\u003Equery(\u0022\n\t\t\tSELECT\n\t\t\t\ts.id,\n\t\t\t\tst.status,\n\t\t\t\ts.domain_name_context_md5 AS ctx ,\n\t\t\t\tst.value AS translated,\n\t\t\t\tst.mo_string AS mo_string,\n\t\t\t\ts.value AS original,\n\t\t\t\ts.gettext_context\n\t\t\tFROM invl_icl_strings s\n\t\t\tLEFT JOIN invl_icl_string_translations st\n\t\t\t\tON s.id=st.string_id\n\t\t\t\t\tAND st.language=\u0027nl\u0027\n\t\t\t\t\tAND s.language!=\u0027nl\u0027\n\t\t\tWHERE s.context = \u0027sitepress\u0027\n\t\t\t LIMIT 1000 OFFSET 1000\u0022)","is_mysql":true,"categories":"invl_categories","post2cat":"invl_post2cat","link2cat":"invl_link2cat","snippets":"invl_snippets","ms_snippets":"invl_ms_snippets","yoast_seo_links":"invl_yoast_seo_links","yoast_seo_meta":"invl_yoast_seo_meta","payment_tokenmeta":"invl_woocommerce_payment_tokenmeta","order_itemmeta":"invl_woocommerce_order_itemmeta","wc_product_meta_lookup":"invl_wc_product_meta_lookup"}},"setup"]}]},"delegated":true},"\/data\/sites\/web\/proracebe\/www\/wp-content\/plugins\/woocommerce-products-filter\/installer\/installer.php":{"bootfile":"\/data\/sites\/web\/proracebe\/www\/wp-content\/plugins\/woocommerce-products-filter\/installer\/installer.php","version":"1.7.15","args":{"plugins_install_tab":1,"affiliate_id:wpml":"180271","affiliate_key:wpml":"ykFQUy0inySN","src_name":"","src_author":"","repositories_include":["wpml"]},"delegated":false}}}}}

April 23, 2019 at 12:30 pm #3663827

Bruno Kos
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

Before we investigate this issue further, could you make sure your server conforms to our minimum requirements?
https://wpml.org/home/minimum-requirements/

Based on provided debug information, I can see the following - WP Memory Limit: 40M.

Specifically, could you set WP Memory limit to at least 256MB and then let me know if this fixed your issue?
https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

If unsure on how to set this, you can consult your host/server admin to do this. After you increase this value, you can confirm it by checking on WPML -> Support by finding the “Memory limit” value.

Regards,
Bruno Kos

April 23, 2019 at 12:50 pm #3664071

robbyM-2

Weird thing is that my settings are already correct when I check them with my hosting provider:

I also put this in my wp-config file:

define( 'WP_MEMORY_LIMIT', '256M' );
define( 'WP_MAX_MEMORY_LIMIT', '256M' );

But when I check the back-end it still says 40M.

April 23, 2019 at 1:08 pm #3664197

robbyM-2

Managed to increase the memory limit. It's now up to 256M but I still get the internal server error.

April 23, 2019 at 2:44 pm #3664895

Bruno Kos
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

It seems like that it works now (the memory limit).

As for me reproducing this issue, what do I need to to? Can you tell me where do I need to go to trigger error 500, does it happen on specific pages only, when editing translations or somewhere else?

Regards,
Bruno Kos

April 23, 2019 at 4:12 pm #3666049

robbyM-2

Hi Bruno,

It happens at random buy you can most-likely reproduce the issue by clicking around through Some of the French pages. Loading one page is no problem bur or occurs after navigating to the second or third page.

April 24, 2019 at 8:42 am #3670457

Bruno Kos
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

Can you tell me if you can reach perhaps your host support about this? Because I was able to reproduce the issue and this happens in a very strange orders - even if I refresh the same page several times in a row, sometimes it works, sometimes it doesn't, so I suspect that this is a server related issue and will need to be checked by server admins as well.

Debug.log is not picking anything we can use or that would lead us in the right direction - server crashes before this even happens. The only thing that debug.log picks up is the following:

 
[24-Apr-2019 08:36:38 UTC] PHP Notice:  Undefined index: deleteJournal in /data/sites/web/proracebe/www/wp-content/plugins/instagram-journal/instagram_journal.php on line 262
[24-Apr-2019 08:36:38 UTC] PHP Notice:  Undefined index: updateContestEntry in /data/sites/web/proracebe/www/wp-content/plugins/instagram-journal/instagram_journal.php on line 277

However, this is not related to the issue in any way. So examining server logs is currently the only path we should take if we want to resolve this.

Regards,
Bruno Kos

April 24, 2019 at 8:45 am #3670479

robbyM-2

Hi Bruno,

you can check the error logs via FTP. Just go to the root and find the folder logs.

April 24, 2019 at 11:17 am #3672003

Bruno Kos
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

Are these server logs, or? Because I can't do anything about it, it is outside of the scope of WPML support to read and check server logs. We also don't have any access to make possible changes nor I am qualified enough to give any conclusions. This is definitely a timing where hosting support need to step in and only after this, I can possibly send all of the info to our 2nd tier for further debugging.

Regards,
Bruno Kos

April 24, 2019 at 1:35 pm #3673461

robbyM-2

Hi Bruno,

I reached out to my hosting support and they saw this in the error logs:

[Wed Apr 24 14:59:15.518962 2019] [error] [pid 18593] core.c(3878): [client
217.21.177.70:60906] AH00124: Request exceeded the limit of 10 internal
redirects due to probable configuration error.
[Wed Apr 24 14:59:15.559942 2019] [error] [pid 31091] core.c(3878): [client
217.21.177.70:60907] AH00124: Request exceeded the limit of 10 internal
redirects due to probable configuration error.

They also said that the redirects were most-likely caused by WPML.

April 24, 2019 at 2:40 pm #3674211

Bruno Kos
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

Request exceeded the limit of 10 internal redirects due to probable configuration error.

This does help :). I found a case with this error here:
https://wpml.org/forums/topic/request-exceeded-the-limit-of-10-internal-redirects-2/

There is also this info:
https://wpml.org/errata/htaccess-is-rewritten-with-language-folder/

Check the Workaround there and description on why this happens in the first place.

Regards,
Bruno Kos

The topic ‘[Closed] Internal server error only on translated pages’ is closed to new replies.