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