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.
I am seeing the same issue as described in https://www.drupal.org/node/2421645 with menu_block. However the solution isn't working. After a little investigation I discovered the reason I am seeing this is being introduced from the patch applied in http://drupal.org/node/2567875. If I change the FALSE value to an array in the call to menu_tree_prune_tree in menu_tree_block_data it seems to work for me. Patch to follow.
Comment | File | Size | Author |
---|---|---|---|
#7 | argument_3_passed_to-2687299-5.patch | 7.22 KB | natew |
#3 | argument_3_passed_to-2687299-3.patch | 7.39 KB | sylus |
#2 | menu_block-arg_3_menu_tree_prune_tree_must_be_array-2687299-2.patch | 497 bytes | natew |
Comments
Comment #2
natew CreditAttribution: natew commentedHere is the patch for menu_block, this assumed the patch in http://drupal.org/node/2567875 has been applied.
Comment #3
sylus CreditAttribution: sylus commentedAttaching updated patch with changes.
Comment #4
sylus CreditAttribution: sylus commentedFixed!
Comment #7
natew CreditAttribution: natew commentedre-spin for latest menu_block