• Resolved netmansam

    (@netmansam)


    Error:

    Fatal error: Call to a member function setValue() on a non-object in /wp-content/plugins/responsive-menu/src/app/View/FrontView.php on line 64

    I call RM inside template using:
    echo do_shortcode( '[responsive_menu RM="menu-1"]' );

    This error just happens on the upgrade from 3.0.12 to 3.0.13

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

    (@responsivemenu)

    Hi there,

    RM is not a shortcode attribute and hasnt been since version 2.8.

    Please try using “menu_to_use” as the attribute instead and let me know if that fixes the issue.

    All the best

    Thread Starter netmansam

    (@netmansam)

    That works, thank you. In the upgrade guide to 3.0 I saw to change hyphen to underscore, but did not catch that attribute names had also changed.

    Thanks again!

    Plugin Contributor responsivemenu

    (@responsivemenu)

    Hey there,

    Not a problem and glad that got it working for you!

    All the best

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘FrontView.php shortcode fatal error when upgrading 3.0.12 to 3.013’ is closed to new replies.