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
- 12:00 – 16:00 10:00 – 14:00 10:00 – 14:00 9:00 – 13:00 9:00 – 13:00 -
- 17:00 – 21:00 15:00 – 19:00 15:00 – 19:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Europe/Bucharest (GMT+03:00)

This topic contains 7 replies, has 3 voices.

Last updated by Mihai Apetrei 1 year, 11 months ago.

Assisted by: Mihai Apetrei.

Author Posts
June 28, 2023 at 9:44 am #13908723

adrianP-26

Hello,

For some reason OSTG installer won't stay active even if I click 'Activate' in Module page and
everything seems to be a bit buggy, because language flags aren't show, I can't see language switcher in Menu section, and I have a lot of errors
I am trying to:

Link to a page where the issue can be seen:

I expected to see:

Instead, I got some errors:

[25-Jun-2023 21:30:33 UTC] PHP Warning: include(): Failed opening '/home/loopyoga/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/composer/../../classes/settings/class-wpml-custom-field-setting-factory.php' for inclusion (include_path='.:/opt/alt/php81/usr/share/pear:/opt/alt/php81/usr/share/php:/usr/share/pear:/usr/share/php') in /home/loopyoga/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/composer/ClassLoader.php on line 444

[25-Jun-2023 21:30:33 UTC] PHP Warning: include(): Failed opening '/home/loopyoga/public_html/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/vendor/composer/../../classes/Integrations/WPBakery/Styles.php' for inclusion (include_path='.:/opt/alt/php81/usr/share/pear:/opt/alt/php81/usr/share/php:/usr/share/pear:/usr/share/php') in /home/loopyoga/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/composer/ClassLoader.php on line 444

[25-Jun-2023 21:30:33 UTC] PHP Fatal error: Uncaught Error: Call to a member function add_hooks() on null in /home/loopyoga/public_html/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/LegacyIntegration.php:26

[28-Jun-2023 09:35:57 UTC] PHP Fatal error: Uncaught Error: Interface "WCML\User\Store\Strategy" not found in /home/loopyoga/public_html/wp-content/plugins/woocommerce-multilingual/classes/User/Store/Store.php:6

June 28, 2023 at 12:08 pm #13909885

Dražen
Supporter

Languages: English (English )

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

Hello,

that is expected, OTGS installer should be disabled and can not be activated if you already have the main WPML Multilingual CMS plugin installed.

As per your shared log, seems some files are missing, and mentioned plugin is not installed correctly.

Please try to delete it and then reinstall WPML Multilingual CMS via the OTGS installer or manually by downloading from the next link:

- https://wpml.org/download/wpml-multilingual-cms/?section=changelog

Let us know how it goes.

Regards,
Drazen

June 28, 2023 at 12:13 pm #13909907

adrianP-26

Hello, thanks, but I reinstall it before submitting this this ticket

Other approaches? If I delete all wpml related plugins the settings and all translations will persist? I'm thinking to delete all wpml plugins and reinstall them via otgs

What do you think?

June 28, 2023 at 12:20 pm #13909927

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi there.

The WPML settings and the WPML translations are saved in the database so no worries about that.

However, I would still create a full website backup first, just to be safe.

Then, my recommendation is that you won't use the OTGS plugin but I recommend that you use the URL from my colleague above, download the latest version of our plugin, go to your website's backend and after the old WPML plugin is disabled and deleted, you go to Plugins > Add new > Upload > and upload the new zip file and install + activate WPML.

Please let me know how things go.

Kind regards,
Mihai Apetrei

June 29, 2023 at 6:21 am #13914955

adrianP-26

via otsg it's the same and if i wanna add the plugin from the link I got this error

--- edit
i found this: https://wpml.org/forums/topic/virus-iz-zip/ and it works, but the lang. switcher flag icons are still missing and i don't see any errs in console...

Capture d’écran 2023-06-29 à 09.20.07.png
June 30, 2023 at 12:16 pm #13923539

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi there and welcome back.

That's definitely weird.

But our plugin's zip file is called "sitepress-multilingual-cms.4.6.4.zip", not "wpml.zip" so maybe you are uploading a file taken from somewhere else.

Our plugins don't contain malware.

Mihai

June 30, 2023 at 12:52 pm #13924105

adrianP-26

Yep, I changed the name because I think that was the upload issue ... 🙂

I uploaded it via FileManager plugin and it works, but the flags are still broke and the wpml language switcher settings are set to show only flags without language name

July 2, 2023 at 9:29 pm #13929839

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi there.

From what I can see in the code, the flags are there and the URLs also work fine for the flag images (RO flag for example: hidden link)

I see that there are a lot of plugins installed and (at least) one of them might be causing a compatibility issue with WPML (or the current theme might do that, too).

There's also a chance that this issue is related to caching (I see that you are using a caching plugin + there might also be some server caching / CDN active that only the hosting support team might be able to fully clear. All the caching and any CDN has to be fully cleared.

Please try the following steps so that we test for a compatibility-related issue:

- create a full website backup

- disable all plugins except WPML and its add-ons

- check if the issue is happening again

- if it's not, reactivate your plugins one by one, checking every time if the issue shows up again so that you can understand which plugin is causing that issue

If the issue happens even with the non-WPML plugins disabled:
- leave all the non-WPML plugins deactivated

- switch to a default theme like TwentySeventeen

- try to recreate the issue now

If you have the chance, it would be best to do this in a staging (testing) environment.

Please let me know how things go.

Mihai

The topic ‘[Closed] OSTG doesn't stay active and interface not found errors’ is closed to new replies.