It seems to be a problem with this statement in invoice.php:

Code:
$show_customer = false;
if ($order->billing['name'] != $order->delivery['name']) {
  $show_customer = true;
}
I assume that is comparing billing and shipping addresses
logs show multiple errors in includes/functions/functions_addresses.php
I have store pickup enabled, could that be causing the problem?