• Resolved Taro

    (@sicktb)


    I tryed to copy the following on a template page

    <?php echo do_shortcode( ‘[responsive-menu menu=”test”]’ ); ?>

    All works great… ??

    For your information i get the following errors:

    Notice: Undefined index: rm in /htdocs/www/wp-content/plugins/responsive-menu/app/controllers/HTMLController.php on line 37

    Notice: Undefined index: title in /htdocs/www/wp-content/plugins/responsive-menu/app/controllers/HTMLController.php on line 43

    Notice: Undefined index: title_link in /htdocs/www/wp-content/plugins/responsive-menu/app/controllers/HTMLController.php on line 46

    Notice: Undefined index: title_open in /htdocs/www/wp-content/plugins/responsive-menu/app/controllers/HTMLController.php on line 49

    Notice: Undefined index: html in /htdocs/www/wp-content/plugins/responsive-menu/app/controllers/HTMLController.php on line 52

    Notice: Undefined index: html_loc in /htdocs/www/wp-content/plugins/responsive-menu/app/controllers/HTMLController.php on line 55

    Notice: Undefined index: title_img in /htdocs/www/wp-content/plugins/responsive-menu/app/controllers/HTMLController.php on line 58

    Notice: Undefined index: search_loc in /htdocs/www/wp-content/plugins/responsive-menu/app/controllers/HTMLController.php on line 61

    Notice: Undefined index: btn_img in /htdocs/www/wp-content/plugins/responsive-menu/app/controllers/HTMLController.php on line 64

    Notice: Undefined index: btn_img_clicked in /htdocs/www/wp-content/plugins/responsive-menu/app/controllers/HTMLController.php on line 67

    Notice: Undefined index: btn_title in /htdocs/www/wp-content/plugins/responsive-menu/app/controllers/HTMLController.php on line 70

    https://www.ads-software.com/plugins/responsive-menu/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor responsivemenu

    (@responsivemenu)

    Hi there,

    I’ll take a look at that tomorrow for you as I think I know what the issue is.

    If you want to try it yourself can you try the following and letting me know if it fixes it, otherwise I’ll do it myself and check:

    if( isset( $args[‘rm’] ) )
    $args[‘RM’] = $args[‘rm’];

    Basically you are just wrapping every $args variable inside the if statement with an isset check.

    All the best

    Thread Starter Taro

    (@sicktb)

    That fixed the error,…but then you get the same errors on line 84,90,96,102,108,114,120,126,132,138

    Thread Starter Taro

    (@sicktb)

    this will fix all errors….: pastebin

    Plugin Contributor responsivemenu

    (@responsivemenu)

    Hi Taro,

    Yes I didn’t mean to just do the first one – I meant all of them.

    Thanks for confirming it fixes it, I will update for the next version.

    All the best

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Notice: Undefined index’ is closed to new replies.