Okay
  Public Ticket #2158994
qode_is_main_menu_set
Closed

Comments

  • joshmcconnell77 started the conversation

    Hi, I'm upgrading an older website using bridge theme 13.5 to the most recent version 18+. The active theme is a Bridge child theme which was programmed for a much older version of bridge.

    One of the errors I'm receiving is: function qode_is_main_menu_set is undefined in header.php

    Can you tell me what function in version 18 replaces qode_is_main_menu_set functionality and is there any documentation that would help me resolve this and similar issues?

    Thanks

  •  580
    Qode replied

    Hello,

    Welcome to your support management and thank you for choosing our theme!

    Thanks for the detailed explanation of the issue.

    When it comes to child theme adjustments and how version 18+ affects them, you can read about it here:

    Bridge 18.0 update and child theme changes

    Basically, the prefixes of the functions had to be changed, but the functions themselves aren't. So in your case, instead of qode_is_main_menu_set you would need to name the function to bridge_qode_is_main_menu_set.

    Try changing your functions' titles as suggested in the article, and if you still have issues afterwards, please let us know.

    Best regards,

    John


    Explore our collection of 300+ premium WordPress themes on the Qode Interactive website.

    Don’t forget to sign up for our newsletter and be the first to find out all the latest news.