【发布时间】:2018-11-22 00:29:29
【问题描述】:
我的 Wordpress 管理栏没有出现在我的主页和一些随机帖子上。我在网上查看了很多关于它的主题,包括这个Stack Overflow thread,并且我尝试了所有解决方案:
- 我使用具有 wp_footer() 和 wp_head() 的商业主题
- Wordpress 和站点 URL 相同,https://www
- 我已在我的用户个人资料中选中此框
- 我已禁用所有插件:问题仍然存在
与我在浏览网页时遇到的所有其他问题的不同之处在于,它仅出现在某些页面和帖子上。
【问题讨论】:
-
error_log 中显示任何错误?
-
这样的消息(法语对不起):
Notice: get_currentuserinfo est <strong>obsolète</strong> depuis la version 4.5.0 ! Utilisez wp_get_current_user() à la place. in /home/revuebalvp/www/wp-includes/functions.php on line 3853Deprecated: Function create_function() is deprecated in /home/revuebalvp/www/wp-content/plugins/footnotes/class/init.php on line 61 -
在我的主机错误日志中,有很多 CGI 错误,例如:
FastCGI: incomplete headers (0 bytes) received from server&FastCGI: An error happend on Fastcgi processing, fallback to CGI, -
这些错误是在访问任何页面/帖子时出现,还是仅在访问未正确显示管理栏的页面时出现?
-
我认为 WP 调试日志中的那些在每个帖子上都会发生,它们是由旧插件引起的。我使用
get_currentuserinfo禁用了那个。 FastCGI 发生在我遇到此管理栏问题之前。
标签: wordpress wordpress-theming