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.

This topic contains 5 replies, has 2 voices.

Last updated by Noman 1 year, 5 months ago.

Assisted by: Noman.

Author Posts
August 16, 2023 at 9:15 am #14207811

arnoldV-2

Hi, we are encountering a problem that, on the surface doesn't seem to have anything to do with WPML, but the error log tells a different story.

We were trying to install and use the 'Better search replace' plugin by WP engine.
The instal works, but on trying to use it, it shows an error.

While checking the error logs, this comes up:
Got error 'PHP message: PHP Fatal error: Uncaught Error: Class "WP_Upgrader_Skin" not found in wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/installer/includes/class-installer-upgrader-skins.php

August 17, 2023 at 7:10 am #14242559

arnoldV-2

I've tried with all plugins but WPML and Better search replace deactivated and theme set to one of the default themes. But the same error keeps showing up.

August 17, 2023 at 4:57 pm #14247997

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for investigating the problem in the minimal environment.

1. Could you inform me if simply activating both plugins (WPML and Better Search Replace) together is causing this issue on your site? Or is there a specific action or page that triggers this error? If possible, you could record a video of these steps using Loom: hidden link

2. To take a closer look at this issue, please provide temporary access (WP-Admin and FTP Login info) to your site (preferably staging site), so that I can look into your setup and debug the issue.

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 deactivate and reactivate Plugins and the Theme and to change configurations on the site. This is also a reason the backup is really important.

Thank you

August 20, 2023 at 8:37 am #14257837

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Sorry for the delay, it was my weekend (Friday-Saturday) and thanks for providing the login details. I can confirm that login info is working fine for me and I’m debugging this issue now and will get back to you soon.

Thank you for your cooperation and patience

August 20, 2023 at 5:09 pm #14258995

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Search & Replace is functioning properly with WPML in all database tables except the first one labeled 'audit.' I'm still working on troubleshooting this matter, and I'll provide you with an update shortly.

Thank you

August 23, 2023 at 3:04 pm #14279121

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

I have noticed that the “All-In-One Security (AIOS) – Security and Firewall ” plugin was generating that problematic database table on your site, so I tried to reproduce this issue at a fresh WP site with WPML, Better Search Replace, and All In One Security plugins but it works correctly there.

I have tried to examine the "_aiowps_audit_log" database table on your site and found out that it is only a log table. It does not have any real content, just some log info. It is usually not required nor advised to replace entries in log tables, so you can safely exclude it while doing search & replace.

During the debugging process when I try to remove a few “26-150” entries in that table, it starts working correctly on your site. It might be due to the memory issue or some corrupt entry in that specific database table which causing this issue.

Could you please try to exclude the "_aiowps_audit_log" database table when you try to perform the search and replace operation or try some other plugin and see if this resolves your issue?

Please let me know if this resolves your issue or if you need further assistance.

Thank you for your cooperation and amazing patience

August 23, 2023 at 3:35 pm #14279255

arnoldV-2

Thank you Noman,

We will look into the table, but our problem seems to be resolved.

ps. I can't check how the issue was resolved on the radio buttons below this question. Or at least, the choice isn't shown.