Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
warning: array_merge() [function.array-merge]: Argument #1 is not an array in /Web/cybertrib.com/..../includes/menu.inc on line 349.
(I am using PHP 5 :)
Comment | File | Size | Author |
---|---|---|---|
#4 | comment_16.patch | 828 bytes | killes@www.drop.org |
#2 | menu.inc_2.patch | 596 bytes | townxelliot |
Comments
Comment #1
(not verified) CreditAttribution: commentedComment #2
townxelliot CreditAttribution: townxelliot commentedAs far as I can tell, this bug is still not fixed in the latest (as of today) CVS version. I've attached a patch for it (diff -Nur, as I couldn't work out what the preferred patch format for Drupal is). I found the error occurred when running under PHP 5 and attempting to rollback to a previous revision of a node.
Comment #3
Dries CreditAttribution: Dries commentedI think we can avoid having to do the array_merge() in this case. Would be nice if you could a slightly cleaner solution. It might be possible.
Comment #4
killes@www.drop.org CreditAttribution: killes@www.drop.org commentedthis is a bug somewhere else. A menu entry defines callback arguments that are not wrapped in an array. Either a contrib module or comment module. Patch attached.
Comment #5
Dries CreditAttribution: Dries commentedCommitted to HEAD. Thanks.
Comment #6
(not verified) CreditAttribution: commentedComment #7
(not verified) CreditAttribution: commentedComment #8
(not verified) CreditAttribution: commented