Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 UTC on 18 March 2024, to get $100 off your ticket.
I'm getting the error:
"Notice: Trying to get property of non-object in biblio_handler_citation->render() (line 58 of /media/storage1/software/workspace/factsandvalues/sites/all/modules/biblio/views/biblio_handler_citation.inc)."
The corresponding code is:
$item = node_load($values->{$this->aliases['nid']});
$this->aliases['nid'] for me is a string "node_field_data_field_citation_nid". I'm not sure why this is not just '$values->nid'
Comments
Comment #1
nkLiVF CreditAttribution: nkLiVF commentedSorry for the noise. This seems to occur when one of the plugins are not enabled. I'm not sure if this qualifies as an error handling bug though.
EDIT - Sorry I'm still getting this error. I'm not yet sure how this comes up, but I have all plugins enabled now and it's still producing this error.
Comment #2
nkLiVF CreditAttribution: nkLiVF commentedSorry I'm still getting this error. I'm not yet sure how this comes up, but I have all plugins enabled now and it's still producing this error.
Comment #3
rjerome CreditAttribution: rjerome commentedI'll check on this today.
Comment #4
rjerome CreditAttribution: rjerome commentedYou're right, I don't know why it wasn't $values->nid. Must have been some cruft from years gone by.
Fixed now. http://drupalcode.org/project/biblio.git/commit/b7d22b4
Ron.