{"id":12645152,"date":"2020-04-08T11:47:45","date_gmt":"2020-04-08T11:47:45","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/amp_endpoint-error\/"},"modified":"2020-04-08T11:47:45","modified_gmt":"2020-04-08T11:47:45","slug":"amp_endpoint-error","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/amp_endpoint-error\/","title":{"rendered":"amp_endpoint error"},"content":{"rendered":"<p>I am getting the following error on my site that occurs when using the new MS Edge Browser:<\/p>\n<pre><code>Notice: is_amp_endpoint was called incorrectly. is_amp_endpoint() was called before the parse_query hook was called. Please see Debugging in WordPress for more information. (This message was added in version 0.4.2.) in \/var\/www\/vhosts\/example.us\/public_html\/example\/wp-includes\/functions.php on line 5167\n<\/code><\/pre>\n<p>The reported error also breaks my layout. It goes away when I deactivate AMP. No other plugin fixes the error. The problem doesn&#8217;t seem to occur on Firefox or Chrome (at least it doesn&#8217;t show as an error). No way to know if it shows up on Macs.<\/p>\n<p>Thoughts? I have no idea where to start on this.  TIA<\/p>\n","protected":false},"template":"","class_list":["post-12645152","topic","type-topic","status-publish","hentry","topic-tag-layout-broken"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12645152","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12645152\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=12645152"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}