Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I'm getting the following error with menu block and drupal commerce.
Undefined index: menu-store-products in menu_tree_build() (line 524 of C:\Users\Nick\Sites\devdesktop\psr3\sites\all\modules\menu_block\menu_block.module).
. I think this is related to this issue Unsupported operand types with system module and drupal commerce, I ran the following code to get rid of the "Operand Error" Fatal error per comment #22
db_update('menu_links')
->expression('router_path', 'link_path')
->condition('menu_name', 'management')
->condition('link_path', db_like('admin/commerce') . '%', 'LIKE')
->where('link_path <> router_path')
->execute();
.
Comments