This is on my frontpage:

* warning: array_keys() [function.array-keys]: The first argument should be an array in /home/mylivepr/public_html/modules/nodequeue-5.x-2.5/nodequeue/authorqueue.module on line 64.
* warning: array_intersect() [function.array-intersect]: Argument #2 is not an array in /home/mylivepr/public_html/modules/nodequeue-5.x-2.5/nodequeue/authorqueue.module on line 64.
* warning: array_keys() [function.array-keys]: The first argument should be an array in /home/mylivepr/public_html/modules/nodequeue-5.x-2.5/nodequeue/authorqueue.module on line 64.
* warning: array_intersect() [function.array-intersect]: Argument #2 is not an array in /home/mylivepr/public_html/modules/nodequeue-5.x-2.5/nodequeue/authorqueue.module on line 64.
* warning: array_keys() [function.array-keys]: The first argument should be an array in /home/mylivepr/public_html/modules/nodequeue-5.x-2.5/nodequeue/authorqueue.module on line 64.
* warning: array_intersect() [function.array-intersect]: Argument #2 is not an array in /home/mylivepr/public_html/modules/nodequeue-5.x-2.5/nodequeue/authorqueue.module on line 64.
* warning: array_keys() [function.array-keys]: The first argument should be an array in /home/mylivepr/public_html/modules/nodequeue-5.x-2.5/nodequeue/authorqueue.module on line 64.
* warning: array_intersect() [function.array-intersect]: Argument #2 is not an array in /home/mylivepr/public_html/modules/nodequeue-5.x-2.5/nodequeue/authorqueue.module on line 64.

CommentFileSizeAuthor
#1 416214.patch731 bytesezra-g

Comments

ezra-g’s picture

Title: Why am I getting an array error? » Authorqueue.module: Argument 2 is not an array
Status: Active » Needs review
StatusFileSize
new731 bytes

Probably because that line uses a null $user object instead of the loaded $account object. Does the attached patch resolve the errors?

ezra-g’s picture

Status: Needs review » Fixed

This is committed.

Status: Fixed » Closed (fixed)

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