從入門到放棄

興趣使然的軟體工程師,擅長 Exception。

  • GitHub
  • About

[WordPress] 當插件錯誤時顯示 500 錯誤代碼怎麼辦?

  • 作者lex.xu
  • /
  • 9 月 03, 2016
  • /
  • 心得筆記

當Wordpress錯誤時,畫面只會導向500錯誤,這時該怎麼辦呢?

 

開啟wp-config.php尋找

define('WP_DEBUG', false);

修改為

define('WP_DEBUG', true);
@ini_set('display_errors', 1);

就可以順利偵錯囉!

 

參考:has_cap was called with an argument that is deprecated


標籤: WordPress, 教學, 筆記

這裡的資訊對您有用嗎?歡迎斗內給我

lex.xu

https://blog.exfast.me/
對資訊技術這方面非常有興趣,常常自學新技術來補齊自己的好奇心,解決問題的成就感是我繼續走向這條路的最大動力。
上一篇文章
下一篇文章

近期文章

  • [Linux] 如何新增使用者並給予管理員權限
  • [ASP.Net Core] 如何讓 Godaddy 跑 .NET Core 3.1 ?
  • [Linux] 如何在 Ubuntu 20.04 中使用遠端桌面 ?
  • [MySQL] 資料表結構遷移的好幫手 pt-online-schema-change
  • [Docker] 取得 Container 的 IPAddress

標籤

.NET .NET Core Apache ASP.NET ASP.NET Core ASP.NET MVC ASP.NET WebAPI Bug C# CentOS ChatBot Docker Easy Git IIS IP JavaScript LeetCode Line LinQ Linux Medium MSSQL MySQL NetCore php phpMyAdmin Python Server SQL SQL Server SSL Ubuntu Visual Studio WebAPI Win10 Windows Windows 10 Windows Server WordPress 寶寶 教學 筆記 轉載 遞迴

分類

  • 心得筆記 (197)