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
Thanks for trying out this module!
That's happening because the admin user does not have a nodequeue. This patch should resolve the issue.
#2
Committed. This will be cleared up in the next release. Leaving as RTBC until that release is made.
#3
New release will be available shortly.
#4
#5
#6
Automatically closed -- issue fixed for two weeks with no activity.