The new code throws a PHP error for

array_shift(): The argument should be an array in nodequeue.module on line 2593.

Removing the array_shift and returning this line of code to the previous version fixes the problem. Not sure of the reason why it was changed or the effects of reverting, but it doesn't work as it is.

CommentFileSizeAuthor
#1 490130.patch855 bytesezra-g

Comments

ezra-g’s picture

Priority: Critical » Normal
Status: Active » Needs review
StatusFileSize
new855 bytes

The attached patch fixes the problem. Does this resolve the problem for you?

ezra-g’s picture

Title: Latest update breaks nodequeue_view_random_node » array_shift error on nodequeue_view_random_node
Status: Needs review » Fixed

This is committed.

Status: Fixed » Closed (fixed)

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