Hi,
I´ve just started my new website. Every time I try to activate X Snippet i get php error lines on the botton of the pages, just like the imagens.
Any one got an idea of what it might be?
Thanks.

Hi,
I´ve just started my new website. Every time I try to activate X Snippet i get php error lines on the botton of the pages, just like the imagens.
Any one got an idea of what it might be?
Thanks.

Hello There,
Thanks for writing in and for providing the screenshot. What you are getting is a PHP warning. You can get rid of this by disabling the debug mode. You can do this by opening wp-config.php and adding define( 'WP_DEBUG' , false ); just above /* That's all, stop editing! Happy blogging. */
For example:
define('WP_DEBUG', false);
/* That's all, stop editing! Happy blogging. */
When you revisit the page, you should no longer be seeing those PHP warnings.
Please let us know how it goes.
Hi, It´s already like that in the file.
Anything else i could do?
Hi There,
As this is a warning and not an error it won’t effect the functionality of your website and the fix will be implemented in the next release.
Open up your wp-config.php and where you see:
define('WP_DEBUG', false);
replace that line with:
ini_set('display_errors','Off');
ini_set('error_reporting', E_ALL );
define('WP_DEBUG', false);
define('WP_DEBUG_DISPLAY', false);
That’ll prevent the warning from outputting on your site.
Thanks Lely!
It worked!
Glad it worked.
Cheers!
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.