<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.johnlradford.io/index.php?action=history&amp;feed=atom&amp;title=Debugging_Options</id>
	<title>Debugging Options - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.johnlradford.io/index.php?action=history&amp;feed=atom&amp;title=Debugging_Options"/>
	<link rel="alternate" type="text/html" href="https://wiki.johnlradford.io/index.php?title=Debugging_Options&amp;action=history"/>
	<updated>2026-05-05T15:47:39Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://wiki.johnlradford.io/index.php?title=Debugging_Options&amp;diff=10&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;== WordPress Debugging ==  Edit the site&#039;s &#039;&#039;&#039;wp-config.php&#039;&#039;&#039; file to enable WordPress debugging.    define( &#039;WP_DEBUG&#039;, true );  define( &#039;WP_DEBUG_DISPLAY&#039;, false );  define( &#039;WP_DEBUG_LOG&#039;, true );  That will prevent errors from being displayed on the site and instead log them to a &#039;&#039;&#039;wp-content/debug.log&#039;&#039;&#039; file.  == PHP Debugging ==  === Via .user.ini or php.ini ===   display_errors = on  To log errors to a &#039;&#039;&#039;php-debug.log&#039;&#039;&#039; file use the following syntax instead....&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.johnlradford.io/index.php?title=Debugging_Options&amp;diff=10&amp;oldid=prev"/>
		<updated>2023-10-04T10:29:59Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== WordPress Debugging ==  Edit the site&amp;#039;s &amp;#039;&amp;#039;&amp;#039;wp-config.php&amp;#039;&amp;#039;&amp;#039; file to enable WordPress debugging.    define( &amp;#039;WP_DEBUG&amp;#039;, true );  define( &amp;#039;WP_DEBUG_DISPLAY&amp;#039;, false );  define( &amp;#039;WP_DEBUG_LOG&amp;#039;, true );  That will prevent errors from being displayed on the site and instead log them to a &amp;#039;&amp;#039;&amp;#039;wp-content/debug.log&amp;#039;&amp;#039;&amp;#039; file.  == PHP Debugging ==  === Via .user.ini or php.ini ===   display_errors = on  To log errors to a &amp;#039;&amp;#039;&amp;#039;php-debug.log&amp;#039;&amp;#039;&amp;#039; file use the following syntax instead....&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== WordPress Debugging ==&lt;br /&gt;
&lt;br /&gt;
Edit the site&amp;#039;s &amp;#039;&amp;#039;&amp;#039;wp-config.php&amp;#039;&amp;#039;&amp;#039; file to enable WordPress debugging. &lt;br /&gt;
&lt;br /&gt;
 define( &amp;#039;WP_DEBUG&amp;#039;, true );&lt;br /&gt;
 define( &amp;#039;WP_DEBUG_DISPLAY&amp;#039;, false );&lt;br /&gt;
 define( &amp;#039;WP_DEBUG_LOG&amp;#039;, true );&lt;br /&gt;
&lt;br /&gt;
That will prevent errors from being displayed on the site and instead log them to a &amp;#039;&amp;#039;&amp;#039;wp-content/debug.log&amp;#039;&amp;#039;&amp;#039; file.&lt;br /&gt;
&lt;br /&gt;
== PHP Debugging ==&lt;br /&gt;
&lt;br /&gt;
=== Via .user.ini or php.ini ===&lt;br /&gt;
&lt;br /&gt;
 display_errors = on&lt;br /&gt;
&lt;br /&gt;
To log errors to a &amp;#039;&amp;#039;&amp;#039;php-debug.log&amp;#039;&amp;#039;&amp;#039; file use the following syntax instead.&lt;br /&gt;
&lt;br /&gt;
 log_errors = on&lt;br /&gt;
 error_log = ~/php-debug.log&lt;br /&gt;
&lt;br /&gt;
=== Via PHP Code ===&lt;br /&gt;
&lt;br /&gt;
 ini_set(&amp;#039;display_errors&amp;#039;,&amp;#039;1&amp;#039;);&lt;br /&gt;
 ini_set(&amp;#039;display_startup_errors&amp;#039;,&amp;#039;1&amp;#039;);&lt;br /&gt;
 error_reporting (E_ALL);&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>