Thank you for your help!
@Daniel_KM it appears the header.php does not pass anything in the $record which seems odd, as it continues to the else statement when I test it on an item page. There is no error exception in the Browse By page when I use this code snippet which is positive.
$record = isset($record) ? $record : (isset($item) ? $item : (isset($collection) ? $collection : (isset($file) ? $file : (isset($items) ? reset($items) : (isset($collections) ? reset($collections) : null)))));
print_r($record);
if ($record) {
$title = metadata($record, array(‘Dublin Core’, ‘Identifier’));
$identifier = metadata($record, array(‘Dublin Core’, ‘Identifier’));
echo $identifier;
// etc for the other metadata, and echo it out
}
else {
echo “
}
@patrickmj When I don’t have a conditional statement to capture whether a record, item or collection is being parsed, and I purely print out $identifier = metadata($record, array(‘Dublin Core’, ‘Identifier’)); it will throw the following error on the Browse By page (I took two screenshots to show the full error message).

