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).

CommentFileSizeAuthor
9-22-2011 12-34-05 PM.png114.5 KBjlevinson

Comments

jeremy’s picture

Status: Active » Postponed (maintainer needs more info)

Can you try with 7.x-1.0-beta1? If the error is still there, it will give us a proper line number.

jlevinson’s picture

I get the exact same error with both versions.

This error appears on every page in on the home page.

jlevinson’s picture

i have tried to reset permissions and disabled a bunch of modules, but no luck. Any Ideas?

bdragon’s picture

Status: Postponed (maintainer needs more info) » Fixed

Fixed, thanks for the report.
http://drupalcode.org/project/support.git/commit/c473e764e41ff77f880a4e7...

I forgot to pull in global $user before using it.

jlevinson’s picture

Great! Thanks for the quick patch. Works perfectly!!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.