Undefined variable in header
-
Hi, an undefined variable shows up as an error on my front end.
I don’t know what triggered it.The error message is
NOTICE: UNDEFINED VARIABLE: ADDITIONAL_MENU_CLASS IN /HOME3/IVINGNU5/PUBLIC_HTML/WP-CONTENT/THEMES/NEVE/HEADER-FOOTER-GRID/TEMPLATES/COMPONENTS/COMPONENT-NAV.PHP ON LINE 17These are lines 15-17 in the template code:
$_id = current_component( HeaderBuilder::BUILDER_NAME )->get_id();
$style = component_setting( Nav::STYLE_ID, ‘style-plain’ );
$additional_menu_class = apply_filters( ‘neve_additional_menu_class’, ‘ ‘ );How can I fix this?
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Undefined variable in header’ is closed to new replies.