It appears to be an error in the php code in some of the blocks. There in no direct way to find out which block is causing the error. But you can find the ids of the blocks inside that page which contains php code by adding the following patch inside modules/block/block.module, just for debugging.
diff --git a/modules/block/block.module b/modules/block/block.module
index 48c80d7..d25a497 100644
--- a/modules/block/block.module
+++ b/modules/block/block.module
@@ -243,6 +243,9 @@ function block_block_view($delta = '') {
$block = db_query('SELECT body, format FROM {block_custom} WHERE bid = :bid',
$data['subject'] = NULL;
$data['content'] = check_markup($block->body, $block->format, '', TRUE);
+ if (strpos($block->format, 'php')) {
+ echo "<pre>"; print_r($delta, TRUE); echo "</pre>";
+ }
return $data;
}
EDIT: Please note, the above code is just for debugging purpose and not meant to be commited. As Molot said on comment, Never Hack Core