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.
Recoverable fatal error: Argument 3 passed to l() must be of the type array, null given, called in includes/menu.inc on line 2603 and defined in l() (line 2488 of includes/common.inc).
Issue occurs in a very specific scenario of context module. Below are the steps to reproduce
- Context Module should be enabled.
- Add a new context
- Select user roles from the Conditions section
- Check all/few user roles
- From reactions, please select “Menu”
- Choose "None” from the menu
- Save the context.
- Go to user/edit page
- It throws error page
Please refer attached screenshot as a reference for configuration
Comment | File | Size | Author |
---|---|---|---|
#2 | 2530404-error-in-menu-load.patch | 623 bytes | RavindraSingh |
#1 | Screen Shot 2015-07-09 at 10.35.53 PM.png | 74.16 KB | RavindraSingh |
Comments
Comment #1
RavindraSingh CreditAttribution: RavindraSingh as a volunteer and at Srijan | A Material+ Company commentedComment #2
RavindraSingh CreditAttribution: RavindraSingh as a volunteer and at Srijan | A Material+ Company commentedAdded
In function get_active_paths() when there are no menu was selected from the content reaction.
Comment #4
RavindraSingh CreditAttribution: RavindraSingh as a volunteer and at Srijan | A Material+ Company commentedIt needs a test updates also. I will update this ASAP.