WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Facebook Comments for WordPress] : Error reporting (3 posts)

  1. Steve
    Member
    Posted 3 years ago #

    I'd got this plugin installed as I was trying to debug a potential conflict with my plugin when I noticed that when I made a coding mistake nothing appeared in my php error log.

    I tracked it down to this:

    if (FBCOMMENTS_ERRORS) {
    		error_reporting(E_ALL); // Ensure all errors and warnings are verbose
    	} else {
    		error_reporting(0); // Mute all errors and warnings
    	}

    Which basically means if your plugin is enabled then you suppress ALL PHP error messages across the board.

    http://wordpress.org/extend/plugins/facebook-comments-for-wordpress/

  2. Graham Swan
    Member
    Posted 3 years ago #

    Steve, thanks for the catch. The fact that I was setting that globally totally slipped my mind.

    I'll remove the else part of that statement. :-)

    Thanks.

  3. Graham Swan
    Member
    Posted 3 years ago #

    Alright, it's fixed in v1.5.2, along with a few other things.

    http://wordpress.org/extend/plugins/facebook-comments-for-wordpress/

Topic Closed

This topic has been closed to new replies.

About this Topic