I have installed and configured the ticket system, however when I am logged in as a standard authenticated user, I receive the following message repeated multiple times on the top in red. I have also checked the permissions. What am I missing:
Notice: Undefined variable: user in support_query_alter() (line 2296 of /home/content/43/8213643/html/sites/all/modules/support/support.module).
Notice: Trying to get property of non-object in support_query_alter() (line 2296 of /home/content/43/8213643/html/sites/all/modules/support/support.module).
Notice: Undefined variable: user in support_query_alter() (line 2296 of /home/content/43/8213643/html/sites/all/modules/support/support.module).
Notice: Trying to get property of non-object in support_query_alter() (line 2296 of /home/content/43/8213643/html/sites/all/modules/support/support.module).
Notice: Undefined variable: user in support_query_alter() (line 2296 of /home/content/43/8213643/html/sites/all/modules/support/support.module).
Notice: Trying to get property of non-object in support_query_alter() (line 2296 of /home/content/43/8213643/html/sites/all/modules/support/support.module).
Notice: Undefined variable: user in support_query_alter() (line 2296 of /home/content/43/8213643/html/sites/all/modules/support/support.module).
Notice: Trying to get property of non-object in support_query_alter() (line 2296 of /home/content/43/8213643/html/sites/all/modules/support/support.module).
Notice: Undefined variable: user in support_query_alter() (line 2296 of /home/content/43/8213643/html/sites/all/modules/support/support.module).
Notice: Trying to get property of non-object in support_query_alter() (line 2296 of /home/content/43/8213643/html/sites/all/modules/support/support.module).
Notice: Undefined variable: user in support_query_alter() (line 2296 of /home/content/43/8213643/html/sites/all/modules/support/support.module).
Notice: Trying to get property of non-object in support_query_alter() (line 2296 of /home/content/43/8213643/html/sites/all/modules/support/support.module).
| Comment | File | Size | Author |
|---|---|---|---|
| 9-22-2011 12-34-05 PM.png | 114.5 KB | jlevinson |
Comments
Comment #1
jeremy commentedCan you try with 7.x-1.0-beta1? If the error is still there, it will give us a proper line number.
Comment #2
jlevinson commentedI get the exact same error with both versions.
This error appears on every page in on the home page.
Comment #3
jlevinson commentedi have tried to reset permissions and disabled a bunch of modules, but no luck. Any Ideas?
Comment #4
bdragon commentedFixed, thanks for the report.
http://drupalcode.org/project/support.git/commit/c473e764e41ff77f880a4e7...
I forgot to pull in global $user before using it.
Comment #5
jlevinson commentedGreat! Thanks for the quick patch. Works perfectly!!