• Resolved wpdanilo

    (@wpdanilo)


    Good morning
    Today I installed the 1.4.7 update of the free version of your plugin on WordPress 7.0, and the plugin dashboard no longer appears but generates this error:

    Uncaught Error: Call to undefined method GroovyMenuSettings::dashboard()
    in /var/www/html/wordpress/wp-content/plugins/groovy-menu-free/includes/modules/core/inc/GroovyMenuSettings.php on line 831

    Call stack:

    1. GroovyMenuSettings::render()
      wp-includes/class-wp-hook.php:341
    2. WP_Hook::apply_filters()
      wp-includes/class-wp-hook.php:365
    3. WP_Hook::do_action()
      wp-includes/plugin.php:522
    4. do_action()
      wp-admin/admin.php:264

    which I captured with the Query Monitor plugin.

    And the php error log says countless times:

    • Warning: Undefined property: stdClass::$ID in /wp-content/plugins/groovy-menu-free/includes/modules/walkers/inc/AdminWalker.php on line 115
    •  Jul 03, 10:29:20Warning: Undefined property: stdClass::$ID in /wp-content/plugins/groovy-menu-free/includes/modules/walkers/inc/AdminWalker.php on line 114

    I had to revert to version 1.4.3 which is not affected by the bug

    • This topic was modified 2 months, 2 weeks ago by wpdanilo.
    • This topic was modified 2 months, 2 weeks ago by wpdanilo.
    • This topic was modified 2 months, 2 weeks ago by wpdanilo.
    • This topic was modified 2 months, 2 weeks ago by wpdanilo.
Viewing 9 replies - 1 through 9 (of 9 total)
  • if you change the line at 831 to:

    $this->renderPanes();
    it will work(ish). looks like they have updated how the dashboard renders but forgot to remove the old ->dashboard class as its been removed so fatal error when it cannot find the class.

    Thread Starter wpdanilo

    (@wpdanilo)

    Thanks,

    while I wait for them to fix the plugin I’ll try the modification you suggested!

    Plugin Author grooni

    (@grooni)

    Hi,

    Thank you for the report, and sorry for the trouble.

    We can confirm the dashboard fatal error in version 1.4.7 and are preparing a hotfix.

    Could you please confirm whether this happened immediately after updating from an older version of Groovy Menu Free to 1.4.7? If
    yes, which version did you update from?

    Could you also share the following details so we can verify the second issue with the menu walker warnings?

    1. Which exact WordPress version are you using? You mentioned WordPress 7.0, but please confirm the full version number.
    2. Which PHP version is running on the site?
    3. Which WooCommerce version is installed, if WooCommerce is active?
    4. Does the warning appear only in Appearance > Menus / menu editor, or also on the frontend?
    5. Are you using a classic menu, block theme navigation, or both?
    6. Do you have any menu items that are custom objects, WooCommerce items, or generated by another plugin? For the dashboard issue, please do not rely on manual code edits for long-term use. We will publish a proper plugin update. Best regards,
      Grooni
    Plugin Author grooni

    (@grooni)

    We’ve spotted the issue and are working on a hotfix. Testing it now.

    Thread Starter wpdanilo

    (@wpdanilo)

    Hello to you

    Here’s the required information:
    I upgraded from version 1.4.3 to 1.4.7
    WordPress: Version 7.0, Site language: en_US, User language: en_US
    PHP Version 8.3.31.
    WooCommerce is not installed.
    The warning only appears in the authenticated WordPress dashboard: Groovy menu\Dashboard.
    I only use Groovy menu and have hidden the classic menu in the theme templates.

    Plugin Author grooni

    (@grooni)

    Hi,

    Thank you @wpdanilo for the detailed report, and sorry for the trouble.

    This was a regression introduced in version 1.4.7. The main dashboard page was still calling an old dashboard method path
    incorrectly, which caused the fatal error after updating from older versions.

    We have released version 1.4.8 with a hotfix for this issue. The update restores the main presets dashboard screen and also
    includes a guard for menu item objects without an ID to avoid the walker warnings you reported.

    Please update to version 1.4.8 and let us know if the dashboard opens correctly now.

    Best regards,
    Grooni

    Thread Starter wpdanilo

    (@wpdanilo)

    Perfect,
    now the Groovy menu dashboard displays again without any errors.
    Thank you so much for your time and quick response!

    Plugin Author grooni

    (@grooni)

    Hi,

    Small correction: version 1.4.8 has been submitted, but WordPress.org currently delays plugin update rollouts by about 24 hours
    for review and scanning.

    So the update may not appear immediately in the WordPress admin update screen. It should become available automatically once the
    WordPress.org rollout delay has passed.

    Best regards,
    Grooni

    Plugin Author grooni

    (@grooni)

    Glad to hear it works now and that the update became available without waiting the full 24 hours.

Viewing 9 replies - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.