• Resolved Schweizer Solutions GmbH

    (@schweizersolutions)


    Hi,

    our problem is, that we are not able to edit the menu, it doesn’t appear. In the browser console we see this error:

    Uncaught ReferenceError: columns is not defined
        at Object.initToggles (nav-menu.min.js:1)
        at Object.init (nav-menu.min.js:1)
        at HTMLDocument.<anonymous> (nav-menu.min.js:1)
        at i (jquery.js:2)
        at Object.fireWith [as resolveWith] (jquery.js:2)
        at Function.ready (jquery.js:2)
        at HTMLDocument.J (jquery.js:2)

    We did some debug on your code and found the line, which creates this error.

    File: …/wp-content/plugins/menu-icons/includes/picker.php
    Function: _save

    You use check_admin_referer( 'update-nav_menu', 'update-nav-menu-nonce' ); this in this function. The problem is, that check_admin_referer will exit the php script if it runs into a false.

    If we uncomment the line it works. Maybe you can fix this for the next update?

Viewing 1 replies (of 1 total)
  • Plugin Support Vytis

    (@bvytis)

    Hi there,

    Thank you for reporting this issue and apologies for the delayed reply.

    Could you please also provide the steps to recreate this error?

    Thank you!

Viewing 1 replies (of 1 total)
  • The topic ‘Menu not appearing – JS Error: columns is not defined’ is closed to new replies.