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.

Comments

ezra-g’s picture

Status: Active » Fixed

Fiyaxed.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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

clockwood’s picture

Status: Closed (fixed) » Active

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

ezra-g’s picture

Status: Active » Postponed (maintainer needs more info)

Are you using the latest release of smartqueue_users and nodequeue?

clockwood’s picture

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.

clockwood’s picture

Any ideas?

clockwood’s picture

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.