Closed (works as designed)
Project:
Quiz
Version:
6.x-5.x-dev
Component:
Code - Quiz module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Mar 2011 at 22:40 UTC
Updated:
6 Mar 2011 at 23:49 UTC
Fresh install of drupal and quiz module. I get the following error on every page dealing with a quiz.
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'quiz_type_confirm' was given in /home/gcworld/public_html/includes/menu.inc on line 452.
I don't see how that should be messing with the menu, but who knows.
I had some super crazy error on one of the admin pages, but I can't seem to reproduce it. It was regarding a missing table.
I plan on writing a basic quiz to restrict user registrations to people that can pass the quiz.
Comments
Comment #1
falcon commentedAre the version information (6.x-5.x) correct? If so you should install the recommended version 4.x instead. Quiz 6.x-5.x is an inactive branch
Comment #2
GameCharmer commentedIs there anything special involved with downgrading?
I typically install the latest versions in order to prevent as many errors as possible.
UPDATE:
Well, now I'm getting this error again...
Fatal error: Unsupported operand types in /home/gcworld3/public_html/_domains/gcworldind/sites/all/modules/views_bulk_operations/user_roles.action.inc on line 61
I have an action set up to add a role to a user since I can't get the quiz req module to work. For some reason, when using quiz requirement to register, I get 403 errors, and the site is duplicated in display with the entire header, standard registration screen, etc, below the 403 error.
I used the 6.x-5.x module as it was working fine with views. Seeing as how I kinda need views, should I try downgrading views or dropping the quiz module in favor or some other type of test system?
Comment #3
falcon commentedDid you use git or something? The safest thing is probably to uninstall the module, remove any remaining database tables starting with quiz manually, and then install Quiz 4.
Comment #4
GameCharmer commentedSorry, updated my previous post.
I performed a standard uninstall, removed all module files, then deleted the database tables. Well, the above is what I'm getting now. Is this a views/quiz issue, views/actions issue, etc?
Comment #5
GameCharmer commentedUPDATE:
Downgraded VBO, now I get...
Fatal error: Unsupported operand types in /home/gcworld3/public_html/_domains/gcworldind/sites/all/modules/views_bulk_operations/user_roles.action.inc on line 69
Line number changed, but still the same error.