Crm 13689 fix - Print Case Report button (from Manage Case) throws a set of fatal errors in WordPress, but NOT in Drupal