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.
Please note that we already fixed the issue in the next WPML release that is scheduled for beginning of next week (v 4.6.5).
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.