• 已解决 shumile

    (@shumile)


    网站搭建好了,发了一些文章,但是搜索按钮点击之后,会报错:


    Fatal error: Uncaught ArgumentCountError: 3 arguments are required, 2 given in /home2/vaiuicom/public_html/wp-content/themes/astra/inc/core/common-functions.php:971 Stack trace: #0 /home2/vaiuicom/public_html/wp-content/themes/astra/inc/core/common-functions.php(971): sprintf('\xE2\x80\x9C%s\xE2\x80\x9D\xE7\x9A\x84\xE6\x90\x9C\xE7...', '<span>test</spa...') #1 /home2/vaiuicom/public_html/wp-content/themes/astra/inc/core/common-functions.php(1048): astra_get_taxonomy_banner_legacy_layout() #2 /home2/vaiuicom/public_html/wp-includes/class-wp-hook.php(324): astra_archive_page_info('') #3 /home2/vaiuicom/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array) #4 /home2/vaiuicom/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 /home2/vaiuicom/public_html/wp-content/themes/astra/inc/core/theme-hooks.php(429): do_action('astra_archive_h...') #6 /home2/vaiuicom/public_html/wp-content/themes/astra/search.php(27): astra_archive_header() #7 /home2/vaiuicom/public_html/wp-includes/template-loader.php(106): include('/home2/vaiuicom...') #8 /home2/vaiuicom/public_html/wp-blog-header.php(19): require_once('/home2/vaiuicom...') #9 /home2/vaiuicom/public_html/index.php(17): require('/home2/vaiuicom...') #10 {main} thrown in /home2/vaiuicom/public_html/wp-content/themes/astra/inc/core/common-functions.php on line 971

    我需要帮助的页面: [登录以查看链接]

查看 2 回复 - 1 至 2 (总计 2)
  • 文派翻译(WP Chinese Translation)

    (@wpfanyi)

    WordPress 中国翻译团队

    看上去像是被挂马了,你主题文件报错,清理一遍看看吧。

    版主 耗子

    (@haozi)

    报错信息来自主题自身的文件inc/core/common-functions.php(971): sprintf(),请向主题作者询问一下什么原因。

查看 2 回复 - 1 至 2 (总计 2)
  • 您必须 登录才能回复该话题。