Php 功能';父主题位置';找不到或函数名无效

Php 功能';父主题位置';找不到或函数名无效,php,wordpress-theming,wordpress,Php,Wordpress Theming,Wordpress,我正在创作《二十一三》的儿童主题。它在localhost中运行良好,没有任何错误,但是当我在服务器上运行时,出现了以下错误 警告:call\u user\u func\u array()要求参数1是有效的 回调,函数“父主题位置”未找到或无效 中的函数名 /home/nonaitpub/public_html/subedi/wordpress/wp includes/plugin.php on 第496行 我想您在functions.php文件的某个地方调用了函数“parent\u theme\

我正在创作《二十一三》的儿童主题。它在localhost中运行良好,没有任何错误,但是当我在服务器上运行时,出现了以下错误

警告:call\u user\u func\u array()要求参数1是有效的 回调,函数“父主题位置”未找到或无效 中的函数名 /home/nonaitpub/public_html/subedi/wordpress/wp includes/plugin.php on 第496行


我想您在functions.php文件的某个地方调用了函数“parent\u theme\u locations”,比如
add\u action('after\u setup\u theme','parent\u theme\u locations',20)

请发布完整错误。