Tagged: debug
Hello,
as I debugged my website I got the message below.
Maybe you understand something.
Thanks a lot.
Hi gianmarizzi!
Try doing a quick reinstall of the theme files either from the WordPress dashboard or over FTP. See: http://kriesi.at/documentation/enfold/updating-your-theme-files/
Regards,
Devin
Well, it won’t be quick…
It should be less than 10 minutes to do an update. I do the whole thing in the video on that page in the documentation and its the easiest way to ensure all the files on your server are up to date and there are no errors within the theme files that could be causing any issues.
I’ll do that but I usually update Enfold via FTP so I’m sure the files are all correctly up to date.
Hi!
Try the following:
http://codex.wordpress.org/Debugging_in_WordPress#WP_DEBUG_DISPLAY
Regards,
Josue
Josue, I can’t understand. It looks what I did: set WP_DEBUG on true and got the debug messages above.
Hi!
Please deactivate the debug mode and replace:
define( 'WP_DEBUG', true );
with
define( 'WP_DEBUG', false );
If the warnings still pop up add this code to the theme functions.php file (at the very beginning after the
<?php
tag:
error_reporting(0);
We’ll fix the first warning with the next update. The second warning is not triggered by our theme and you need to contact the WPML support team.
Regards,
Peter
Ok, the problem wasn’t how to hide messages but why they appeared.
We’ll fix the first warning with the next update. The second warning is not triggered by our theme and you need to contact the WPML support team.