Closed ok-steve closed 5 years ago
Maybe scope creep, but I noticed that visiting an individual event page (e.g. /news-events/events/getting-started-blackboard-45-minutes-24) also gives me a single dblog line: Notice: Only variables should be passed by reference in include() (line 116 of /path/to/drupal/build/sites/all/themes/libsite7b/templates/node--events.tpl.php)
though I don't see some include()
function on line 116 myself, so I clearly don't understend the issue.
I've updated the theme to fix the additional error.
Looks good on both my dev and Will's VM. Thanks!
Shantay, you stay. :cake:
Haven't tested on a php5 VM like prod, so I'm assuming this should be merged to master at the time that we're ready to make the Ubuntu 18 cut-over.
This should fix the dblog error. It just checks whether the GET request has an 'nid' key and sets the $nid variable to NULL. It's a similar problem to all the dblog issues that were in the modules
Fixes #173