I ran some checks on RAM on my machine and discovered this error "Error: (06/14/2020 12:45:54 PM) (Source: MariaDB) (User: ) Description: mysqld.exe: Table '.\test\wp_usermeta' is marked as crashed and should be repaired"
I have local WP install on localhost. Does this error somehow impact the fact that I am unable to stop auto add of new pages to primary menu even if I have 'Automatically add new top-level pages to this menu' unchecked?
EDITS:
function.php child theme
function archive_menu() {
register_nav_menu('archive_menu',__( 'Archive' ));
}
add_action( 'init', 'archive_menu' );
index.php child theme
<?php
wp_nav_menu(
array ( 'theme_location'=> 'archive_menu')
);?>