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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: America/Los_Angeles (GMT-08:00)

Tagged: 

This topic contains 6 replies, has 2 voices.

Last updated by peterL-60 1 year, 7 months ago.

Assisted by: Bobby.

Author Posts
June 5, 2023 at 9:04 pm #13774649

peterL-60

We had previously experienced issues with site performance after updating to Advanced Custom Fields Multilingual 2.0.3. These previous issues were discussed here: https://wpml.org/forums/topic/performance-issues-with-acfml-string-translation/

Ahmed Mohammed gave us a quick fix that we manually applied to our site, making a small edit to wp-content/plugins/acfml/classes/class-wpml-acf.php.

We've been running that quick fix successfully until today when we updated to Advanced Custom Fields Multilingual 2.0.5.

Unfortunately there are still performance issues for us in this new release. I know Ahmed said that the developers had found and fixed the underlying issue causing performance problems, but after installing this update we are seeing our site performance drop by 19%. This isn't nearly as bad as the performance problems we saw in 2.0.3, but 19% drop in performance is still a big deal for us.

Manually reapplying the fix that Ahmed gave us in the previous thread does fix this problem for us, and performance is returning to normal now. Of course that fix will stop working again the next time we update this plugin unless this is fixed on your end. Or alternatively as I suggested in the previous thread a new filter or admin option could be added to the code for disabling the string translation in ACFML.

I've attached an image from our performance monitoring that shows our sites transaction time before the update to the plugin (left side), after updating the plugin to the latest version (taller spikes in the middle), and then finally after reapplying the fix from Ahmed (right side as performance starts to settle out to normal again).

Screenshot 2023-06-05 at 5.02.57 PM.png
June 7, 2023 at 6:54 pm #13788787

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

Thank you for updating us, and I am glad to hear that the workaround provided by my colleague still works ok.

Our team did release a fix on the latest release that was related to the underlying issue as seen here
https://wpml.org/errata/advanced-custom-fields-multilingual-performance-issues/

However, I will make sure to update them regarding this as well and update you once there is more information.

June 7, 2023 at 9:13 pm #13789087

peterL-60

Thanks, I did see mention of this in the changelog for the new version, but unfortunately we are still experiencing performance issues beyond what was fixed in 2.0.4

June 8, 2023 at 11:02 pm #13796227

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

I would like to request temporary access (wp-admin and FTP) to your site to test the issue.
(preferably to a test site where the problem has been replicated if possible)

Also, do I have your permission to install the plugins Duplicator and Cloudways migration in case we need to take a copy of the site for debugging purposes?

**Before we proceed It is necessary to take FULL BACKUP of your database and your website. Providing us with access, you agree that a backup has been taken **

I often use the Duplicator plugin for this purpose: http://wordpress.org/plugins/duplicator/
You will find the needed fields for this below the comment area when you log in to leave your next reply.
The information you enter is private which means only you and I have access to it.

NOTE: If access to the live site is not possible and the staging site does not exist please provide me with a duplicator package created with the duplicator plugin.

Thank you,
Bobby

June 19, 2023 at 4:06 pm #13853285

peterL-60

Our manual fix to this performance issue was accidentally rolled back during an update last Friday. I've attached the performance monitoring for the past 7 days so that your team can see how this is effecting our site. The top of the chart is response time in milliseconds. The bottom of the chart is a performance 'score' from NewRelic where the higher the number the better performing the server is.

Screenshot 2023-06-19 at 12.01.26 PM.png
June 19, 2023 at 5:03 pm #13853671

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

Thank you, our developers are working on this issue and once there is news you will be updated. In the meantime, I suggest using the workaround to improve the performance until we have some more feedback.

June 19, 2023 at 5:46 pm #13853911

peterL-60

Yes we've reapplied the workaround again since noticing this and performance is starting to return to normal levels.