drvlf9739 2018-12-04 17:07
浏览 107

Wordpress网站中的“已发送标头”错误

I'm working on a Wordpress site and I have set an SSL certificate. I got the following error,

Warning: Cannot modify header information - headers already sent by (output started at /var/www/mylink/wp-config.php:1) in /var/www/mylink/data/www/mylink/wp-login.php on line 411 Warning: Cannot modify header information - headers already sent by (output started at /var/www/mylink/data/www/mylink/wp-config.php:1) in /var/www/mylink/data/www/mylink/wp-login.php on line 424.

enter image description here

I have tried blank spaces, echo before php tag, and many more but was not able to solve this issue. I'm not able to open my admin panel and when I open my site with wp-admin URL, it shows only the above error. If I open my admin panel with wp-login.php, it shows login page but I'm not able to logged in. Any help is appreciated. Thanks. Please check the image for further clarification.

  • 写回答

1条回答 默认 最新

  • doutang1946 2018-12-06 05:37
    关注

    Did you try below solution? ob_start(); ob_get_clean(); It will do get current buffer contents and delete current output buffer.

    评论

报告相同问题?

悬赏问题

  • ¥15 oracle集群安装出bug
  • ¥15 关于#python#的问题:自动化测试
  • ¥15 教务系统账号被盗号如何追溯设备
  • ¥20 delta降尺度方法,未来数据怎么降尺度
  • ¥15 c# 使用NPOI快速将datatable数据导入excel中指定sheet,要求快速高效
  • ¥15 再不同版本的系统上,TCP传输速度不一致
  • ¥15 高德地图点聚合中Marker的位置无法实时更新
  • ¥15 DIFY API Endpoint 问题。
  • ¥20 sub地址DHCP问题
  • ¥15 delta降尺度计算的一些细节,有偿