Closed (fixed)
Project:
Aurora
Version:
7.x-3.1
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Oct 2012 at 21:22 UTC
Updated:
8 Jul 2013 at 14:54 UTC
Hi!
Get a PHP notice with the latest version [still].
Notice: Undefined variable: comment in aurora_preprocess_comment() (line 287 of /home/cleinoff/code/fgenterprise/webroot/sites/all/themes/aurora/template.php).
I just hack it to make $comment "$variables['comment']" instead, and check for it first.
Comments
Comment #1
Snugug commentedI'll take a look.
Comment #2
Offlein commentedThanks Sam! :)
Comment #3
Offlein commentedSorry -- in other news, there's a similar issue with "aurora/templates/views/views-view-fields.tpl.php"
It seems like the $content_unwrapped variable is no longer reliable?
Comment #4
Snugug commentedViews templates have been removed for the time being from Aurora, so the Views stuff is no longer supported. I'm looking into comment, it was not something we touched in 7-2.2
Comment #5
Snugug commentedFixed pending the next Aurora update.
Comment #7
caponey commentedI am getting this in 2.7
if I uncheck to have user pictures in comment, the error goes away.
Comment #8
samheuck commentedThis still seems to be an issue in 7.x-3.1
This also seems to be breaking the gravatar module...
Comment #9
Offlein commentedYou should switch to the excellent Bootstrap theme. Over a beer last night Snugug told me that he will only use Bootstrap going forward and, frankly, he's considering giving up responsive design altogether. He's also been sleeping more lately, has less of an appetite, and is overall having difficulty seeing "why anything matters".
Just kidding, of course.
Comment #10
Snugug commentedemuSHack, we will take a look.
Comment #11
Snugug commentedResolved with
d0dfa01Comment #11.0
Snugug commentedClarifying.