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 8 replies, has 4 voices.

Last updated by Marcel 3 months, 1 week ago.

Assigned support staff: Marcel.

Author Posts
June 17, 2019 at 11:05 am #4034827

XVU

I am trying to: translate pages

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

I expected to see: Translations

Instead, I got: The site is experiencing technical difficulties

June 17, 2019 at 1:02 pm #4035375

Marcel
Supporter

Languages: English (English ) German (Deutsch )

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

Hi,

Thank you for contacting WPML Support.

Could you please add me your PHP error log? WordPress includes a debug mode which helps reveal PHP problems.

To enable it, open your wp-config.php file and look for

define('WP_DEBUG', false);

Change it to:

define('WP_DEBUG', true);

In order to enable the error logging to a file on the server you need to add yet one more similar line:

define( 'WP_DEBUG_LOG', true );

In this case the errors will be saved to a debug.log log file inside the /wp-content/directory.

Depending on whether you want your errors to be only logged or also displayed on the screen you should also have this line there, immediately after the line mentioned above:

define( 'WP_DEBUG_DISPLAY', true );

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. */

Please note that you’ll see everything, not only related to our Plugins.
This will most likely include messages from other plugins, your theme and sometimes even WordPress core. The messages appear all over the place.
Sometimes they appear right on top, but they can also appear in the middle of the page.

DOC:
https://codex.wordpress.org/Debugging_in_WordPress

Please report me the errors you are seeing.

Kind Regards
Marcel

June 17, 2019 at 4:16 pm #4036893

XVU

Hi there, and thank you.
Looks like we got a winner. This is what the debugger just showed:

Deprecated: Function create_function() is deprecated in /var/www/html/vives.org/wp-content/plugins/events-manager-wpml/events-manager-wpml.php on line 97

Notice: define() was called with an argument that is deprecated since version 3.0.0! The constant VHOST is deprecated. Use the boolean constant SUBDOMAIN_INSTALL in wp-config.php to enable a subdomain configuration. Use is_subdomain_install() to check whether a subdomain configuration is enabled. in /var/www/html/vives.org/wp-includes/functions.php on line 4652

Notice: Constant WPCF7_LOAD_JS already defined in /var/www/html/vives.org/wp-config.php on line 145


Fatal error: Uncaught TypeError: Argument 1 passed to WPML_Cornerstone_Register_Strings::register_strings_for_modules() must be of the type array, null given, called in /var/www/html/vives.org/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/page-builders/src/st/compatibility/class-wpml-page-builders-register-strings.php on line 58 and defined in /var/www/html/vives.org/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/page-builders-cornerstone/src/class-wpml-cornerstone-register-strings.php:9 Stack trace: #0 /var/www/html/vives.org/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/page-builders/src/st/compatibility/class-wpml-page-builders-register-strings.php(58): WPML_Cornerstone_Register_Strings->register_strings_for_modules(NULL, Array) #1 /var/www/html/vives.org/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/page-builders/src/st/class-page-builder-integration.php(61): WPML_Page_Builders_Register_Strings->register_strings(Object(WP_Post), Array) #2 /var/www/html/vives.org/wp-includ in /var/www/html/vives.org/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/page-builders-cornerstone/src/class-wpml-cornerstone-register-strings.php on line 9

What are your thoughts on this? Is there anything we can do to solve the issue?
Thank you again.

June 18, 2019 at 7:51 am #4041067

Marcel
Supporter

Languages: English (English ) German (Deutsch )

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

Thank you, I would need to run some tests.

For this need to request temporary access (WP-Admin and FTP) to your site
– preferably to a test site where the problem has been replicated if possible –
in order to be of better help and check if some configurations might need to be changed

Your next answer will be private which means only you and I have access to it.

❌ Please backup your database and website ❌

✙ I would additionally need your permission to de-activate and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important.

✙ Please add the Links to the […] Edit Screen, the Page/Post where you insert the […] and the corresponding Front End Page/Screen

Best Marcel

June 18, 2019 at 11:41 am #4043527

XVU

All ok, but... Can you please provide an IP address so we can setup our firewalls to let a SFTP connection in?
It has to be the IP number you'll use to connect to our server.

July 4, 2019 at 8:08 am #4141079

Lorry Gombos

This seems to be quite common issue for us all... Seems like it is a problem with WPML. Is is possible you to fix this?

July 4, 2019 at 8:30 am #4141215

Marcel
Supporter

Languages: English (English ) German (Deutsch )

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

Hi @Lorry Gombos

Could you please create a new ticket? Then somebody from our team will check this.

Thanks
Best Marcel

July 9, 2019 at 11:22 am #4170111

Andreas

We have the same issue:

PHP Deprecated: Function create_function() is deprecated in [...] /wp-content/plugins/events-manager-wpml/events-manager-wpml.php on line 97

The function is no longer supported in PHP 7.2. Hope there will be an update soon of that Events Manager WPML plugin.

July 9, 2019 at 12:35 pm #4170757

Marcel
Supporter

Languages: English (English ) German (Deutsch )

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

Hi Andreas,

please contact the Event Manager authors, as the Compatibility plugin for Event Manager is not developed by us. See: hidden link

Best Marcel

The topic ‘[Closed] The site is experiencing technical difficulties’ is closed to new replies.