Error when New user registers
| Project: | Smartqueue Per User |
| Version: | 5.x-0.6 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | ezra-g |
| Status: | postponed (maintainer needs more info) |
Jump to:
When a new user registers, the following errors are generated:
warning: array_keys() [function.array-keys]: The first argument should be an array in /Users/ezra/Developer/htdocs/dev/nq/sites/all/modules/smartqueue_users/smartqueue_users.module on line 255.
warning: array_merge() [function.array-merge]: Argument #1 is not an array in /Users/ezra/Developer/htdocs/dev/nq/sites/all/modules/smartqueue_users/smartqueue_users.module on line 255.
warning: array_flip() [function.array-flip]: The argument should be an array in /Users/ezra/Developer/htdocs/dev/nq/sites/all/modules/smartqueue_users/smartqueue_users.module on line 255.
warning: array_intersect_key() [function.array-intersect-key]: Argument #2 is not an array in /Users/ezra/Developer/htdocs/dev/nq/sites/all/modules/smartqueue_users/smartqueue_users.module on line 256.

#1
Fiyaxed.
#2
Automatically closed -- issue fixed for two weeks with no activity.
#3
I'm getting those errors/warnings when a new user signs up (and subqueue for the user is not created). The subqueue is created with no errors by admin running the batch "Create new NodeQueues" function.
Running:
Smartqueue: 5.x-0.6
PHP Version : 5.2.6
MySQL Version : 4.1.20
#4
Are you using the latest release of smartqueue_users and nodequeue?
#5
Yep, I am using Smartqueue 5.x-0.6 and Nodequeue 5.x-2.5. I see there is a new version of Nodequeue (5.x-2.6) on May 1. Seeing this original issue was listed well before the latest nodequeue i figured it didn't apply, I'll upgrade and give it a shot.
Update:
Tried again with latest nodequeue installed:
# warning: array_keys() [function.array-keys]: The first argument should be an array in C:\wamp\www\study\sites\all\modules\smartqueue_users\smartqueue_users.module on line 255.
# warning: array_merge() [function.array-merge]: Argument #1 is not an array in C:\wamp\www\study\sites\all\modules\smartqueue_users\smartqueue_users.module on line 255.
# warning: array_flip() [function.array-flip]: The argument should be an array in C:\wamp\www\study\sites\all\modules\smartqueue_users\smartqueue_users.module on line 255.
# warning: array_intersect_key() [function.array-intersect-key]: Argument #2 is not an array in C:\wamp\www\study\sites\all\modules\smartqueue_users\smartqueue_users.module on line 256.
#6
Any ideas?
#7
I just tested this on a clean install of drupal 5.16 with the latest Nodequeue and Smartqueue as the only modules. I get the same errors as above.