我正在创建twentythirteen子主题。它在localhost上运行正常, 没有任何错误, 但是当我将其放到服务器上时, 出现以下错误
警告:call_user_func_array()期望参数1为有效的回调, 找不到函数’parent_theme_locations’或/home/nonaitpub/public_html/subedi/wordpress/wp-includes/plugin.php中的无效函数名(第496行)
#1
我认为你已经在functions.php文件中的某个位置调用了函数” parent_theme_locations”。就像add_action(‘after_setup_theme’, ‘parent_theme_locations’, 20);
来源:
https://www.srcmini02.com/67254.html
微信公众号
手机浏览(小程序)
Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(): Failed to enable crypto in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_36943.jpg): failed to open stream: operation failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57