July 31, 2015 at 3:48 pm #481407
This erros message comes on different sites
Warning: Illegal offset type in isset or empty in /var/www/vhosts/ …. plugins/sitepress-multilingual-cms/inc/template-functions.php on line 360
It does not happen with standard-theme, only with enfold. I already asked wpml support: Answer:
This issue is not happening when default theme is activated. So this clearly an compatibility issue with the Enfold theme.
I have forwarded the details to our Themes & Plugins Compatibility Team and they will contact the author.
I’m using wp 4.2.3, enfold 3.2.1, wpml 3.2.2, php 5.4.42, 128MBAugust 3, 2015 at 6:12 am #481876
Thank you for using Enfold.
This is an issue between WPML and blog grid style. Unfortunately, we’re not sure what’s causing the warning. You can hide the warnings by adding this code in the wp-config.php file:
ini_set('log_errors','On'); ini_set('display_errors','Off'); ini_set('error_reporting', E_ALL ); define('WP_DEBUG', false); define('WP_DEBUG_LOG', true); define('WP_DEBUG_DISPLAY', false);
EDIT: Look for this code then replace it with the code above:
IsmaelAugust 3, 2015 at 10:39 am #481989
Just wanted to say, Its not happening on all grid-style blog sites. There was no error warnings on the blog-page “Aktuelles” where all posts are showing. The error-message only appears in categories with grid-style. So all grid-styles with http…/category/… show error-messages.
I will try the next time with a clean installation. Already did and worked. This site was cloned (site and db) and copied into a new file.August 4, 2015 at 12:46 pm #482634September 29, 2015 at 7:34 pm #510949
What about this problem? We have Enfold 3.3.2, WPML 3.2.7 and WP 4.3.1 and today after fresh install of WPML I’ve got same thing on grid layout.
Strange, my blog layout has grid layout but this problem is only at category pages.
Can you contact with kriesit and resolve this warning? Enfold and WPML have very big community and everyone would be happy :)
Thanks!September 29, 2015 at 10:22 pm #511027
Have you tried the code Ismael suggested?
Did not worked out for you?
BasilisJune 30, 2020 at 3:05 pm #1226768
Having the same issue…hide PHP warnings do not work as described above.
Deactivated all cache plugins
July 1, 2020 at 8:13 am #1227118
- This reply was modified 1 week, 6 days ago by iconbit.
You must be logged in to reply to this topic.