php error - warning: array_shift: The argument should be an array (line 266)

dugh - July 31, 2008 - 22:18
Project:Smartqueue Per User
Version:6.x-6.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:ezra-g
Status:closed
Description

I installed nodequeue and this module, enabled them, then went to my account page while logged in as the admin and saw this error:

warning: array_shift() [function.array-shift]: The argument should be an array in /var/www/sites/all/modules/smartqueue_users/smartqueue_users.module on line 266.

#1

ezra-g - August 1, 2008 - 02:02
Status:active» needs review

Thanks for trying out this module!

That's happening because the admin user does not have a nodequeue. This patch should resolve the issue.

AttachmentSize
289752.patch 1.23 KB

#2

ezra-g - August 2, 2008 - 03:12
Status:needs review» reviewed & tested by the community

Committed. This will be cleared up in the next release. Leaving as RTBC until that release is made.

#3

ezra-g - August 12, 2008 - 21:14
Assigned to:Anonymous» ezra-g
Status:reviewed & tested by the community» fixed

New release will be available shortly.

#4

ezra-g - August 14, 2008 - 20:11
Version:5.x-0.3» 6.x-6.x-dev
Status:fixed» patch (to be ported)

#5

ezra-g - August 16, 2008 - 17:20
Status:patch (to be ported)» fixed

#6

Anonymous (not verified) - August 30, 2008 - 17:22
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.