Custom Menu not working on Test Server

I need to add custom menus to the footer of a WordPress Site. Following a tutorial I updated my files as follows:


function register_my_menus() { register_nav_menus(     array(          'product-range' => __( 'Product Range' ),          'industry-types' => __( 'Industry Types' ),          'services' => __( 'Services' )      )  ); } add_action( 'init', 'register_my_menus' ); 


<div class="container">             <div class="col-3" style="float:left"><h3>Product Range</h3> <?wp_nav_menu( array( 'footer' => 'product-range', 'container_class' => 'footer-menu' ) ); ?></div>             <div class="col-3" style="float:left"><h3>Industry Type</h3>                 <?wp_nav_menu( array( 'footer' => 'industry-type', 'container_class' => 'footer-menu' ) ); ?></div>             <div class="col-3" style="float:left"><h3>Services</h3>                 <?wp_nav_menu( array( 'footer' => 'services', 'container_class' => 'footer-menu' ) ); ?></div>             <div class="col-3" style="float:left"><h3>Address/Social Media Stuff</h3></div> </div> 

This worked fine on my local development machine — I ended up with additional menus in the CMS that I could add to as required. However when I uploaded my custom theme to the test server I saw the following where the menu should be:

product-range', 'container_class' => 'footer-menu' ) ); ?>

Can anybody tell me why this isn’t working here?