Closed (fixed)
Project:
Drupal core
Component:
comment.module
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
25 Jan 2005 at 03:25 UTC
Updated:
5 Oct 2005 at 22:00 UTC
Jump to comment: Most recent file
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) commentedComment #2
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 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 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 commentedCommitted to HEAD. Thanks.
Comment #6
(not verified) commentedComment #7
(not verified) commentedComment #8
(not verified) commented