Skip Navigation

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 54 replies, has 3 voices.

Last updated by Andreas W. 1 year, 4 months ago.

Assisted by: Andreas W..

Author Posts
September 12, 2023 at 1:26 pm #14384201

Andreas W.
Supporter

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

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

Hello,

I have now also installed the latest versions of our plugins, which are solving a performance issue between WPML String Translation and the latest version of WordPress.

When activating WPML there appear various database errors regarding duplicated entries that refer to post attachment in the Dutch language.

I went to WPML > Support > Troubleshooting and ran the option to synchronize post taxonomies for "Media" (4573 posts were processed for "attachment").

Now, when deactivating and then activating WPML again I can no longer confirm those errors.

The only errors I currently can confirm on the site are PHP Deprecated Notices coming from our Sticky Links plugin - those should not harm the site, they only refer to the fact that a specific function used in PHP inside this plugin will work in a different way in the upcoming version of PHP and our developers by then should adapt the code.

At the moment I can not confirm any performance issue on the site caused by WPML.

Could you please revise this on the test site now and let me know if further assistance is needed?

Best regards
Andreas

September 12, 2023 at 1:43 pm #14384273

thomasV-73

Dear Andreas,

"Could you please revise this on the test site now and let me know if further assistance is needed?" - what do you mean with revise? You want me to visit the testing site to see how the performance now is?

September 12, 2023 at 2:30 pm #14384617

Andreas W.
Supporter

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

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

Hello,

Yes, this is what I ask you to do and I would appreciate it of you could point me toward a page where you see an unexpectedly high loading time with the amount in seconds, as I can not confirm any unexpectedly high load time on the test site by now.

Best regards
Andreas

September 13, 2023 at 9:38 am #14388675

thomasV-73

Dear Andreas,

So all you did was update the WPML plugins on the testing site?

If that's the case, can I just go to my live site, do the updates there, remove the testing site, and then do the testing on my live site? (because the testing site takes a lot of space in my hosting package)

September 13, 2023 at 11:27 am #14389749

Andreas W.
Supporter

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

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

Hello,

I actually only wanted you to revise the test site in its current state to let me know if you still see performance issues there.

Also, if you decide to delete the test site, take note again that I had to take this step:

When activating WPML there appear various database errors regarding duplicated entries that refer to post attachment in the Dutch language.

I went to WPML > Support > Troubleshooting and ran the option to synchronize post taxonomies for "Media" (4573 posts were processed for "attachment").

Best regards
Andreas

September 14, 2023 at 8:57 am #14394959

thomasV-73

Dear Andreas,

It does seem to be decently fast now (of course we'd have to see how it goes on the live site). I do however see the following text on top of the testing site:

"
Deprecated: Automatic conversion of false to array is deprecated in /home/huisdie3/wpmltest.huisdier-online.nl/blog/wp-content/plugins/wpml-sticky-links/classes/class-wpml-sticky-links.php on line 19

Deprecated: Hook elementor/widgets/widgets_registered is sinds versie 3.5.0 verouderd! Gebruik in plaats daarvan elementor/widgets/register. init_widgets on file /home/huisdie3/wpmltest.huisdier-online.nl/blog/wp-content/plugins/elementor/includes/managers/widgets.php:328. in /home/huisdie3/wpmltest.huisdier-online.nl/blog/wp-includes/functions.php on line 5828

Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /home/huisdie3/wpmltest.huisdier-online.nl/blog/wp-includes/class-wp-block-parser.php on line 261

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/huisdie3/wpmltest.huisdier-online.nl/blog/wp-includes/class-wp-block-parser.php on line 333
"

I don't know what that is about. It is there even when you are not logged into the site. You know how to fix it? It's definitely not appropriate for customers to see that if it were on my live site.

September 14, 2023 at 11:16 am #14396333

Andreas W.
Supporter

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

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

Hello,

I am glad to hear that we made advancements on this matter.

These Deprecated Notices should not harm your site at the moment - they are only showing up because WP DEBUG is enabled on this site.

Those notices do refer to the fact, that there might occur issues on the site if the code for active plugins will not be adapted for the future version of PHP.

Some of these notices refer to WordPress Core itself, which means you first should make sure to use WordPress 6.3.1 or wait until a future version of WordPress will solve these issues.

Other errors of this kind might refer to PHP functions used in plugins, like in this case our "Sticky Links" plugin.

I tested this on a local test site with WPML and Sticky Links on PHP 8.2 and I can replicate this Notice there which is why I have escalated this issue now including a suggestion about how to solve this issue internally.

This request will have to be reviewed by our developers and tested to be implemented into a future version of the Stocky Links plugin, but please take note again, that this will not impact the site while using the current latest version of PHP.

If you need any assistance to apply changes to the live site, please let me know.

Best regards
Andreas

September 15, 2023 at 4:01 pm #14404415

thomasV-73

"These Deprecated Notices should not harm your site at the moment - they are only showing up because WP DEBUG is enabled on this site."

1. Ah okay, so it won't show on my live site?

"Those notices do refer to the fact, that there might occur issues on the site if the code for active plugins will not be adapted for the future version of PHP."

2. So that doesn't necessarily have to do with WPML plugins? That can be any plugin?

"Other errors of this kind might refer to PHP functions used in plugins, like in this case our "Sticky Links" plugin."

3. Do I need to do anything with it?

"If you need any assistance to apply changes to the live site, please let me know."

4. Yes please. Can you let me give my next reply as hidden reply so I can add the login credentials?

5. Extra question, can I remove the testing site now? Or should I keep it only for if more testing needs to be done?

September 15, 2023 at 4:17 pm #14404439

Andreas W.
Supporter

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

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

Hello,

1) Those errors will only show up with WP DEBUG is enabled.

https://wordpress.org/documentation/article/debugging-in-wordpress/

Also take note, that this issue has already been escalated internally and will be handled before the upcoming PHP version will be available.

2) and 3) Yes, there are also two Notices for WordPress itself on the site such issues are handled by the WordPress Core Team.

Imagine it like this:

PHP uses integrated functions, like for example strlen() which is a function that will let you determine the length of a string.

It is a simple example, as you pass here only one argument, a string, and it will count the characters.

Other functions are way more complex.

Those functions sometimes change the way they work in different versions of PHP and then WordPress-, Theme- and Plugin developers will need to update their code in order to keep it working with the upcoming version of PHP, which in this case might be 8.3.0.

This is what a Deprecated Notice refers to and there is nothing you can or need to do about it from your side, but reporting such issues and waiting for them to be fixed.

4) The private reply form is enabled. Please make sure to take a backup of your site and database before providing access.

5) Yes, you can delete the test site.

Best regards
Andreas

September 19, 2023 at 9:02 pm #14425503

Andreas W.
Supporter

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

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

Hello,

I have already installed and activated the latest versions of our plugins.

I suggest that you now take a backup of the site and then update all the plugins on your website, as there are many plugins outdated, and then let me know if you still experience unexpected high loading times.

Best regards
Andreas