Where do I get “Bug Information” to add to a question?

I have exactly the same issue as this closed question and want to resolve it. In the comment section it asks the OP to add “Bug Information”.

Where do I get bug information from so I can add it to my question on this stack?

I am new to WordPress (if thats not obvious) and I’m using WordPress 3.5.1 and the Weaver 2 theme

Answers:

Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.

Method 1

Add define('WP_DEBUG', true); to your site’s wp-config.php. That will cause errors, warnings, and notices (non-fatal warnings) to print to the screen. Those are the “debug information” so frequently requested.

It is not advisable to have this enabled on a production (publicly accessible) server but if you have to have the debugging information then you have to have to have it.

You can also add define('WP_DEBUG_LOG', true); and the debugging information will be written to a file named /wp-content/debug.log.

You can then add define('WP_DEBUG_DISPLAY', false); to prevent errors from printing to the screen as you can read them from the debug file.

So, in your wp-config.php you’d have:

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);

Your server itself may also keep log file. The location and names of these files vary by OS. On Debian Squeeze, Apache’s log is by at /var/log/apache2/error.log. On CentOS 6 it is at /var/log/httpd/error_log. Those have much the same information, but you may not have direct access to them depending on your host and hosting type– shared, vpn, etc. The database server may also keep logs.


All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x