Uncaught Error: Call to a member function value() on null [Storefront]
Uncaught Error: Call to a member function value() on null [Storefront]
我对这个主题有疑问。
2019-05-27T20:26:30+00:00 CRITICAL Uncaught Error: Call to a member function value() on null in /public_html/wp-content/themes/storefront/inc/nux/class-storefront-nux-starter-content.php:1162
Stack trace:
#0 /public_html/wp-content/themes/storefront/inc/nux/class-storefront-nux-starter-content.php(1217): Storefront_NUX_Starter_Content->_get_created_starter_content_products()
#1 /public_html/wp-content/themes/storefront/inc/nux/class-storefront-nux-starter-content.php(1007): Storefront_NUX_Starter_Content->_query_starter_content(‘page’, ‘homepage’, true)
#2 /public_html/wp-includes/class-wp-hook.php(286): Storefront_NUX_Starter_Content->update_homepage_content(Object(WP_Customize_Manager))
#3 /public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#4 /public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#5 /public_html/wp-includes/class-wp-customize-manager.php(1887): do_action(‘custom en /public_html/wp-content/themes/storefront/inc/nux/class-storefront-nux-starter-content.php en la línea 1162
当我尝试使用 WordPress Custimizer 时,会发生这种情况。
我目前使用的是最新版本的 WooCommerce。
我可以解决它评论第1162行函数的内容
我不知道发生了什么,有人发生过同样的事情吗?
已修复,我使用插件 "Advanced Shipment Tracking for WooCommerce" 并已在更新 2.0.1
中修复
我对这个主题有疑问。
2019-05-27T20:26:30+00:00 CRITICAL Uncaught Error: Call to a member function value() on null in /public_html/wp-content/themes/storefront/inc/nux/class-storefront-nux-starter-content.php:1162
Stack trace:
#0 /public_html/wp-content/themes/storefront/inc/nux/class-storefront-nux-starter-content.php(1217): Storefront_NUX_Starter_Content->_get_created_starter_content_products()
#1 /public_html/wp-content/themes/storefront/inc/nux/class-storefront-nux-starter-content.php(1007): Storefront_NUX_Starter_Content->_query_starter_content(‘page’, ‘homepage’, true)
#2 /public_html/wp-includes/class-wp-hook.php(286): Storefront_NUX_Starter_Content->update_homepage_content(Object(WP_Customize_Manager))
#3 /public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#4 /public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#5 /public_html/wp-includes/class-wp-customize-manager.php(1887): do_action(‘custom en /public_html/wp-content/themes/storefront/inc/nux/class-storefront-nux-starter-content.php en la línea 1162
当我尝试使用 WordPress Custimizer 时,会发生这种情况。
我目前使用的是最新版本的 WooCommerce。
我可以解决它评论第1162行函数的内容
我不知道发生了什么,有人发生过同样的事情吗?
已修复,我使用插件 "Advanced Shipment Tracking for WooCommerce" 并已在更新 2.0.1
中修复