Issue after using php codes for adding navigation menus

Hi!

I used the teachings from this blog post https://premium.wpmudev.org/blog/add-menus-to-wordpress/?utm_expid=3606929-89.qobzZlXrS1uV61bna13Vlw.0&utm_referrer=https%3A%2F%2Fwww.google.ee%2F

to add more submenus. It resulted in the web page showing up fully blank ( consultius.ee).

The theme I am using is X-theme by themeco.

The parent theme functions php file looks like this:

<?php

// =============================================================================

// FUNCTIONS.PHP

//


// Theme functions for X.

// =============================================================================

// =============================================================================

// TABLE OF CONTENTS

//


// 01. Set Paths

// 02. Require Files

// =============================================================================

// Set Paths

// =============================================================================

$func_path = ‘framework/functions’;

$glob_path = ‘framework/functions/global’;

$admn_path = ‘framework/functions/global/admin’;

$eque_path = ‘framework/functions/global/enqueue’;

$plgn_path = ‘framework/functions/global/plugins’;

// Require Files

// =============================================================================

//

// Debugging, conditionals, helpers, and stack data.

//

require_once( $glob_path . ‘/debug.php’ );

require_once( $glob_path . ‘/conditionals.php’ );

require_once( $glob_path . ‘/helper.php’ );

require_once( $glob_path . ‘/stack-data.php’ );

require_once( $glob_path . ‘/tco-setup.php’ );

//

// Admin.

//

require_once( $admn_path . ‘/thumbnails/setup.php’ );

require_once( $admn_path . ‘/setup.php’ );

require_once( $admn_path . ‘/migration.php’ );

require_once( $admn_path . ‘/meta/setup.php’ );

require_once( $admn_path . ‘/sidebars.php’ );

require_once( $admn_path . ‘/widgets.php’ );

require_once( $admn_path . ‘/custom-post-types.php’ );

require_once( $admn_path . ‘/customizer/setup.php’ );

require_once( $admn_path . ‘/addons/setup.php’ );

//

// Enqueue styles and scripts.

//

require_once( $eque_path . ‘/styles.php’ );

require_once( $eque_path . ‘/scripts.php’ );

//

// Global functions.

//

require_once( $glob_path . ‘/meta.php’ );

require_once( $glob_path . ‘/featured.php’ );

require_once( $glob_path . ‘/pagination.php’ );

require_once( $glob_path . ‘/navbar.php’ );

require_once( $glob_path . ‘/breadcrumbs.php’ );

require_once( $glob_path . ‘/classes.php’ );

require_once( $glob_path . ‘/portfolio.php’ );

require_once( $glob_path . ‘/social.php’ );

require_once( $glob_path . ‘/content.php’ );

require_once( $glob_path . ‘/remove.php’ );

//

// Stack specific functions.

//

require_once( $func_path . ‘/integrity.php’ );

require_once( $func_path . ‘/renew.php’ );

require_once( $func_path . ‘/icon.php’ );

require_once( $func_path . ‘/ethos.php’ );

//

// Integrated plugins.

//

require_once( $plgn_path . ‘/cornerstone.php’ );

if ( X_BBPRESS_IS_ACTIVE ) {

require_once( $plgn_path . ‘/bbpress.php’ );

}

if ( X_BUDDYPRESS_IS_ACTIVE ) {

require_once( $plgn_path . ‘/buddypress.php’ );

}

if ( X_CONVERTPLUG_IS_ACTIVE ) {

require_once( $plgn_path . ‘/convertplug.php’ );

}

if ( X_ENVIRA_GALLERY_IS_ACTIVE ) {

require_once( $plgn_path . ‘/envira-gallery.php’ );

}

if ( X_ESSENTIAL_GRID_IS_ACTIVE ) {

require_once( $plgn_path . ‘/essential-grid.php’ );

}

if ( X_LAYERSLIDER_IS_ACTIVE ) {

require_once( $plgn_path . ‘/layerslider.php’ );

}

if ( X_REVOLUTION_SLIDER_IS_ACTIVE ) {

require_once( $plgn_path . ‘/revolution-slider.php’ );

}

if ( X_SOLILOQUY_IS_ACTIVE ) {

require_once( $plgn_path . ‘/soliloquy.php’ );

}

if ( X_VISUAL_COMOPSER_IS_ACTIVE ) {

require_once( $plgn_path . ‘/visual-composer.php’ );

}

if ( X_WOOCOMMERCE_IS_ACTIVE ) {

require_once( $plgn_path . ‘/woocommerce.php’ );

}

if ( X_WPML_IS_ACTIVE ) {

require_once( $plgn_path . ‘/wpml.php’ );

}

if ( X_UBERMENU_IS_ACTIVE ) {

require_once( $plgn_path . ‘/ubermenu.php’ );

}

if ( X_THE_GRID_IS_ACTIVE && x_is_validated() ) {

require_once( $plgn_path . ‘/the-grid.php’ );

}

if ( X_EP_PAYMENT_FORM_IS_ACTIVE ) {

require_once $plgn_path . ‘/estimation-form.php’;

}

function register_my_menus() {

register_nav_menus(

array(

‘new-menu’ => __( ‘LisaMenüü1’ ),

‘another-menu’ => __( ‘LisaMenüü2’ ),

‘an-extra-menu’ => __( ‘LisaMenüü3’ ),

‘2-menu’ => __( ‘LisaMenüü4’ ),

‘3-menu’ => __( ‘LisaMenüü4’ ),

‘4-menu’ => __( ‘LisaMenüü5’ ),

‘5-menu’ => __( ‘LisaMenüü6’ ),

‘6-menu’ => __( ‘LisaMenüü7’ ),

‘7-menu’ => __( ‘LisaMenüü8’ ),

‘7-menu’ => __( ‘LisaMenüü9’ ),

‘8-menu’ => __( ‘LisaMenüü10’ ),

)

);

}

add_action( ‘init’, ‘register_my_menus’ );

/*

header.php of the parent theme looks like this:

//<?php

// =============================================================================

// HEADER.PHP

//


// The site header. Variable output across different stacks.

//

// Content is output based on which Stack has been selected in the Customizer.

// To view and/or edit the markup of your Stack’s index, first go to “views”

// inside the “framework” subdirectory. Once inside, find your Stack’s folder

// and look for a file called “wp-header.php,” where you’ll be able to find the

// appropriate output.

// =============================================================================

//?>

<?php x_get_view( x_get_stack(), ‘wp’, ‘header’ ); ?>

<?wp_nav_menu( array( ‘theme_location’ => ‘new-menu’, ‘container_class’ => ‘new_menu_class’ ) ); ?>

<?wp_nav_menu( array( ‘theme_location’ => another-menu’, ‘container_class’ => ‘new_menu_class’ ) ); ?>

<?wp_nav_menu( array( ‘theme_location’ => ‘an-extra-menu’, ‘container_class’ => ‘new_menu_class’ ) ); ?>

<?wp_nav_menu( array( ‘theme_location’ => ‘2-menu’, ‘container_class’ => ‘new_menu_class’ ) ); ?>

<?wp_nav_menu( array( ‘theme_location’ => ‘3-menu’, ‘container_class’ => ‘new_menu_class’ ) ); ?>

<?wp_nav_menu( array( ‘theme_location’ => ‘4-menu’, ‘container_class’ => ‘new_menu_class’ ) ); ?>

<?wp_nav_menu( array( ‘theme_location’ => ‘5-menu’, ‘container_class’ => ‘new_menu_class’ ) ); ?>

<?wp_nav_menu( array( ‘theme_location’ => ‘6-menu’, ‘container_class’ => ‘new_menu_class’ ) ); ?>

<?wp_nav_menu( array( ‘theme_location’ => ‘7-menu’, ‘container_class’ => ‘new_menu_class’ ) ); ?>

<?wp_nav_menu( array( ‘theme_location’ => ‘8-menu’, ‘container_class’ => ‘new_menu_class’ ) ); ?>

How can I fix this besides deleting this code and child theme folder I created?