Title: amp_endpoint error
Last modified: April 8, 2020

---

# amp_endpoint error

 *  [bogeymedia](https://wordpress.org/support/users/bogeymedia/)
 * (@bogeymedia)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/amp_endpoint-error/)
 * I am getting the following error on my site that occurs when using the new MS
   Edge Browser:
 *     ```
       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
       ```
   
 * The reported error also breaks my layout. It goes away when I deactivate AMP.
   No other plugin fixes the error. The problem doesn’t seem to occur on Firefox
   or Chrome (at least it doesn’t show as an error). No way to know if it shows 
   up on Macs.
 * Thoughts? I have no idea where to start on this. TIA
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Famp_endpoint-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [6 years, 2 months ago](https://wordpress.org/support/topic/amp_endpoint-error/#post-12645815)
 * Which AMP plugin are you using?
 *  Thread Starter [bogeymedia](https://wordpress.org/support/users/bogeymedia/)
 * (@bogeymedia)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/amp_endpoint-error/#post-12645980)
 * Official WP plugin. version 1.5.2
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [6 years, 2 months ago](https://wordpress.org/support/topic/amp_endpoint-error/#post-12645986)
 * I recommend asking at [https://wordpress.org/support/plugin/amp/#new-post](https://wordpress.org/support/plugin/amp/#new-post)
   so the plugin’s developers and support community can help you with this.
 *  Thread Starter [bogeymedia](https://wordpress.org/support/users/bogeymedia/)
 * (@bogeymedia)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/amp_endpoint-error/#post-12646040)
 * Thanks

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘amp_endpoint error’ is closed to new replies.

## Tags

 * [layout broken](https://wordpress.org/support/topic-tag/layout-broken/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [bogeymedia](https://wordpress.org/support/users/bogeymedia/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/amp_endpoint-error/#post-12646040)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
