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.

Author Posts
June 12, 2019 at 3:20 am #3999499

philipT-13

I am trying to:

Link to a page where the issue can be seen: land on home page "hidden link" click lang toggle (goes to: hidden link), click on the top navi, will see page error loading (internal server error)

I expected to see: Normal Page Loaded

Instead, I got: Internal server error

June 12, 2019 at 4:05 am #4000077

Riffaz
Supporter

Languages: English (English )

Timezone: Asia/Colombo (GMT+05:30)

Hi,

Thank you for contacting WPML support.

Your WP Memory limit is 40MB and MaxInputVars is 1000: hidden link
These are not enough to run WPML.
This could be the main reason.

Add this near the top of wp-config.php file (after the php opening tag) to increase WP memory:

/** Memory Limit */
define('WP_MEMORY_LIMIT', '256M');

Change 256M to the amount your hosting allows.
Then ask your hosting support to increase the MaxinputVars to 10000

After making these changes checkt he issue.

Let me know how it goes.

Regards,
Riffaz.

June 12, 2019 at 4:06 am #4000097

philipT-13

Tried updated the memory limit to 256Mb and Max input vars, but still have same problem. Can you help further ?

June 12, 2019 at 5:12 am #4000247

Riffaz
Supporter

Languages: English (English )

Timezone: Asia/Colombo (GMT+05:30)

Hi,

Debugging
1. Please follow the debugging information provided here: https://wpml.org/documentation/support/debugging-wpml/#enabling-the-built-in-debugging-feature-in-wordpress.
2. Repeat the action of creating the problem.
3. Copy and paste the contents of debug.log (log file inside the /wp-content/ directory) here for me to see

Let me know.

Regards,
Riffaz.

June 12, 2019 at 5:33 am #4000349

philipT-13

Thanks. Follow thru to turn on the debug info and go to site to creating the problem, but found NO debug.log file generated in the /wp-content/ directory (see below image). Instead I can se an file named error_log file was generated in the WP root directory. Content pasted as below.

===
/home/don9m4f55eer/public_html/wp-config.php on line 94
[12-Jun-2019 05:17:51 UTC] PHP Deprecated: Function create_function() is deprecated in /home/don9m4f55eer/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 258
[12-Jun-2019 05:17:51 UTC] PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/don9m4f55eer/public_html/wp-content/plugins/js_composer/include/classes/core/class-vc-mapper.php on line 111
[12-Jun-2019 05:17:51 UTC] PHP Notice: Undefined variable: description in /home/don9m4f55eer/public_html/wp-content/themes/elephant/header.php on line 68
[12-Jun-2019 05:18:07 UTC] PHP Deprecated: Function create_function() is deprecated in /home/don9m4f55eer/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 258
[12-Jun-2019 05:18:07 UTC] PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/don9m4f55eer/public_html/wp-content/plugins/js_composer/include/classes/core/class-vc-mapper.php on line 111
[12-Jun-2019 05:18:07 UTC] PHP Notice: Undefined variable: description in /home/don9m4f55eer/public_html/wp-content/themes/elephant/header.php on line 68
[12-Jun-2019 05:18:40 UTC] PHP Deprecated: Function create_function() is deprecated in /home/don9m4f55eer/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 258
[12-Jun-2019 05:18:40 UTC] PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/don9m4f55eer/public_html/wp-content/plugins/js_composer/include/classes/core/class-vc-mapper.php on line 111
[12-Jun-2019 05:19:20 UTC] PHP Deprecated: Function create_function() is deprecated in /home/don9m4f55eer/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 258
[12-Jun-2019 05:19:20 UTC] PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/don9m4f55eer/public_html/wp-content/plugins/js_composer/include/classes/core/class-vc-mapper.php on line 111
[12-Jun-2019 05:20:30 UTC] PHP Deprecated: Function create_function() is deprecated in /home/don9m4f55eer/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 258
[12-Jun-2019 05:20:30 UTC] PHP Deprecated: Function create_function() is deprecated in /home/don9m4f55eer/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 258
[12-Jun-2019 05:20:31 UTC] PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/don9m4f55eer/public_html/wp-content/plugins/js_composer/include/classes/core/class-vc-mapper.php on line 111
[12-Jun-2019 05:20:31 UTC] PHP Notice: Undefined variable: description in /home/don9m4f55eer/public_html/wp-content/themes/elephant/header.php on line 68
[12-Jun-2019 05:20:31 UTC] PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/don9m4f55eer/public_html/wp-content/plugins/js_composer/include/classes/core/class-vc-mapper.php on line 111
[12-Jun-2019 05:20:31 UTC] PHP Notice: Undefined variable: description in /home/don9m4f55eer/public_html/wp-content/themes/elephant/header.php on line 68
[12-Jun-2019 05:20:50 UTC] PHP Deprecated: Function create_function() is deprecated in /home/don9m4f55eer/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 258
[12-Jun-2019 05:20:50 UTC] PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/don9m4f55eer/public_html/wp-content/plugins/js_composer/include/classes/core/class-vc-mapper.php on line 111
[12-Jun-2019 05:24:16 UTC] PHP Deprecated: Function create_function() is deprecated in /home/don9m4f55eer/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 258
[12-Jun-2019 05:24:17 UTC] PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/don9m4f55eer/public_html/wp-content/plugins/js_composer/include/classes/core/class-vc-mapper.php on line 111
[12-Jun-2019 05:24:17 UTC] PHP Notice: Undefined variable: description in /home/don9m4f55eer/public_html/wp-content/themes/elephant/header.php on line 68
[12-Jun-2019 05:24:21 UTC] PHP Deprecated: Function create_function() is deprecated in /home/don9m4f55eer/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 258
[12-Jun-2019 05:24:21 UTC] PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/don9m4f55eer/public_html/wp-content/plugins/js_composer/include/classes/core/class-vc-mapper.php on line 111
[12-Jun-2019 05:24:22 UTC] PHP Notice: Undefined variable: description in /home/don9m4f55eer/public_html/wp-content/themes/elephant/header.php on line 68
[12-Jun-2019 05:24:24 UTC] PHP Deprecated: Function create_function() is deprecated in /home/don9m4f55eer/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 258
[12-Jun-2019 05:24:24 UTC] PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/don9m4f55eer/public_html/wp-content/plugins/js_composer/include/classes/core/class-vc-mapper.php on line 111
[12-Jun-2019 05:24:24 UTC] PHP Notice: Undefined variable: description in /home/don9m4f55eer/public_html/wp-content/themes/elephant/header.php on line 68
[12-Jun-2019 05:24:26 UTC] PHP Deprecated: Function create_function() is deprecated in /home/don9m4f55eer/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 258
[12-Jun-2019 05:24:27 UTC] PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/don9m4f55eer/public_html/wp-content/plugins/js_composer/include/classes/core/class-vc-mapper.php on line 111
[12-Jun-2019 05:24:27 UTC] PHP Deprecated: Function create_function() is deprecated in /home/don9m4f55eer/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 258
[12-Jun-2019 05:24:28 UTC] PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/don9m4f55eer/public_html/wp-content/plugins/js_composer/include/classes/core/class-vc-mapper.php on line 111
[12-Jun-2019 05:24:28 UTC] PHP Notice: Undefined variable: description in /home/don9m4f55eer/public_html/wp-content/themes/elephant/header.php on line 68
[12-Jun-2019 05:24:29 UTC] PHP Deprecated: Function create_function() is deprecated in /home/don9m4f55eer/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 258
[12-Jun-2019 05:24:29 UTC] PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/don9m4f55eer/public_html/wp-content/plugins/js_composer/include/classes/core/class-vc-mapper.php on line 111
[12-Jun-2019 05:24:29 UTC] PHP Notice: Undefined variable: description in /home/don9m4f55eer/public_html/wp-content/themes/elephant/header.php on line 68
[12-Jun-2019 05:24:31 UTC] PHP Deprecated: Function create_function() is deprecated in /home/don9m4f55eer/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 258
[12-Jun-2019 05:24:31 UTC] PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/don9m4f55eer/public_html/wp-content/plugins/js_composer/include/classes/core/class-vc-mapper.php on line 111
[12-Jun-2019 05:24:32 UTC] PHP Notice: Undefined variable: description in /home/don9m4f55eer/public_html/wp-content/themes/elephant/header.php on line 68
===

June 12, 2019 at 6:05 am #4000449

Riffaz
Supporter

Languages: English (English )

Timezone: Asia/Colombo (GMT+05:30)

Hi,

Thank you for the details.

As you see, none of these error come from WPML.

Your theme or you are using the Revolution Slider which has some depreciated functions.
And the other errors come from your theme.

Please check this with your theme support.
Show them the error messages you are getting.
They will be able to help in this.

Regards,

June 12, 2019 at 6:28 am #4000497

philipT-13

Hi Team,

As I know that these are deprecated function by theme but theme and rev slider working properly. we get this error by WPML translation. if we navigate full website in english its working fine when we translate in other lang its goes to internal server error.

if these error by theme or rev plugin so website not running in a single time. theme worked functional properly.

you need to check the error which setting is missing or function by WPML. check both screenshot.

Please do the need full action.

Thanks

June 12, 2019 at 6:34 am #4000583

Riffaz
Supporter

Languages: English (English )

Timezone: Asia/Colombo (GMT+05:30)

Hi,

Yes, you are right but we can not modify our plugin files just to cover some depreciated functions.
WPML updates the files and core rapidly to make sure the compatibility with latest plugins, latest theme or whatever the latest technology.
So what you are suggesting is simply not possible or meaningless.

Anyhow, I'll check this with the team to ask if there is any possible way to solve this.

Regards,

June 12, 2019 at 6:41 am #4000637

philipT-13

Hi,

Now I have deactivate plugins but still show error when I switch the lang. Please check attachment.

June 12, 2019 at 10:23 am #4002977

philipT-13

Hi, Thanks for the support.

Tried 2 times for the migration but seems I'm getting the same error message. (see attached).
Actually the site is a non-production site which I'm glad to provide directly the WP Admin login so that you can go and test or further migrate for testing.

The ID and PW is created as same as the SFTP user and SFTP password respectively of the migration details.

June 12, 2019 at 1:43 pm #4004861

Riffaz
Supporter

Languages: English (English )

Timezone: Asia/Colombo (GMT+05:30)

Hi,

Ok, please take a full back up of your site and database.
Then let us know.

The next reply is private.
Please provide your site login details.

Regards,

June 13, 2019 at 11:02 am #4012163

Riffaz
Supporter

Languages: English (English )

Timezone: Asia/Colombo (GMT+05:30)

Hi,

Your login page also goes to internal error: hidden link
Could you please disable all the third party olugin and leave it with WPML plugin only.? Are you able to login then?

Regards,

June 13, 2019 at 11:05 am #4012217

philipT-13

that's sometimes I experience also, which I have the report the problem.
Just need to wait a while and I can login. Pls go ahead to feel free to disable any plugins which you think it's causing the problem.

June 13, 2019 at 2:27 pm #4013871

Riffaz
Supporter

Languages: English (English )

Timezone: Asia/Colombo (GMT+05:30)

Hi,

I deactivated all the WPML plugins: hidden link
Visited to your main site and I still see the error messages: hidden link

So it is obvious that the issue has nothing to do with the WPML and it's glue plugins.

We are seeing these error even there is no WPML and it's glue plugins.

These errors needed to be checked by your theme and rev slider.
Please contact your theme support and show them the error messages:


Deprecated: Function create_function() is deprecated in /home/don9m4f55eer/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 258

Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/don9m4f55eer/public_html/wp-content/plugins/js_composer/include/classes/core/class-vc-mapper.php on line 111
Skip to content
Fatal error: Uncaught Error: Call to undefined function get_field() in /home/don9m4f55eer/public_html/wp-content/themes/elephant/header.php:38 Stack trace: #0 /home/don9m4f55eer/public_html/wp-includes/template.php(722): require_once() #1 /home/don9m4f55eer/public_html/wp-includes/template.php(671): load_template('/home/don9m4f55...', true) #2 /home/don9m4f55eer/public_html/wp-includes/general-template.php(41): locate_template(Array, true) #3 /home/don9m4f55eer/public_html/wp-content/themes/elephant/page-home.php(15): get_header() #4 /home/don9m4f55eer/public_html/wp-includes/template-loader.php(78): include('/home/don9m4f55...') #5 /home/don9m4f55eer/public_html/wp-blog-header.php(19): require_once('/home/don9m4f55...') #6 /home/don9m4f55eer/public_html/index.php(17): require('/home/don9m4f55...') #7 {main} thrown in /home/don9m4f55eer/public_html/wp-content/themes/elephant/header.php on line 38

They will be able to find the exact cause of these as these files created and modified by them.
Let me know how it goes.

Regards,

June 17, 2019 at 3:38 am #4031959

philipT-13

I'm a bit amazed that the site was end up even cannot access. As mentioned I was thinking the problem was due to WPML because we've deactivated most plugins and when we browse the site with single lang, it won't show the issue.

I'm restoring the site to the state we open the ticket and disable again all plugins again. Hope you can take a look and give us a solution on this.

Thanks,
Philip

The topic ‘[Closed] Pages loaded with "internal server error" 500’ is closed to new replies.