Sorry to hear that, can you please send us your site URL along with site health information using this form.
It will help us understand your setup and identify possible conflicts.
]]>If you are using tagDiv theme. can you please contact the tagDiv support team and make them aware of the issue.
for now, please take the following actions,
Deactivate tagDiv Mobile theme plugin
OR
Install WP Rollback plugin and switch to the previous AMP plugin version 2.0.11
]]>You can find a production amp.zip
build of here: https://github.com/ampproject/amp-wp/pull/6184#issuecomment-834647329
(Please note the version will be shown as 2.2-alpha.)
The crux of the problem is that the tagDiv theme for some reason is disabling AMP with the amp_is_enabled
filter. When this is done, a call to is_amp_endpoint()
would cause the fatal error because the underlying PairedRouting
service that the function relies on is not registered. So in this new PR it’s now catching the exception and emitting a _doing_it_wrong()
notice instead.
Specifically, the amp.zip
build is located here: https://storage.googleapis.com/ampwp_github_artifacts/refs/heads/2.1/prod/amp.zip
You can also then find the standard WordPress plugin installation instructions on that same page.
Upon installation, the plugin version will be shown as: 2.1.1-alpha-20210507T193507Z-b416d35
.