Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/wordpress/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 更新的WordPress,";无法重新声明具有“U快捷码”;错误被抛出_Php_Wordpress - Fatal编程技术网

Php 更新的WordPress,";无法重新声明具有“U快捷码”;错误被抛出

Php 更新的WordPress,";无法重新声明具有“U快捷码”;错误被抛出,php,wordpress,Php,Wordpress,致命错误:无法在第23行的/home/content/86/9216686/html/wordpress/wp includes/shortcodes.php:153中重新声明has_shortcode() WordPress 3.6中引入了函数has_shortcode,您可能是从早期版本更新的 现在,主题正在尝试使用保留函数。含义:主题过时,解决方案: 更新到主题的更新版本 联系作者并报告 将主题函数(wp-content/themes/options/framework/functio

致命错误:无法在第23行的/home/content/86/9216686/html/wordpress/wp includes/shortcodes.php:153中重新声明has_shortcode()


WordPress 3.6中引入了函数
has_shortcode
,您可能是从早期版本更新的

现在,主题正在尝试使用保留函数。含义:主题过时,解决方案:

  • 更新到主题的更新版本
  • 联系作者并报告
  • 将主题函数(wp-content/themes/options/framework/functions/common.php)封装为


你能发布一些代码吗??因为如果没有代码,我们只能说:“嗯,很好的致命错误”我需要发布什么?我刚刚更新了wordpress,我感觉主题不兼容
已经在wordpress核心文件中声明了
。您的主题框架也包含相同的函数。至少主题应该使用函数_来防止这些错误!看来你得更新了。
if( !function_exists( 'has_shortcode' ) )
{
    function has_shortcode() 
    {
        // THE THEME CODE
    }
}