WPIntell

Source evidence

Fatal error in customizer

Add Descendants As Submenu Items · support · 2022-06-20T09:44:00+00:00

mixedsentiment
highseverity
0.95relevance
9replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

7 / 29 rows with source links

24.1% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

22 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Danilo Krdzic resolved
After activating the plugin there is a fatal error in the customizer. Saw on the StackOverflow that else are experiencing this issue as well. This is the error: Fatal error: Uncaught Exception: Supplied nav_menu_item value missing property: status in /home/745232.cloudwaysapps.com/jazbgmnyad/public_html/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php:183 Stack trace: #0 /home/745232.cloudwaysapps.com/jazbgmnyad/public_html/wp-includes/class-wp-customize-nav-menus.php(818): WP_Customize_Nav_Menu_Item_Setting->__construct() #1 /home/745232.cloudwaysapps.com/jazbgmnyad/public_html/wp-includes/class-wp-hook.php(307): WP_Customize_Nav_Menus->customize_register() #2 /home/745232.cloudwaysapps.com/jazbgmnyad/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #3 /home/745232.cloudwaysapps.com/jazbgmnyad/public_html/wp-includes/plugin.php(476): WP_Hook->do_action() #4 /home/745232.cloudwaysapps.com/jazbgmnyad/public_html/wp-includes/class-wp-customize-manager.php(933): do_action() #5 /home/745232.cloudwaysapps.com/jazbgmnyad/public_html/wp-includes/class-wp-hook.php(307): WP_Customize_Manager->wp_loaded() #6 /home/745232.cloudwaysapps.com/jazbgmnya in /home/745232.cloudwaysapps.com/jazbgmnyad/public_html/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php on line 183 Hi @krdza93 , Thanks for the report! I just tried to install Add Descendants.. to my test site, which includes the following: WP 6.0 WooCommerce 6.6.0 TwentyTwentyOne theme 1.2 I cannot trigger a fatal error as you show in your message, either on the site or in Firefox’s dev tools. Would you reply with a copy of your Tools->Site Health, Info tab, so we can get a better sense of your site/server environment? In re: Stack Exchange, is this the thread you’re referring to: https://wordpress.stackexchange.com/questions/295461/using-string-instead-of-object-class-instantiation-on-the-walker-argument-breaks That suggests an issue with your theme. Or is it another? If so, would you send us a link to it? Best, Cena It works fine on the frontend but not when you go to a WP-Admin > Appearance > Customize Hi @krdza93 , I did test the customizer (backend) with Storefront and TwentyTwentyTwo themes, and no error. I tested the themes with both Gutenberg and Full Site Editing. What theme are you using? Would you try switching to a default theme (ie, one Automattic makes) and see if the issue persists? If it does not, then that indicates an issue with your theme, and you’ll need to contact the theme developer for help. Best, Cena @cena I am using Beaver Builder theme but now I switched to Twenty Twenty + disabled all plugins except Woocommerce and this plugin, still issue in customizer and on top of that menu items are 3-4x duplicated: https://prnt.sc/xeY90P5OQIwa Hi @krdza93 , Interesting! I can’t duplicate this either, BUT – I’m only able to test with the free Beaver Builder plugin (not theme). It’s possible you’re still seeing some sort of cached data or improperly removed data from the database from a plugin. I’d suggest spinning up a fresh WordPress site, default theme, and only add the Add Descendants.. plugin. Is everything working? Add a single plugin from your original site, testing for issues with the Customizer/nav menu each time. If you get the errors/multiplied nav after adding a plugin, then that plugin is conflicting with Add Descendants. Let us know what it is! 🙂 Finally, add Beaver Builder theme and test again. If the error shows up now, then you’ll need to contact that team for help. Let me know what you find, and we’ll go from there. Best, Cena Hello guys, i am facing the same error with the elementor builder. This is the error: Fatal error: Uncaught Exception: Supplied nav_menu_item value missing property: status in /home/536745.cloudwaysapps.com/uhyybsmgud/public_html/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php on line 183 Call stack: WP_Customize_Nav_Menu_Item_Setting::__construct() wp-includes/class-wp-customize-nav-menus.php:818 WP_Customize_Nav_Menus::customize_register() wp-includes/class-wp-hook.php:307 WP_Hook::apply_filters() wp-includes/class-wp-hook.php:331 WP_Hook::do_action() wp-includes/plugin.php:476 do_action() wp-includes/class-wp-customize-manager.php:933 WP_Customize_Manager::wp_loaded() wp-includes/class-wp-hook.php:307 WP_Hook::apply_filters() wp-includes/class-wp-hook.php:331 WP_Hook::do_action() wp-includes/plugin.php:476 do_action() wp-settings.php:620 require_once() wp-config.php:78 require_once() wp-load.php:50 require_once() wp-blog-header.php:13 require() index.php:17 This reply was modified 3 years, 10 months ago by Hardline1988 . This reply was modified 3 years, 10 months ago by Hardline1988 . Hi @hardline1988 , Please start a new thread – issues with different themes can have different causes. (As noted in this thread, I can’t duplicate with default themes, and for the OP, the theme in use is Beaver Builder). Best, Cena This post might help : https://alex.blog/wordpress-plugins/add-descendants-as-submenu-items/comment-page-2/#comment-240480 I had the same issue and this patch fixed it. I’ve applied this patch and released an update. Please let us know if you continue to run into this issue. Cheers, Jake M.

Comments

9 shown
Cena (a11n) 2022-06-20T14:29:00+00:00

Hi @krdza93 , Thanks for the report! I just tried to install Add Descendants.. to my test site, which includes the following: WP 6.0 WooCommerce 6.6.0 TwentyTwentyOne theme 1.2 I cannot trigger a fatal error as you show in your message, either on the site or in Firefox’s dev tools. Would you reply with a copy of your Tools->Site Health, Info tab, so we can get a better sense of your site/server environment? In re: Stack Exchange, is this the thread you’re referring to: https://wordpress.stackexchange.com/questions/295461/using-string-instead-of-object-class-instantiation-on-the-walker-argument-breaks That suggests an issue with your theme. Or is it another? If so, would you send us a link to it? Best, Cena

Danilo Krdzic 2022-06-22T08:11:00+00:00

It works fine on the frontend but not when you go to a WP-Admin > Appearance > Customize

Cena (a11n) 2022-06-22T14:03:00+00:00

Hi @krdza93 , I did test the customizer (backend) with Storefront and TwentyTwentyTwo themes, and no error. I tested the themes with both Gutenberg and Full Site Editing. What theme are you using? Would you try switching to a default theme (ie, one Automattic makes) and see if the issue persists? If it does not, then that indicates an issue with your theme, and you’ll need to contact the theme developer for help. Best, Cena

Danilo Krdzic 2022-06-23T08:45:00+00:00

@cena I am using Beaver Builder theme but now I switched to Twenty Twenty + disabled all plugins except Woocommerce and this plugin, still issue in customizer and on top of that menu items are 3-4x duplicated: https://prnt.sc/xeY90P5OQIwa

Cena (a11n) 2022-06-23T12:12:00+00:00

Hi @krdza93 , Interesting! I can’t duplicate this either, BUT – I’m only able to test with the free Beaver Builder plugin (not theme). It’s possible you’re still seeing some sort of cached data or improperly removed data from the database from a plugin. I’d suggest spinning up a fresh WordPress site, default theme, and only add the Add Descendants.. plugin. Is everything working? Add a single plugin from your original site, testing for issues with the Customizer/nav menu each time. If you get the errors/multiplied nav after adding a plugin, then that plugin is conflicting with Add Descendants. Let us know what it is! 🙂 Finally, add Beaver Builder theme and test again. If the error shows up now, then you’ll need to contact that team for help. Let me know what you find, and we’ll go from there. Best, Cena

Hardline1988 2022-07-26T11:00:00+00:00

Hello guys, i am facing the same error with the elementor builder. This is the error: Fatal error: Uncaught Exception: Supplied nav_menu_item value missing property: status in /home/536745.cloudwaysapps.com/uhyybsmgud/public_html/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php on line 183 Call stack: WP_Customize_Nav_Menu_Item_Setting::__construct() wp-includes/class-wp-customize-nav-menus.php:818 WP_Customize_Nav_Menus::customize_register() wp-includes/class-wp-hook.php:307 WP_Hook::apply_filters() wp-includes/class-wp-hook.php:331 WP_Hook::do_action() wp-includes/plugin.php:476 do_action() wp-includes/class-wp-customize-manager.php:933 WP_Customize_Manager::wp_loaded() wp-includes/class-wp-hook.php:307 WP_Hook::apply_filters() wp-includes/class-wp-hook.php:331 WP_Hook::do_action() wp-includes/plugin.php:476 do_action() wp-settings.php:620 require_once() wp-config.php:78 require_once() wp-load.php:50 require_once() wp-blog-header.php:13 require() index.php:17 This reply was modified 3 years, 10 months ago by Hardline1988 . This reply was modified 3 years, 10 months ago by Hardline1988 .

Cena (a11n) 2022-07-26T15:48:00+00:00

Hi @hardline1988 , Please start a new thread – issues with different themes can have different causes. (As noted in this thread, I can’t duplicate with default themes, and for the OP, the theme in use is Beaver Builder). Best, Cena

Laurent OneChai 2022-08-12T00:35:00+00:00

This post might help : https://alex.blog/wordpress-plugins/add-descendants-as-submenu-items/comment-page-2/#comment-240480 I had the same issue and this patch fixed it.

Jake Morrison 2022-09-06T09:16:00+00:00

I’ve applied this patch and released an update. Please let us know if you continue to run into this issue. Cheers, Jake M.