我无法访问我的网站管理面板。它显示以下警告
Warning: Cannot modify header information – headers already sent by (output started at /home/filmymik/public_html/wp-content/themes/jarida/functions/theme-functions.php:1) in /home/filmymik/public_html/wp-includes/pluggable.php on line 1210
但是, 该网站运行良好。可能是什么问题?
#1
警告中引用的theme-functions.php中最有可能出现空格。这导致PHP启动主体输出, 并且WP无法为你设置cookie, 因此你无法通过wp-admin进行身份验证。
解决方案:在第一次打开<?php或<?之前删除空格。
来源:
https://www.srcmini02.com/66382.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_40512.jpg): failed to open stream: operation failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57