Closed (fixed)
Project:
Support Ticketing System
Version:
6.x-1.3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
29 Dec 2009 at 16:39 UTC
Updated:
24 Jun 2011 at 11:13 UTC
After Core-Update to 6.15 and Module-Update to 6.x-1.3 I get a "Fatal error: Unsupported operand types in .../modules/system/system.module on line 627" message when attempting to access the Adminstration Section of the "Support ticketing system".
To clear that issue I ran update.php several times without avail. Log doesn't show anything which seems to be connected with that issue.
Any ideas? Thanks!
Comments
Comment #1
jeremy commentedIt seems to be a menu/block issue. Try going to Administer >> Site configuration >> Performance and press "Clear cached data". Does that help?
Comment #2
connellc commentedClearing cached data does not help.
Comment #3
connellc commentedComment #4
jhezsie20 commentedHow was this fixed? I'm also experiencing this problem whenever I create a ticket. Hope someone will help, thanks!
Comment #5
husztisanyi commentedClearing cache did help me.
Comment #6
jpmizell commentedI'm finding this error occurs when permissions are set for the user role to 'create ticket' but not 'access tickets.' In my case the role is anonymous.
I added: Permission>support module>access Node Type tickets | for anonymous user. Error code appeared after refresh and then disappeared. Add node page returned to add node (with create ticket permission checked. with create ticket permission unchecked page shows 'access denied'=working)
I don't want anonymous users to have access to ALL tickets, however I think with CCK field permissions I can control anonymous visibility of sensitive information. I am assuming node titles, ticket attributes, and ticket updates may still be visible though.
-------------------Show Your (my) Work---------------------------
"Fatal error: Unsupported operand types in /home/user/domain/sites/all/modules/support/support.module on line 2048" occurs when I point an anonymous user to http://domain/node/add/support-ticket.
Authenticated users (including admin) see multiple page errors in duplicate of:
warning: key() [function.key]: Passed variable is not an array or object in /home/user/domain/sites/all/modules/support/support.module on line 3147.
warning: key() [function.key]: Passed variable is not an array or object in /home/user/domain/sites/all/modules/support/support.module on line 2044.
I'm running Drupal 6.20, 0 nodes, 2 users, many modules installed with browsers: Firefox 3.6.13, Safari 5.0.3 (6533.19.4), Chrome 9.0.597.107. I cleared cache twice through Admin>Site Config>Performance. No Change
Comment #7
peter.bod commentedI had the same problem: "Fatal error: Unsupported operand types in support.module on line 2048". In the User Management -> Permissions - I have ticked "administer support" for a user that I wanted to grand access to for creating tickets. Problem disappeared.
Comment #8
asgaya commentedI had the same problem.
My problem was that i don't have any client define in Support ticketing system-->Clients.
I add new client and no more errors.
Visit my blog www.informaticaasgaya.com
Comment #9
mshepherd commentedA possible workaround for the case where anonymous users need to be able to create support tickets:
Define a client called something like "no-client"
Allow anonymous users to access no-client tickets and create tickets
This stops the error message appearing.