Support » Plugins and Hacks » [Plugin: Facebook Comments for WordPress] : Error reporting

  • 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/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Facebook Comments for WordPress] : Error reporting’ is closed to new replies.