【原创】WP Editor.md 扩展导致emacs无法访问博客
个人笔记,如有转载,请注明出处。
——by realasking
前段时间想过尝试用Emacs写博客,但是试了几个插件都失败了,有认证出问题的,有登录不上的,直到今天重新尝试ewp,明确给出了500错误,才发觉问题可能出在服务器端。
检查/var/log/nginx/wp_client_access.log,发现如下问题:
2019/06/14 05:53:18 [error] 3492#0: *61675 FastCGI sent in stderr: PHP message: PHP Fatal error: Uncaught Error: Class \'EditormdApp\\IXR_Message\' not found in 安装地址/wordpress/wp-content/plugins/wp-editormd/src/App/WPComMarkdown.php:720
Stack trace:
#0 安装地址/wordpress/wp-content/plugins/wp-editormd/src/App/WPComMarkdown.php(100): EditormdApp\\WPComMarkdown->check_for_early_methods()
#1 安装地址/wordpress/wp-content/plugins/wp-editormd/src/App/WPComMarkdown.php(72): EditormdApp\\WPComMarkdown->load_markdown_for_posts()
#2 安装地址/wordpress/wp-content/plugins/wp-editormd/src/App/WPComMarkdown.php(34): EditormdApp\\WPComMarkdown->maybe_load_actions_and_filters()
#3 安装地址/wordpress/wp-includes/class-wp-hook.php(286): EditormdApp\\WPComMarkdown->load(\'\')
#4 安装地址/wordpress/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#5 安装地址/wordpress/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#6 安装地址/wordpress/wp-settings.php(525): do_ while reading response header from upstream, client: 地址1, server: realasking.top, request: POST /xmlrpc.php HTTP/1.1, upstream: fastcgi://地址和端口, host: www.realasking.top
将该插件停用就好了 。
停用该插件后,我换用了WP Githuber MD
,正好,可以用来转换Emacs
发出来的博客。