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 10 replies, has 2 voices.

Last updated by Andreas W. 3 months, 1 week ago.

Assigned support staff: Andreas W..

Author Posts
July 1, 2019 at 6:12 pm #4121655

eszterK

I am trying to: edit the hungarian version of an english page.

Link to a page where the issue can be seen: hidden link

I expected to see: I edit anything on the page then press "update" and receive this error message: The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.

Instead, I got: error: The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.

July 1, 2019 at 6:44 pm #4121797

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

Thank you for contacting the WPML Support Forum.

This error might be realted to a compatiblity issue with another plugin or theme or it could be caused due to a database error.

Could you please try to run the site in minimal setup to see if the issue persists?

Please disable any additional plugin that is not related to WPML and its add-ons. If the issue disappears please start reactivating any plugins, or activate them in small groups.

This way please verify at which points the issue appears again to indicate the plugin that is causing the issue.

Also please change to a default theme like TwentySeventeen to see if the issue might be theme related.

Further, enable the wp-debug feature to see if there are any current PHP errors given.

Add the following to your wp-config.php file:

define('WP_DEBUG', true);
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );

The wp-config.php is located in your WordPress root directory. It’s the same file where the database configuration settings are. You will have to access it by FTP or SFTP in order to edit it.

If you open wp-config.php and that define statement is not there, you can add it right before this line:

/* That's all, stop editing! Happy blogging. */

Make sure to visit your site and proceed with the task that caused the error. You will be able to find a complete report inside of your wp-content folder. Look for a debug.log file and provide me the results.

More information about how to activate this feature you can find here:
https://wpml.org/documentation/support/debugging-wpml/

Kind regards
Andreas

July 2, 2019 at 5:11 am #4124041

eszterK

Hello Andreas,

actually I have four sites, which are completely the same, excluding texts and pictures. Same theme, same plugins, all of them were copied from each other. Three of them do not show the issue, only of of them. So turning off plugins and the theme would not resolve theissue, this is sure, because of the other three sites. Do you think that in this case the wp-debug feature could help?

July 2, 2019 at 4:37 pm #4128795

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

Indeed, if all sites use exaclty the same theme and plugins in the same versions then we would not speak about a compatibility issue.

It might be that there is another error, like for example database related.

Enable the wp-debug feature to see if there are any current PHP errors given.

Add the following to your wp-config.php file:

define('WP_DEBUG', true);
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );

The wp-config.php is located in your WordPress root directory. It’s the same file where the database configuration settings are. You will have to access it by FTP or SFTP in order to edit it.

If you open wp-config.php and that define statement is not there, you can add it right before this line:

/* That's all, stop editing! Happy blogging. */

Let me know about the results.

Kind regards
Andreas

July 2, 2019 at 5:50 pm #4129207

eszterK

Hi Andreas,

as I sad the four websites are all the same, as for theme and plugins, and the other three function properly. So it should not be compatibility error. We added the lines to wp-config file, but somehow it did not create the debug.log file. Instead among server error logs we found the following info. Please let me know if it helps, or if not, would you check out the site, if we give you access after we make a backup?

[Tue Jul 02 18:29:47.977792 2019] [cgi:error] [pid 3363848] [client 66.249.81.140:33036] AH01215: /usr/local/bin/php-cgi-etc: line 2: 3363852 Killed /usr/bin/php-cgi -c /etc/php.ini "$@", referer: hidden link
[Tue Jul 02 18:29:47.978090 2019] [cgi:error] [pid 3363848] [client 66.249.81.140:33036] End of script output before headers: php, referer: hidden link
[Tue Jul 02 18:29:48.258187 2019] [cgi:error] [pid 3363853] [client 66.249.81.142:33038] AH01215: /usr/local/bin/php-cgi-etc: line 2: 3363857 Killed /usr/bin/php-cgi -c /etc/php.ini "$@", referer: hidden link
[Tue Jul 02 18:29:48.258386 2019] [cgi:error] [pid 3363853] [client 66.249.81.142:33038] End of script output before headers: php, referer: hidden link
[Tue Jul 02 18:29:48.974958 2019] [cgi:error] [pid 3363871] [client 66.249.81.142:33046] AH01215: /usr/local/bin/php-cgi-etc: line 2: 3363879 Killed /usr/bin/php-cgi -c /etc/php.ini "$@", referer: hidden link
[Tue Jul 02 18:29:48.975175 2019] [cgi:error] [pid 3363871] [client 66.249.81.142:33046] End of script output before headers: php, referer: hidden link
[Tue Jul 02 18:29:49.640017 2019] [cgi:error] [pid 3363885] [client 66.249.81.140:33048] AH01215: /usr/local/bin/php-cgi-etc: line 2: 3363893 Killed /usr/bin/php-cgi -c /etc/php.ini "$@", referer: hidden link
[Tue Jul 02 18:29:49.640225 2019] [cgi:error] [pid 3363885] [client 66.249.81.140:33048] End of script output before headers: php, referer: hidden link
[Tue Jul 02 18:29:50.580267 2019] [cgi:error] [pid 3363895] [client 66.249.81.142:33052] AH01215: /usr/local/bin/php-cgi-etc: line 2: 3363903 Killed /usr/bin/php-cgi -c /etc/php.ini "$@", referer: hidden link
[Tue Jul 02 18:29:50.639228 2019] [cgi:error] [pid 3363895] [client 66.249.81.142:33052] End of script output before headers: php, referer: hidden link
[Tue Jul 02 18:29:51.862255 2019] [cgi:error] [pid 3363859] [client 66.249.81.138:33040] AH01215: /usr/local/bin/php-cgi-etc: line 2: 3363867 Killed /usr/bin/php-cgi -c /etc/php.ini "$@", referer: hidden link
[Tue Jul 02 18:29:51.862502 2019] [cgi:error] [pid 3363859] [client 66.249.81.138:33040] End of script output before headers: php, referer: hidden link
[Tue Jul 02 18:29:52.682560 2019] [cgi:error] [pid 3363870] [client 66.249.81.142:33044] AH01215: /usr/local/bin/php-cgi-etc: line 2: 3363878 Killed /usr/bin/php-cgi -c /etc/php.ini "$@", referer: hidden link
[Tue Jul 02 18:29:52.739258 2019] [cgi:error] [pid 3363870] [client 66.249.81.142:33044] End of script output before headers: php, referer: hidden link
[Tue Jul 02 18:29:53.139414 2019] [cgi:error] [pid 3363884] [client 66.249.81.140:33050] AH01215: /usr/local/bin/php-cgi-etc: line 2: 3363892 Killed /usr/bin/php-cgi -c /etc/php.ini "$@", referer: hidden link
[Tue Jul 02 18:29:53.139655 2019] [cgi:error] [pid 3363884] [client 66.249.81.140:33050] End of script output before headers: php, referer: hidden link
[Tue Jul 02 18:29:53.775652 2019] [cgi:error] [pid 3363894] [client 66.249.81.138:33053] AH01215: /usr/local/bin/php-cgi-etc: line 2: 3363902 Killed /usr/bin/php-cgi -c /etc/php.ini "$@", referer: hidden link
[Tue Jul 02 18:29:53.775890 2019] [cgi:error] [pid 3363894] [client 66.249.81.138:33053] End of script output before headers: php, referer: hidden link
[Tue Jul 02 18:29:54.659572 2019] [cgi:error] [pid 3363860] [client 66.249.81.142:33042] AH01215: /usr/local/bin/php-cgi-etc: line 2: 3363869 Killed /usr/bin/php-cgi -c /etc/php.ini "$@", referer: hidden link
[Tue Jul 02 18:29:54.659760 2019] [cgi:error] [pid 3363860] [client 66.249.81.142:33042] End of script output before headers: php, referer: hidden link
[Tue Jul 02 18:29:57.568435 2019] [cgi:error] [pid 3363949] [client 66.249.81.140:33068] AH01215: /usr/local/bin/php-cgi-etc: line 2: 3363961 Killed /usr/bin/php-cgi -c /etc/php.ini "$@", referer: hidden link
[Tue Jul 02 19:26:43.324575 2019] [cgi:error] [pid 3453582] [client 80.98.152.210:47332] AH01215: PHP Fatal error: Uncaught InvalidArgumentException: No translation entry found for query: s:34:" trid = %d AND language_code = %s ";a:2:{i:0;s:3:"852";i:1;s:2:"hu";} in /var/www/youthfestival/data/www/youthfootballfestival.org/wp-content/plugins/wpml-translation-management/classes/records/class-wpml-tm-icl-translations.php:183, referer: hidden link
[Tue Jul 02 19:26:43.324673 2019] [cgi:error] [pid 3453582] [client 80.98.152.210:47332] AH01215: Stack trace:, referer: hidden link
[Tue Jul 02 19:26:43.325126 2019] [cgi:error] [pid 3453582] [client 80.98.152.210:47332] AH01215: #0 /var/www/youthfestival/data/www/youthfootballfestival.org/wp-content/plugins/wpml-translation-management/classes/records/class-wpml-tm-icl-translations.php(67): WPML_TM_ICL_Translations->select_translation_id(' trid = %d AND ...', Array), referer: hidden link
[Tue Jul 02 19:26:43.325473 2019] [cgi:error] [pid 3453582] [client 80.98.152.210:47332] AH01215: #1 /var/www/youthfestival/data/www/youthfootballfestival.org/wp-content/plugins/wpml-translation-management/classes/records/class-wpml-tm-icl-translations.php(43): WPML_TM_ICL_Translations->build_from_trid(Array), referer: hidden link
[Tue Jul 02 19:26:43.325840 2019] [cgi:error] [pid 3453582] [client 80.98.152.210:47332] AH01215: #2 /var/www/youthfestival/data/www/youthfootballfestival.org/wp-content/plugins/wpml-translation-management/classes/records/class-wpml-tm-records.php(157): WPML_TM_ICL_Translations->__construct(Object(WPML_TM_Records), Array, 'trid_lang'), referer: hidden link
[Tue Jul 02 19:26:43.326146 2019] [cgi:error] [pid 3453582] [client 80.98.152.210:47332] AH01215: #3 /va in /var/www/youthfestival/data/www/youthfootballfestival.org/wp-content/plugins/wpml-translation-management/classes/records/class-wpml-tm-icl-translations.php on line 183, referer: hidden link
[Tue Jul 02 19:31:43.932343 2019] [cgi:error] [pid 3462506] [client 80.98.152.210:49164] AH01215: PHP Fatal error: Uncaught InvalidArgumentException: No translation entry found for query: s:34:" trid = %d AND language_code = %s ";a:2:{i:0;s:3:"852";i:1;s:2:"hu";} in /var/www/youthfestival/data/www/youthfootballfestival.org/wp-content/plugins/wpml-translation-management/classes/records/class-wpml-tm-icl-translations.php:183, referer: hidden link
[Tue Jul 02 19:31:43.932456 2019] [cgi:error] [pid 3462506] [client 80.98.152.210:49164] AH01215: Stack trace:, referer: hidden link
[Tue Jul 02 19:31:43.932876 2019] [cgi:error] [pid 3462506] [client 80.98.152.210:49164] AH01215: #0 /var/www/youthfestival/data/www/youthfootballfestival.org/wp-content/plugins/wpml-translation-management/classes/records/class-wpml-tm-icl-translations.php(67): WPML_TM_ICL_Translations->select_translation_id(' trid = %d AND ...', Array), referer: hidden link
[Tue Jul 02 19:31:43.933247 2019] [cgi:error] [pid 3462506] [client 80.98.152.210:49164] AH01215: #1 /var/www/youthfestival/data/www/youthfootballfestival.org/wp-content/plugins/wpml-translation-management/classes/records/class-wpml-tm-icl-translations.php(43): WPML_TM_ICL_Translations->build_from_trid(Array), referer: hidden link
[Tue Jul 02 19:31:43.933629 2019] [cgi:error] [pid 3462506] [client 80.98.152.210:49164] AH01215: #2 /var/www/youthfestival/data/www/youthfootballfestival.org/wp-content/plugins/wpml-translation-management/classes/records/class-wpml-tm-records.php(157): WPML_TM_ICL_Translations->__construct(Object(WPML_TM_Records), Array, 'trid_lang'), referer: hidden link
[Tue Jul 02 19:31:43.933912 2019] [cgi:error] [pid 3462506] [client 80.98.152.210:49164] AH01215: #3 /va in /var/www/youthfestival/data/www/youthfootballfestival.org/wp-content/plugins/wpml-translation-management/classes/records/class-wpml-tm-icl-translations.php on line 183, referer: hidden link
[Tue Jul 02 19:38:52.631230 2019] [cgi:error] [pid 3474754] [client 80.98.152.210:51574] AH01215: PHP Fatal error: Uncaught InvalidArgumentException: No translation entry found for query: s:34:" trid = %d AND language_code = %s ";a:2:{i:0;s:3:"852";i:1;s:2:"hu";} in /var/www/youthfestival/data/www/youthfootballfestival.org/wp-content/plugins/wpml-translation-management/classes/records/class-wpml-tm-icl-translations.php:183, referer: hidden link
[Tue Jul 02 19:38:52.631341 2019] [cgi:error] [pid 3474754] [client 80.98.152.210:51574] AH01215: Stack trace:, referer: hidden link
[Tue Jul 02 19:38:52.631724 2019] [cgi:error] [pid 3474754] [client 80.98.152.210:51574] AH01215: #0 /var/www/youthfestival/data/www/youthfootballfestival.org/wp-content/plugins/wpml-translation-management/classes/records/class-wpml-tm-icl-translations.php(67): WPML_TM_ICL_Translations->select_translation_id(' trid = %d AND ...', Array), referer: hidden link
[Tue Jul 02 19:38:52.632076 2019] [cgi:error] [pid 3474754] [client 80.98.152.210:51574] AH01215: #1 /var/www/youthfestival/data/www/youthfootballfestival.org/wp-content/plugins/wpml-translation-management/classes/records/class-wpml-tm-icl-translations.php(43): WPML_TM_ICL_Translations->build_from_trid(Array), referer: hidden link
[Tue Jul 02 19:38:52.632464 2019] [cgi:error] [pid 3474754] [client 80.98.152.210:51574] AH01215: #2 /var/www/youthfestival/data/www/youthfootballfestival.org/wp-content/plugins/wpml-translation-management/classes/records/class-wpml-tm-records.php(157): WPML_TM_ICL_Translations->__construct(Object(WPML_TM_Records), Array, 'trid_lang'), referer: hidden link
[Tue Jul 02 19:38:52.632752 2019] [cgi:error] [pid 3474754] [client 80.98.152.210:51574] AH01215: #3 /va in /var/www/youthfestival/data/www/youthfootballfestival.org/wp-content/plugins/wpml-translation-management/classes/records/class-wpml-tm-icl-translations.php on line 183, referer: hidden link

July 2, 2019 at 6:45 pm #4129499

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to a testing site where the issue is replicated.

You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.

IMPORTANT

Please make a backup of site files and database before providing us access.
If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this:
hidden link

Kind regards
Andreas

July 3, 2019 at 3:46 pm #4137997

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

I am not sure yet what is causing the issue but as you are using a huge amount of language I would advise the following.

Could you please increase your PHP Memory Limit to 1024M and the WP Memory limit to 512M? 128M is the minimum required by WPML.
Your current values are:

MemoryLimit 256M
WP Memory Limit 256M
Add this code to your wp-config.php to increase WP memory:

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

Paste it just before:

/ That's all, stop editing! Happy blogging. /

The PHP Memory Limit will need to be changed inside of the php.ini file on your server or by editing the .htaccess file. This limit is recommended to always be higher than the WP Memory Limit.

hidden link

These settings can be limited directly by your hosting provider, so I recommend you to contact and ask them to modify them directly.
If you can get even higher values It would be great.

https://wpml.org/home/minimum-requirements/
Note: WPML needs a minimum WP Memory limit of 128M to work only under a minimal environment, it means, with a default theme and not other plugins installed.

Please also change the value of "maxInputVars" inside of your php.ini file. You are currently using a value of 1000. I would recommend you to change this setting to at least 3000 or higher.
You can find the php.ini file on your server inside the folder for your currently used PHP version 7.1.30.

In case of any doubt please contact your hosting provides and ask for assistance.

I hope this will solve the issue. Otherwise we will need to debug further.

Kind regards
Andreas

July 6, 2019 at 4:13 pm #4156087

eszterK

Hello Andreas,

Thank you for your assistance, unfortunately raising memory limits did not solve the issue. In the meantime I figured out by accident what caused the problem. There was a so-called global element on the page that had a translation for each language, so it would switch to the other language if I choose it by clicking on the flag. So there was this element ready to switch, but I chose "translate the page independently" and edited texts outside of WPML, and these two things led to a conflict. As soon as I deleted the global container and replaced it with another, specified to the chosen language the problem has resolved.

July 6, 2019 at 9:39 pm #4156419

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

Thank you for your message and my appologies for not recognizing the issue in first place.

Do I understand right that the gloabl container used to be assigned as duplicated translation?

Duplications on WPML will provide an exact copy of the default language content. Further, those translations are connected to the original content, which means that as soon the original container receives an update, it will overwrite the translations.

The option "Translate independently" will undo this connectivity and you will be able to translate as usual.

More information here:
https://wpml.org/documentation/translating-your-contents/displaying-untranslated-content-on-pages-in-secondary-languages/using-content-duplication/

Gloabl elements on the Fusion Theme will not show up inside of the translatioN editor when translating a page. Those templates will need to be translated apart.

More information about translating the Fusion Theme with WPML can be found in this documentation:
https://wpml.org/documentation/theme-compatibility/using-wpml-with-the-avada-theme/#translate-fusion-builder-global-elements

Do I understand right that the issue is solved after creating a new global element?

Kind regards
Andreas

July 7, 2019 at 6:02 am #4157215

eszterK

Hello Andreas,

I had an English page, with a global element on it. I opened the global element in the Fusion Builder Library and created the Hungarian version of it as well. So it was translated. Then I duplicated the whole page into Hungarian and started to edit it independently. I think that as the page was set to be edited independently but the global container on it had the setting to "be global" and in case of changing language show its other language version, this caused the issue. As soon as I deleted the global container and created a different, hungarian language global container for the independently edited hungarian page everything was okay.

July 8, 2019 at 3:15 pm #4163919

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

Thank you for the clarification.

Even global templates will need to be translated into all language in order to show up on translated pages. Duplicating the page alone will not be enough. The templates will need to be translated seperately at Fusion Builder -> Library -> Global Elements.

Here the full documentation for translating Avada with WPML. You will find a video about how to translate Avada's Global Elements.
https://wpml.org/documentation/theme-compatibility/using-wpml-with-the-avada-theme/

Let me know if you need any further assistance.

Kind regards
Andreas