From time to time (for example, when listing the Nodequeues) I get this error message:

warning: array_shift() [function.array-shift]: The argument should be an array in /public_html/fr/sites/all/modules/nodequeue/nodequeue.module on line 1713.

I can't work out exactly when this message appears, and it doesn't appear to stop Nodequeue from working, but it is annoying.

CommentFileSizeAuthor
#6 subqueue_load.patch617 bytesmcarbone

Comments

winggundamth’s picture

I confirm this issue too. Nothing problem from this issue but it happen when I edit nodequeue.

ezra-g’s picture

Status: Active » Fixed

I committed a fix for this. Please re-open if this doesn't address the problem. Thanks!

Status: Fixed » Closed (fixed)

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

mcarbone’s picture

Status: Closed (fixed) » Active

The same fix needs to be applied to the subqueue_load function right below your other fix.

mcarbone’s picture

Version: 6.x-2.5 » 6.x-2.9
mcarbone’s picture

Status: Active » Needs review
StatusFileSize
new617 bytes

Here's a patch.

AdrianB’s picture

This happens on one of my sites.

warning: array_shift() [function.array-shift]: The argument should be an array in /path-to-drupal/sites/all/modules/nodequeue/nodequeue.module on line 1724.

I'll try the patch from mcarbone in #6 and see if that helps.

ezra-g’s picture

Version: 6.x-2.9 » 7.x-2.x-dev
Status: Needs review » Patch (to be ported)

Committed - Thanks!

ezra-g’s picture

ezra-g’s picture

Status: Patch (to be ported) » Fixed

Committed to HEAD. Thanks!

http://drupal.org/cvs?commit=474700

Status: Fixed » Closed (fixed)

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