wp_nav_menu doesn’t work in a duplicate server
The menu data is in the database. In order to have an exact copy, you need to copy the files and all the items in the database as well. Verify if all the needed elements from the database are present in the wordpress admin and or with phpmyadmin. Alternatively, after these lines in your PHP … Read more