I am having this same issue. What can be done to resolve it? Here is the error as I receive it:
Notice: Undefined variable: term_fields in include() (line 25 of /home/oursite/public_html/testing/SSR_testingD7/themes/gamma/preprocess/preprocess-node.inc)
Comments
Comment #1
Bina Meusl commentedWe do have exaclty the same problem and if I remember well my colleague already opened a support request time ago. I tried to search for it, but could not find it.
Comment #2
mikeinvaldosta commentedAre you using panels? I am having the same issue and believe it is related to panels.
I am having the same issue, although it is not persistent. In fact I can to a degree predict when it happens.
My landing page is a panel and will produce this error when a new session is started, or when the prior page was another panel. When the prior page was a basic page or web form the error is not present.
This behavior is the same on all other pages. If the referring page was not a standard node (or it was external) the error shows. If a standard content node within the site was the referring page the error does not display.
Perhaps useless info: Another piece of information that may help with resolution: when the error displays the referring content was LANGUAGE: Language Nuetral
when the error doesn't show the referring content was LANGUAGE: Undefined language ()
Comment #3
mikeinvaldosta commentedby inserting:
$term_fields = '';
at line 12 of .../gamma/preprocess/preprocess-node.inc
I was able to resolve my issues
Comment #4
Cynthia Ewer commentedSubscribing.
Same issue is presenting with a clean install.
No panels.
Fix at post#3 did not resolve the problem.
EDITING TO CLARIFY:
Adding Post#3 fix to existing line 12 didn't work--but creating a NEW line 12 and adding the statement appears to have solved the problem.
Here's the code snip before and after:
Here's the code snip that appears to work:
Comment #5
cpelham commentedSame problem. Fix in #4 got rid of the error message.
Comment #6
nandt commentedsolved with 4#
thanks
Comment #7
mac_weber commentedsubscribing
Comment #8
alexmc commentedPerhaps this should be changed to a bug rather than a "support request" because it should be fixed in code in the next release.