hello, today on several of our websites (i'm reporting on this because is the most urgent to fix) wpml caused a fatal error out of the blue.
i'm experiecing some issues on several multilingual websites we manage. the error is the following:
Fatal error: Uncaught TypeError: Illegal offset type in isset or empty in wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php:3937 Stack trace: #0
i've enabled debug logs looking throught the logs and i found a lot of PHP notices and PHP Deprecated.
at the moment i've deactivated the plugin because if it is active i can't see any page related to woocommerce
It seems to be a conflict between WPML and the latest version of Google Site Kit. A few clients reported this issue already. We're looking into it but we couldn't reproduce the issue on our servers. Could you please provide us with step by step instructions on how to reproduce it?
In the meantime, as a workaround, you can either:
- Downgrade to an older version of Google Site Kit: https://wordpress.org/plugins/google-site-kit/#developers
- Or change your translation preferences in "WPML > Settings > Post Types Translation" from "Translatable - use translation if available or fallback to default language" to "Translatable – only show translated items."
Please provide us with as much detail as possible, that will really help us to identify the cause of this issue and solve it. Actually, would it be possible to provide us a copy of your site to run some tests on our servers?
For this, you need to temporarily install a plugin called “Duplicator” on your site. This will allow you to create a copy of your site and your content.
I have activated a private field for you where you can share those files (package + installer).
- You can exclude /wp-uploads from the copy to reduce the size
- Once the package is ready, if the files are too large to upload them to the private field, you can share a link to Google Drive, Dropbox, WeTransfer or any other similar service.