Critical error trying to add a menu item
-
Hello,
I am getting a fatal error caused by the Pie Register plugin. This happens when I click on ‘Appearance’–> ‘Menus’ in the backend. Here is the error log from WordPress:
WordPress version 6.2.1
Active theme: Pressive (version 2.11.1)
Current plugin: Pie Register – Basic (version 3.8.2.6)
Error DetailsAn error of type E_ERROR was caused in line 32 of the file /home/customer/www/xxxxxxxxxxxxxxxxxx.com/public_html/wp-content/plugins/pie-register/piereg_walker-nav-menu.php. Error message: Uncaught ArgumentCountError: Too few arguments to function Piereg_Menu_Items_Visibility_Control::piereg_option(), 4 passed in /home/customer/www/xxxxxxxxxxxxxxxxxx.com/public_html/wp-includes/class-wp-hook.php on line 308 and exactly 5 expected in /home/customer/www/xxxxxxxxxxxxxxxxxx.com/public_html/wp-content/plugins/pie-register/piereg_walker-nav-menu.php:32
Stack trace:0 /home/customer/www/xxxxxxxxxxxxxxxxxx.com/public_html/wp-includes/class-wp-hook.php(308): Piereg_Menu_Items_Visibility_Control->piereg_option(‘3078’, Object(WP_Post), 0, Object(stdClass))
1 /home/customer/www/xxxxxxxxxxxxxxxxxx.com/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
2 /home/customer/www/xxxxxxxxxxxxxxxxxx.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
3 /home/customer/www/xxxxxxxxxxxxxxxxxx.com/public_html/wp-content/themes/pressive/inc/templates/custom-menu-walker.php(379): do_action(‘wp_nav_menu_ite…’, ‘3078’, Object(WP_Post), 0, Object(stdClass))
4 /home/customer/www/ in /home/customer/www/xxxxxxxxxxxxxxxxxx.com/public_html/wp-content/plugins/pie-register/piereg_walker-nav-menu.php on line 32
Do you have any solution for that problem?
- The topic ‘Critical error trying to add a menu item’ is closed to new replies.