我安装了这个插件https://wordpress.org/plugins/wp-gallery-custom-links/并在安装过程中遇到错误,我在页面刷新之前没有时间阅读。
现在我的媒体选择器根本没有加载。
我没有运气完全删除了插件,现在我甚至无法再访问wp-admin了。得到如下错误:
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/xxxx.com/httpdocs/wp-content/themes/caroli/functions.php:1) in /var/www/vhosts/xxxx.com/httpdocs/wp-includes/pluggable.php on line 1196
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/xxxxx.com/httpdocs/wp-content/themes/caroli/functions.php:1) in /var/www/vhosts/xxxx.com/httpdocs/wp-login.php on line 425
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/xxxxxx.com/httpdocs/wp-content/themes/caroli/functions.php:1) in /var/www/vhosts/xxxxx.com/httpdocs/wp-login.php on line 438
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/xxxxxx.com/httpdocs/wp-content/themes/caroli/functions.php:1) in /var/www/vhosts/xxxxxx.com/httpdocs/wp-login.php on line 425
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/xxxx.com/httpdocs/wp-content/themes/caroli/functions.php:1) in /var/www/vhosts/xxxxxx.com/httpdocs/wp-login.php on line 438
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/caroli.hosterspace.com/httpdocs/wp-content/themes/caroli/functions.php:1) in /var/www/vhosts/xxxxxxx.com/httpdocs/wp-includes/pluggable.php on line 925
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/xxxxxxxxx.com/httpdocs/wp-content/themes/caroli/functions.php:1) in /var/www/vhosts/xxxxx.com/httpdocs/wp-includes/pluggable.php on line 926
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/xxxxxx.com/httpdocs/wp-content/themes/caroli/functions.php:1) in /var/www/vhosts/xxxxxx.com/httpdocs/wp-includes/pluggable.php on line 927
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/xxxxxxxx.com/httpdocs/wp-content/themes/caroli/functions.php:1) in /var/www/vhosts/xxxxxx.com/httpdocs/wp-includes/pluggable.php on line 1196
我已经下载了wordpress的新副本并替换了wp-admin文件夹,wp-includes文件夹,wp-config.php文件,wp-login.php文件。
我已经尝试更改插件文件夹上的名称,仍然无法正常工作,我已尝试删除我的主题以便能够访问wp-admin,但仍然无法正常工作。
我怀疑它可能是数据库,但我发现问题是运气不好..任何人都可以帮忙吗?
答案 0 :(得分:3)
我已经多次遇到过这个问题,正如Vaviloff所说的那样,在文件的开头放置了一个空格(<?php
之前)是您要找的东西。强>
一些可能的原因:
可能的解决方案:
<?php
编辑: 我刚看到你无法联系到wp-admin。这很棘手,但我有时会遇到同样的问题。好吧,这是一个入侵(由于一个过时的插件)。
我做了什么?
答案 1 :(得分:2)