提问人:Vatsin Technology 提问时间:11/9/2023 更新时间:11/9/2023 访问量:29
在尝试自定义主题时获取此输出
Getting this output while trying to customize the theme
问:
致命错误:未捕获的 TypeError:call_user_func_array():参数 #1 ($callback) 必须是有效的回调,找不到函数“wp_print_media_templates”或 /home/vatsintech/public_html/wp-includes/class-wp-hook.php:310 中的函数名称无效 堆栈跟踪:#0 /home/vatsintech/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, 数组) #1 /home/vatsintech/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(数组) #2 /home/vatsintech/public_html/wp-includes/script-loader.php(2208): do_action('wp_print_footer...') #3 /home/vatsintech/public_html/wp-includes/block-editor.php(368): wp_print_footer_scripts() #4 /home/vatsintech/public_html/wp-includes/block-editor.php(613): _wp_get_iframed_editor_assets() #5 /home/vatsintech/public_html/wp-includes/class-wp-customize-widgets.php(850): get_block_editor_settings(数组, 对象(WP_Block_Editor_Context)) #6 /home/vatsintech/public_html/wp-includes/class-wp-hook.php(310): WP_Customize_Widgets->enqueue_scripts('') #7 /home/vatsintech/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, 数组) #8 /home/vatsintech/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(数组) #9 /home/vatsintech/public_html/wp-admin/customize.php(123): do_action('customize_contr...') #10 {main} 扔在 /home/vatsintech/public_html/wp-includes/class-wp-hook 中.php第 310 行
出现此错误。
致命错误:未捕获的 TypeError:call_user_func_array():参数 #1 ($callback) 必须是有效的回调,找不到函数“wp_print_media_templates”或 /home/vatsintech/public_html/wp-includes/class-wp-hook.php:310 中的函数名称无效 堆栈跟踪:#0 /home/vatsintech/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, 数组) #1 /home/vatsintech/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(数组) #2 /home/vatsintech/public_html/wp-includes/script-loader.php(2208): do_action('wp_print_footer...') #3 /home/vatsintech/public_html/wp-includes/block-editor.php(368): wp_print_footer_scripts() #4 /home/vatsintech/public_html/wp-includes/block-editor.php(613): _wp_get_iframed_editor_assets() #5 /home/vatsintech/public_html/wp-includes/class-wp-customize-widgets.php(850): get_block_editor_settings(数组, 对象(WP_Block_Editor_Context)) #6 /home/vatsintech/public_html/wp-includes/class-wp-hook.php(310): WP_Customize_Widgets->enqueue_scripts('') #7 /home/vatsintech/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, 数组) #8 /home/vatsintech/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(数组) #9 /home/vatsintech/public_html/wp-admin/customize.php(123): do_action('customize_contr...') #10 {main} 扔在 /home/vatsintech/public_html/wp-includes/class-wp-hook 中.php第 310 行
如何解决此错误?
答: 暂无答案
评论