If someone copies/pastes a link to an ebsco detail record page at url: /ebsco/detailedrecord?id=XXXXXXXX a PHP warning and notice are thrown (stack trace below).
This happens when a user who has a link to a detail record does not have an active session with a previous search.
Oddly, there is protective code in the template_preprocess_ebsco_result() that prevents the record next/previous and back-to-search-list links from displaying when $lastSearch is empty, but this doesn't prevent the search_read() from triggering the warnings.
Probably some similar protective code needs to be added to EBSCODocument class to gracefully handle an un-initialized Session state.
If someone copies/pastes a link to an ebsco detail record page at url:
/ebsco/detailedrecord?id=XXXXXXXX
a PHP warning and notice are thrown (stack trace below).This happens when a user who has a link to a detail record does not have an active session with a previous search.
Oddly, there is protective code in the template_preprocess_ebsco_result() that prevents the record next/previous and back-to-search-list links from displaying when
$lastSearch
is empty, but this doesn't prevent the search_read() from triggering the warnings.Probably some similar protective code needs to be added to EBSCODocument class to gracefully handle an un-initialized Session state.