Fatal error: print_r(): Cannot use output buffering in output buffering display handlers

The trouble with tracing is that sometimes you’re not allowed to use certain functions.

Fatal error: print_r(): Cannot use output buffering in output buffering display handlers in C:\apache\htdocs\act\wp-content\plugins\oik-bwtrace\includes\bwtrace.inc on line 253

The solution to this is either remove the specific trace call that’s causing the fatal error (yeah, right) or change trace to use obsafe_print_r(). oik-bwtrace will invoke obsafe_print_r() if the function is callable. So I’ve made (I’m making) the obsafe_print_r plugin to do just that.

See also

http://krumo.sourceforge.net/