Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author shazdeh

    (@shazdeh)

    Plugin has been updated, please do let me know if you encounter any issues with it.
    Thank you!

    On version 0.3.8 I cannot open my /wp-admin/nav-menus.php page. This is the error reported via mail:

    Un errore di E_ERROR è stato causato nella linea 44 del file /home/user/domains/site.it/public_html/wp-content/plugins/menu-items-visibility-control/init.php. Messaggio di errore: Uncaught ArgumentCountError: Too few arguments to function Menu_Items_Visibility_Control::wp_nav_menu_item_custom_fields(), 4 passed in /home/user/domains/site.it/public_html/wp-includes/class-wp-hook.php on line 287 and exactly 5 expected in /home/user/domains/site.it/public_html/wp-content/plugins/menu-items-visibility-control/init.php:44
    Stack trace:
    #0 /home/user/domains/site.it/public_html/wp-includes/class-wp-hook.php(287): Menu_Items_Visibility_Control->wp_nav_menu_item_custom_fields('7427', Object(WP_Post), 0, Object(stdClass))
    #1 /home/user/domains/site.it/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array)
    #2 /home/user/domains/site.it/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #3 /home/user/domains/site.it/public_html/wp-content/themes/Avada/includes/class-avada-nav-walker-megamenu.php(215): do_action('wp_nav_menu_ite...', '7427', Object(WP_Post), 0, Object(stdClass))
    #4 /home/user…

    PHP Version: 7.3.16
    I’m using your plugin together with MemberPress

    • This reply was modified 4 years, 11 months ago by rossoblu.
    Plugin Author shazdeh

    (@shazdeh)

    Thank you for including the error report. The issue is caused by your theme, specifically this file: /Avada/includes/class-avada-nav-walker-megamenu.php on line 215. This is not compatible with WP 5.4 where “wp_nav_menu_item_custom_fields” action hook has 5 parameters passed on to it.

    Please contact theme’s developers and forward them this response, they can update the theme and fix this issue.

    Deactivating your plugin, menu’s page does work

    Thread Starter noremlas

    (@noremlas)

    Thanks for updating and sticking with your plugin. I just updated on my Divi theme and in principle everything is fine. Thank you

    Plugin Author shazdeh

    (@shazdeh)

    Deactivating your plugin, menu’s page does work

    But that’s not where the error is originating from. Your theme is changing WP core’s behavior which then causes the error in my plugin. I suspect Avada is already updated and patched to work with WP 5.4 in which case you only need to update the theme and everything will be fine, and if not you can contact them and ask them to do so. Very easy.

    @noremlas Thank you for confirmation that it does work with Divi ?? Cheers!

    I’m using updated version of Avada, the last one, 6.2.2
    Menu’s page did work with previous version of menu-ivc plugin

    In italian:

    WordPress, a partire dalla versione 5.2, ha una funzionalità integrata che rileva quando un plugin o un tema provoca un errore irreversibile sul tuo sito e ti avvisa con questa email automatica.
    
    In questo caso, WordPress ha incontrato un errore con uno dei tuoi plugin, Menu Items Visibility Control.
    • This reply was modified 4 years, 11 months ago by rossoblu.

    Version 0.3.9 works
    Good job, thanks

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘is it safe is it plugin?’ is closed to new replies.