Closed (won't fix)
Project:
Drupal core
Version:
6.9
Component:
menu system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Jan 2009 at 12:54 UTC
Updated:
15 Jun 2011 at 15:54 UTC
Jump to comment: Most recent
Comments
Comment #1
Anonymous (not verified) commentedThis can easily be fixed (at least on my system) by changing the method l($text, $path, $options) as follows:
Change:
to:
Note: I am using captcha, captcha_pack, cck, i18n, imce, languageicons, print, simplenews, tinytinymce, views, views_slideshow
This happens if $options (as handed to l()) is not an array. Please be aware that the above "solution" simply throws away any non-array-options handed to l().
Traceback:
-- edit:
Reason for problem:
At least in my case the problem was related to ill defined menues. I am using language-constraints for menues (e.g. primary links contains all menue entries for multiple languages). One of those entries was ill-defined. After deleting this menu-entry everything works again, without changing l().
This problem could be fixed if calls to l() check "is_array" before using "+=" or if _menu_overview_tree_from() in menu.admin.inc would check $item['localized options'].
Comment #2
Anonymous (not verified) commented@Lenn-art: Which modules are you using? Could you please check for ill-defined menu-entries and for nodes, whose menu-entries cannot be changed?
Possibly related to / same as: http://drupal.org/node/328110
Comment #3
dave reidYou might want to try the solution in #328110: Recoverable fatal error: Argument 3 passed to l() must be an array.
Comment #4
dpearcefl commentedClosing this issue because of a lack of activity.