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

  • Resolved 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


    Hello @yourbudweiser,

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


    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.

    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.


    • This reply was modified 1 year, 1 month 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.