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.

This topic contains 11 replies, has 2 voices.

Last updated by Radu 2 months, 2 weeks ago.

Assigned support staff: Radu.

Author Posts
August 7, 2019 at 5:57 am #4352175

pD-4

I am trying to: activate this plugin and getting 500 server error.

Link to a page where the issue can be seen:

I expected to see:

Instead, I got:

August 7, 2019 at 6:02 am #4352219

Radu
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hey,

Thank you for reaching out the WPML support!

Can you deactivate any other plugin and activate a default theme (like Twenty Nineteen) before trying to activate the WPML plugin, please? This way we can see if this is a compatibility issue between one of the plugins (or theme) that you're using and WPML.

If the issue is still there once you try to do this change, please copy this piece of code:

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_DISPLAY', true );
define( 'SCRIPT_DEBUG', true );
define( 'CONCATENATE_SCRIPTS', false );
define( 'WP_CACHE', false );

to the wp-config.php file (through FTP) and tell me if you see an error message now, when trying to activate the plugin. This should lead us to the source of the issue.

Thanks,
Radu

August 7, 2019 at 6:12 am #4352231

pD-4

not work. still showing 500 internal server error.

August 7, 2019 at 6:19 am #4352235

pD-4

, i can see these logs in the error logs file
[Wed Aug 07 06:11:48.904640 2019] [core:error] [pid 495] [client 127.0.0.1:57199] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
[Wed Aug 07 06:11:30.261980 2019] [proxy_fcgi:error] [pid 488] [client 127.0.0.1:57185] AH01071: Got error 'PHP message: PHP Warning: array_key_exists() expects parameter 2 to be array, string given in /mnt/data/home/301236.cloudwaysapps.com/fyxrwxkdjn/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/widgets/class-wpml-widgets-support-frontend.php on line 48PHP message: PHP Warning: array_key_exists() expects parameter 2 to be array, string given in /mnt/data/home/301236.cloudwaysapps.com/fyxrwxkdjn/public_html/wp-content/plugins/sitepress-multi

August 7, 2019 at 7:05 am #4352399

Radu
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hey,

Thank you for sharing the details from the log file. I looked into this a little bit and it seems that this might be related to the widgets from your website. In this case, can you go to wp-content/plugins/sitepress-multilingual-cms/classes/widgets folder, open class-wpml-widgets-support-frontend.php and add an @ to the line 48, to make it like this, please?

return ! @array_key_exists( 'wpml_language', $instance )

Once you did this, please try again to activate the plugin and tell me how things work this time.

Thanks,
Radu

August 7, 2019 at 7:19 am #4352435

pD-4

This error is now solved. But i am getting 500 internal server error after 1 min when page is load.

August 7, 2019 at 8:05 am #4352597

Radu
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hey,

I'm glad to hear that you managed to activate the WPML plugin. Now, can you tell me if there's any new message to the log file, please? I'm asking for this because it might tell us why is the new 500 error appearing on your website. Also, can you send me a link to the page where is this new issue appearing, please?

Thanks,
Radu

August 7, 2019 at 8:11 am #4352623

pD-4

I am now getting 500 error when visit any page . after one minute it is ok. again 500 error. Here is the log:

[Wed Aug 07 08:05:17.910106 2019] [proxy_fcgi:error] [pid 7411] [client 127.0.0.1:43747] AH01071: Got error 'PHP message: PHP Notice: Undefined offset: 0 in /mnt/data/home/301236.cloudwaysapps.com/fyxrwxkdjn/public_html/wp-content/plugins/link-timestamp/public/class-link-timestamp-public.php on line 136PHP message: PHP Notice: Undefined offset: 0 in /mnt/data/home/301236.cloudwaysapps.com/fyxrwxkdjn/public_html/wp-content/plugins/link-timestamp/public/class-link-timestamp-public.php on line 136', referer: hidden link
[Wed Aug 07 08:05:17.910419 2019] [proxy_fcgi:error] [pid 7411] [client 127.0.0.1:43747] AH01071: Got error 'PHP message: PHP Notice: Undefined offset: 0 in /mnt/data/home/301236.cloudwaysapps.com/fyxrwxkdjn/public_html/wp-content/plugins/link-timestamp/public/class-link-timestamp-public.php on line 136', referer: hidden link
[Wed Aug 07 08:05:31.795012 2019] [core:error] [pid 7427] [client 127.0.0.1:43757] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: hidden link
[Wed Aug 07 08:05:35.503896 2019] [core:error] [pid 7428] [client 127.0.0.1:43760] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: hidden link
[Wed Aug 07 08:05:35.627019 2019] [core:error] [pid 7429] [client 127.0.0.1:43762] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: hidden link
[Wed Aug 07 08:06:32.948833 2019] [core:error] [pid 7433] [client 127.0.0.1:43772] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
[Wed Aug 07 08:06:33.079379 2019] [core:error] [pid 7434] [client 127.0.0.1:43774] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: hidden link
[Wed Aug 07 08:06:35.928773 2019] [core:error] [pid 7435] [client 127.0.0.1:43776] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
[Wed Aug 07 08:06:36.020619 2019] [core:error] [pid 7436] [client 127.0.0.1:43778] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: hidden link
[Wed Aug 07 08:06:36.895123 2019] [core:error] [pid 7437] [client 127.0.0.1:43780] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
[Wed Aug 07 08:06:36.986678 2019] [core:error] [pid 7438] [client 127.0.0.1:43782] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: hidden link
[Wed Aug 07 08:06:37.556078 2019] [core:error] [pid 7440] [client 127.0.0.1:43786] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
[Wed Aug 07 08:06:37.640245 2019] [core:error] [pid 7441] [client 127.0.0.1:43788] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: hidden link
[Wed Aug 07 08:06:52.034117 2019] [core:error] [pid 7450] [client 127.0.0.1:43799] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: hidden link
[Wed Aug 07 08:06:54.409482 2019] [core:error] [pid 7451] [client 127.0.0.1:43801] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: hidden link
[Wed Aug 07 08:06:56.668958 2019] [core:error] [pid 7452] [client 127.0.0.1:43804] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: hidden link
[Wed Aug 07 08:07:29.463996 2019] [core:error] [pid 7494] [client 127.0.0.1:43814] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: hidden link
[Wed Aug 07 08:07:29.617668 2019] [core:error] [pid 7495] [client 127.0.0.1:43816] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: hidden link
[Wed Aug 07 08:07:50.431726 2019] [core:error] [pid 7499] [client 127.0.0.1:43824] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: hidden link
[Wed Aug 07 08:07:50.569437 2019] [core:error] [pid 7500] [client 127.0.0.1:43826] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: hidden link
[Wed Aug 07 08:07:51.367180 2019] [core:error] [pid 7501] [client 127.0.0.1:43828] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: hidden link
[Wed Aug 07 08:07:51.453316 2019] [core:error] [pid 7502] [client 127.0.0.1:43830] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: hidden link
[Wed Aug 07 08:07:53.693423 2019] [core:error] [pid 7503] [client 127.0.0.1:43832] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: hidden link
[Wed Aug 07 08:07:55.003933 2019] [core:error] [pid 7504] [client 127.0.0.1:43834] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: hidden link
[Wed Aug 07 08:07:55.111798 2019] [core:error] [pid 7505] [client 127.0.0.1:43836] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: hidden link
[Wed Aug 07 08:08:27.772913 2019] [core:error] [pid 7536] [client 127.0.0.1:43841] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: hidden link
[Wed Aug 07 08:08:27.904213 2019] [core:error] [pid 7537] [client 127.0.0.1:43843] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: hidden link
[Wed Aug 07 08:08:28.801405 2019] [core:error] [pid 7538] [client 127.0.0.1:43845] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: hidden link
[Wed Aug 07 08:08:28.894357 2019] [core:error] [pid 7539] [client 127.0.0.1:43847] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: hidden link
[Wed Aug 07 08:08:29.260915 2019] [core:error] [pid 7540] [client 127.0.0.1:43849] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: hidden link
[Wed Aug 07 08:08:29.369152 2019] [core:error] [pid 7541] [client 127.0.0.1:43851] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: hidden link
[Wed Aug 07 08:08:47.749330 2019] [core:error] [pid 7556] [client 127.0.0.1:43864] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: hidden link

August 7, 2019 at 9:42 am #4353265

Radu
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hey,

I could see that one other plugin is mentioned in the log you attached: link timestamp. Can you try to deactivate it and see if you still have this issue, please?

Also, the log doesn't mention anything about WPML and the fact that everything works fine after one minute sounds like a server issue. In this case, can you reach out the hosting provider and ask him to have a look at this, please? Most error messages are about a Request exceeded the limit of 10 internal redirects due to probable configuration error which is most probably a server configuration issue. This is why I'm suggesting you to reach out the hosting. Please keep me posted about this.

Thanks,
Radu

August 7, 2019 at 10:02 am #4353419

pD-4

I am getting 500 error when setting "Different languages in directories" in the language option.

August 7, 2019 at 10:37 am #4353881

pD-4

hosting support tell me about htaccess rule. they told me ask wpml for if need extra rule for working it.

August 8, 2019 at 11:05 am #4362105

Radu
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hey,

Can you ask the hosting if he's blocking the .htaccess file to be writable? Also, is the Use directory for default language option on your website checked too?

I'm asking about this because some users reported that the error 500 disappeared from their website after they set a HTML file (while using the Use directory for default language option).

Thanks,
Radu

The topic ‘[Closed] 500 Error’ is closed to new replies.