Tagged: enfold wpml
I’m having some problems
my site displays these 2 errors
Warning: get_object_vars() expects parameter 1 to be object, null given in /home/leaoholandes1/public_html/wp-includes/post.php on line 680
Warning: Invalid argument supplied for foreach() in /home/leaoholandes1/public_html/wp-includes/post.php on line 680
What can i do to solve this?
Hi moreleads!
Thank you for using Enfold.
Is there any issue with the site aside from the warnings? Please add this in the wp-config.php file to hide those warnings:
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
Cheers!
Ismael
Well, i added those lines and the errors still display
I have an issue, that i’m using wpml with directories for languanges anf for default language too.
When i access main domain i get the errors. When i access the default language folder it doesn’t show errors.
This happen on chrome, with firefox everything seemes to work fine