I'm using require_once()
in header.php to include the FirePHP library. In the page.php I'm doing the usual...
$firephp = FirePHP::getInstance(true);
$firephp->log($categories);
Getting these errors..
'Headers already sent....'
and
Cannot send log data to FirePHP. You must have Output Buffering enabled via ob_start() or output_buffering ini directive...
I figured the using require_once in the template's header.php (above all HTML output) would be safe (pre header output). Guess this is not the case.
Anyone have experience with this? (P.S. I tried the WP FirePHP plugin, wasn't working right)