WordPress – Fixed issue with Menu import in PHP 7

When you import demo content, all things as Page, Post, Custom Post type, Category is working well but only menu does not import How to fix it? In plugin WordPress Importer version 0.6.3  open file wordpress-importer.php. In function process_menu_item line 884. Replace foreach ( $item['postmeta'] as $meta ) $$meta['key'] =