Support » Plugin: WP Responsive Menu » Undefined variable: wprmclass.php line 381

  • Resolved yourbudweiser

    (@yourbudweiser)


    Hi, installed the plugin, changed a few settings, getting the error when I open the menu:

    Notice: Undefined variable: menu in \wp-content\plugins\wp-responsive-menu\inc\wprmclass.php on line 381

    PHP version: 5.6.31
    WordPress version: 4.9.8
    WP Responsive Menu version: 3.0.4

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Magnigenie

    (@magnigenie)

    Hello @yourbudweiser,

    Really sorry for the issue you are having. We will check and update you on this issue.

    Regards

    Thread Starter yourbudweiser

    (@yourbudweiser)

    Hello, any news on this? I am pushing the site to production shortly and would really like to use this plugin.

    Hi I’m not involved in the dev of this plugin, but glancing at the code, it seems like it is not finding the corresponding WordPress menu it is currently set to find. (Perhaps it was set to a menu that was since deleted?).

    I would try going to the plugin settings and reselecting the menu it should pull from, making sure that the menu exists and trying a different menu if that doesn’t work.

    Probably the code around the error you are receiving should be checking to make sure it finds a match, but right now it is not.

    Thread Starter yourbudweiser

    (@yourbudweiser)

    Thanks for the tip tmdesigned.

    Although I only had one menu, I added an additional, empty WordPress menu and then refreshed the plugin settings page. The ‘Select menu’ option now showed both menus. I selected the new menu and the plugin started working as expected. I then deleted the additional, empty menu and the menu still works.

    Thanks!

    • This reply was modified 5 years, 6 months ago by yourbudweiser. Reason: Reply and mark as resolved
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Undefined variable: wprmclass.php line 381’ is closed to new replies.