AMP 0.6.0

Does AMP work with WordPress 4.9.4 and PHP 7.0.16? A smoke test was performed on .

Summary

Errors
1PHP fatal errors
1PHP warnings
No JavaScript exceptions
All test pages loaded successfully
1Resource error (CSS, JS, images, fonts and so on.)
  • 1 500 Internal Server Error
Performance

Memory usage: 103.51 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version4.9.4
PHP version7.0.16
MySQL version5.7.17
PHP memory limit256M
Plugin Info
Last updated
Active installs 400,000+
WordPress.org page https://wordpress.org/plugins/amp/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?activate=true&plugin_status=all&paged=1&s=
Requested URL /wp-admin/plugins.php?action=activate&plugin=amp%2Famp.php&plugin_status=all&paged=1&s&_wpnonce=9904679e87
Aspect after-activation
HTTP status 200 OK
Load time 0.157 s
Memory usage 3.04 MiB
JS errors None
Resource errors None

Appearance → AMP

Page screenshot: Appearance → AMP
URL /wp-admin/customize.php?autofocus[panel]=amp_panel&url=http%3A%2F%2F192.168.1.59%2F2017%2F08%2F12%2Fhello-world%2Famp%2F&
Aspect menu-item
HTTP status 200 OK
Load time 0.138 s
Memory usage 4.71 MiB
JS errors None
Resource errors
[
    {
        "errorCode": 401,
        "errorString": "Error downloading [testSite]/2017/08/12/hello-world/amp/?customize_changeset_uuid=0a0163dc-7d70-4025-8aca-5b61d42a6959&customize_theme=twentyseventeen&customize_messenger_channel=preview-0 - server replied: Internal Server Error",
        "status": 500,
        "statusText": "Internal Server Error",
        "url": "[testSite]/2017/08/12/hello-world/amp/?customize_changeset_uuid=0a0163dc-7d70-4025-8aca-5b61d42a6959&customize_theme=twentyseventeen&customize_messenger_channel=preview-0"
    }
]

AMP

Page screenshot: AMP
URL /wp-admin/admin.php?page=amp-options
Aspect menu-item
HTTP status 200 OK
Load time 0.033 s
Memory usage 2.94 MiB
JS errors None
Resource errors None

AMP → Analytics

Page screenshot: AMP → Analytics
URL /wp-admin/admin.php?page=amp-analytics-options
Aspect menu-item
HTTP status 200 OK
Load time 0.074 s
Memory usage 2.94 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200 OK
Load time 0.069 s
Memory usage 2.8 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.151 s0.107 s-0.044 s2.97 MiB3.07 MiB+ 102.3 KiB
/wp-admin/edit.php0.128 s0.112 s-0.016 s3 MiB3.12 MiB+ 117.91 KiB
/wp-admin/post-new.php0.203 s0.087 s-0.116 s3.07 MiB3.29 MiB+ 226.92 KiB
/wp-admin/upload.php0.097 s0.132 s+0.035 s2.9 MiB2.96 MiB+ 57.17 KiB
/wp-admin/options-writing.php0.103 s0.081 s-0.022 s2.89 MiB2.95 MiB+ 56.81 KiB
/wp-admin/media-new.php0.048 s0.064 s+0.016 s2.88 MiB2.94 MiB+ 57.17 KiB
/wp-admin/edit-tags.php?taxonomy=category0.091 s0.079 s-0.012 s2.92 MiB3.04 MiB+ 120.86 KiB
/wp-admin/post-new.php?post_type=page0.195 s0.054 s-0.141 s3.07 MiB3.19 MiB+ 123.21 KiB
/wp-admin/options-discussion.php0.084 s0.093 s+0.009 s2.89 MiB2.94 MiB+ 57.13 KiB
/wp-admin/edit-comments.php0.093 s0.097 s+0.004 s2.93 MiB3.04 MiB+ 115.64 KiB
/0.081 s0.088 s+0.007 s2.7 MiB2.81 MiB+ 103.48 KiB
Average 0.116 s0.090 s-0.025 s2.93 MiB3.03 MiB+ 103.51 KiB

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

No new entries found.

PHP Error Log 2 lines

[06-Feb-2018 17:45:22 UTC] PHP Warning:  require(/wp-content/plugins/amp/wpcom/class-amp-polldaddy-embed.php): failed to open stream: No such file or directory in /wp-content/plugins/amp/includes/class-amp-autoloader.php on line 106
[06-Feb-2018 17:45:22 UTC] PHP Fatal error:  require(): Failed opening required '/wp-content/plugins/amp/wpcom/class-amp-polldaddy-embed.php' (include_path='.:/opt/bitnami/php/lib/php') in /wp-content/plugins/amp/includes/class-amp-autoloader.php on line 106
See also: All tests for this plugin, How to Hide AMP Admin Menus and Meta Boxes