请帮忙。我们在WordPress上有一个带有自定义主题和最少插件的页面。将WordPress从4.9更新到5.0.2后,管理页面中的主题=>自定义出现错误。其他一切都在发挥作用。
我尝试关闭和打开国外插件(WP bakery除外)。谢谢
Fatal error: Uncaught Exception:
Supplied nav_menu_item value missing property: description in /wp-includes/customize/class-wp-customize-nav-menu-item-setting.php:183
堆栈跟踪:
#0 /wp-includes/class-wp-customize-nav-menus.php(692): WP_Customize_Nav_Menu_Item_Setting->__construct(Object(WP_Customize_Manager), \'nav_menu_item[7...\', Array)
#1 /wp-includes/class-wp-hook.php(286): WP_Customize_Nav_Menus->customize_register(Object(WP_Customize_Manager))
#2 /wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#3 /wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#4 /wp-includes/customize/class-wp-customize-nav-menu-item-setting.php on line 183