plugins - How can I capture error in admin files?

My WP always failed when upgrade plugins, I traced it and found it is something about disk io, permission etc. But the p

My WP always failed when upgrade plugins, I traced it and found it is something about disk io, permission etc. But the problem is it just returns a 500 error without any specific information. I traced it in code and can locate the line of code that gives the exception, but I cannot capture the error. I can put wp_send_json_error before the line to verify it. But try/catch doesn't work, I could not find a way to capture the exception and send the exception info back.

Any idea? thanks

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744841929a4596608.html

相关推荐

  • plugins - How can I capture error in admin files?

    My WP always failed when upgrade plugins, I traced it and found it is something about disk io, permission etc. But the p

    2天前
    70

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信