Using module_invoke for Menu causes Undefined index notice
It is caused from the following line, executed from menu_block_view().

$data['subject'] = check_plain($menus[$delta]);


$delta is the value you pass as last argument to module_invoke().

It means there isn't any menu with that ID, or you misspelled the menu ID. Try with main_menu, for example.