最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

【基本解决】www.crifan.com/index.php出错:amp_render() unknown:0

WordPress crifan 2074浏览 0评论

折腾:

【已解决】LNMP的wordpress网站crifan.com无法访问:502 Bad Gateway nginx

期间,另外找到了slow的log:

[root@crifan ~]# sz /usr/local/php/var/log/slow.log
rz
Starting zmodem transfer.  Press Ctrl+C to cancel.
Transferring slow.log…
  100%    2704 KB     208 KB/sec    00:00:13       0 Errors  

看到其中有问题的是:

[15-Sep-2017 03:08:18] [pool www] pid 9672
script_filename = /home/wwwroot/www.crifan.com/index.php
[0x00007ffd6da5dc10] extract_by_downloading_image() unknown:0
[0x00007f6a729eca88] call_user_func_array() /home/wwwroot/www.crifan.com/wp-includes/class-wp-hook.php:298
[0x00007f6a729ec908] apply_filters() /home/wwwroot/www.crifan.com/wp-includes/plugin.php:203
[0x00007ffd6da5ec70] amp_render() unknown:0
[0x00007f6a729ebb90] call_user_func_array() /home/wwwroot/www.crifan.com/wp-includes/class-wp-hook.php:298
[0x00007f6a729eba60] apply_filters() /home/wwwroot/www.crifan.com/wp-includes/class-wp-hook.php:323
[0x00007f6a729eb8f8] do_action() /home/wwwroot/www.crifan.com/wp-includes/plugin.php:453
[0x00007f6a729eb7b0] do_action() /home/wwwroot/www.crifan.com/wp-includes/template-loader.php:12
[15-Sep-2017 03:14:52] [pool www] pid 12133
script_filename = /home/wwwroot/www.crifan.com/wp-cron.php
[0x00007f6a729ec9b8] send_listSharedNotebooks() /home/wwwroot/www.crifan.com/wp-content/plugins/evernote-sync/src/EDAM/NoteStore/NoteStore.php:3890
[0x00007ffd6da5e020] listSharedNotebooks() unknown:0
[0x00007ffd6da5e390] __call() unknown:0
[0x00007f6a729ec708] listSharedNotebooks() /home/wwwroot/www.crifan.com/wp-content/plugins/evernote-sync/src/Evernote/Client.php:354
[0x00007f6a729ec508] listSharedNotebooks() /home/wwwroot/www.crifan.com/wp-content/plugins/evernote-sync/src/Evernote/Client.php:247
[0x00007f6a729ec3b8] listNotebooks() /home/wwwroot/www.crifan.com/wp-content/plugins/evernote-sync/src/Evernote/Client.php:971
[0x00007f6a729ec220] findNotes_listNotebooksWithContext() /home/wwwroot/www.crifan.com/wp-content/plugins/evernote-sync/src/Evernote/Client.php:807
[0x00007f6a729ec078] findNotesWithSearch() /home/wwwroot/www.crifan.com/wp-content/plugins/evernote-sync/EvernoteSync.php:506
[0x00007f6a729ebdb8] searchNotes() /home/wwwroot/www.crifan.com/wp-content/plugins/evernote-sync/evernote-sync.php:93
[0x00007ffd6da5ef90] evernote_sync_task() unknown:0
[0x00007f6a729ebb40] call_user_func_array() /home/wwwroot/www.crifan.com/wp-includes/class-wp-hook.php:298
[0x00007f6a729eba10] apply_filters() /home/wwwroot/www.crifan.com/wp-includes/class-wp-hook.php:323
[0x00007f6a729eb8d8] do_action() /home/wwwroot/www.crifan.com/wp-includes/plugin.php:515
[0x00007f6a729eb778] do_action_ref_array() /home/wwwroot/www.crifan.com/wp-cron.php:117
[15-Sep-2017 03:45:24] [pool www] pid 9716
script_filename = /home/wwwroot/www.crifan.com/wp-cron.php
[0x00007f6a729ec9b8] send_listSharedNotebooks() /home/wwwroot/www.crifan.com/wp-content/plugins/evernote-sync/src/EDAM/NoteStore/NoteStore.php:3890
[0x00007ffd6da5e020] listSharedNotebooks() unknown:0
[0x00007ffd6da5e390] __call() unknown:0
[0x00007f6a729ec708] listSharedNotebooks() /home/wwwroot/www.crifan.com/wp-content/plugins/evernote-sync/src/Evernote/Client.php:354
[0x00007f6a729ec508] listSharedNotebooks() /home/wwwroot/www.crifan.com/wp-content/plugins/evernote-sync/src/Evernote/Client.php:247
[0x00007f6a729ec3b8] listNotebooks() /home/wwwroot/www.crifan.com/wp-content/plugins/evernote-sync/src/Evernote/Client.php:971
[0x00007f6a729ec220] findNotes_listNotebooksWithContext() /home/wwwroot/www.crifan.com/wp-content/plugins/evernote-sync/src/Evernote/Client.php:807
[0x00007f6a729ec078] findNotesWithSearch() /home/wwwroot/www.crifan.com/wp-content/plugins/evernote-sync/EvernoteSync.php:506
[0x00007f6a729ebdb8] searchNotes() /home/wwwroot/www.crifan.com/wp-content/plugins/evernote-sync/evernote-sync.php:93
[0x00007ffd6da5ef90] evernote_sync_task() unknown:0
[0x00007f6a729ebb40] call_user_func_array() /home/wwwroot/www.crifan.com/wp-includes/class-wp-hook.php:298
[0x00007f6a729eba10] apply_filters() /home/wwwroot/www.crifan.com/wp-includes/class-wp-hook.php:323
[0x00007f6a729eb8d8] do_action() /home/wwwroot/www.crifan.com/wp-includes/plugin.php:515
[0x00007f6a729eb778] do_action_ref_array() /home/wwwroot/www.crifan.com/wp-cron.php:117

看起来是:

当访问:

www.crifan.com/index.php

时,出错的地方,中间都是

plugins/accelerated-mobile-pages

导致的。

-》所以先去研究看看啥原因,

不行的话,就去禁止AMP插件

wordpress extract by downloading image() unknown:0

wp-content/plugins/accelerated-mobile-pages/includes/vendor

php slow wp-content/plugins/accelerated-mobile-pages/includes/vendor

Mendadak Bisa Masak dengan SHARP Healsio Automatic Cookware | My Foottrip

Fatal PHP error caused by is_amp_endpoint() · Issue #608 · Automattic/amp-wp

php slow script_filename  index.php fopen

amp_render() unknown:0

lnmp wordpress amp_render

Topic: AMP & Php7 error 500 « WordPress.org Forums

人家是安装了php7.0-xml

就可以了。

算了。我还是先去禁止掉amp吧。

【总结】

没去没有完全搞懂,slow的log中反映出来的慢,具体是哪些步骤执行的慢,但是可以看出来是:

AMP插件的问题

所以暂时就先去停止该插件,以后再说。

转载请注明:在路上 » 【基本解决】www.crifan.com/index.php出错:amp_render() unknown:0

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
85 queries in 0.163 seconds, using 22.11MB memory