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'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