Title: Function amp_has_paired_endpoint was called incorrectly. Function called while A
Last modified: December 27, 2022

---

# Function amp_has_paired_endpoint was called incorrectly. Function called while A

 *  Resolved [ejaganece](https://wordpress.org/support/users/ejaganece/)
 * (@ejaganece)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/function-amp_has_paired_endpoint-was-called-incorrectly-function-called-while-a/)
 * Hi, my site displaying this error recently “Notice: Function amp_has_paired_endpoint
   was called incorrectly. Function called while AMP is disabled via `amp_is_enabled`
   filter. The service ID “paired_routing” is not recognized and cannot be retrieved.
   Please see Debugging in WordPress for more information. (This message was added
   in version 2.1.1.) in /home/tamiltalk360.com/public_html/wp-includes/functions.
   php on line 5835″
 * ![](https://i0.wp.com/i.imgur.com/kO1LMHU.jpg?ssl=1)
 * Can you please tell how can i clear this problem.
 * Thanks,
   Jagan

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

 *  Plugin Support [Milind More](https://wordpress.org/support/users/milindmore22/)
 * (@milindmore22)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/function-amp_has_paired_endpoint-was-called-incorrectly-function-called-while-a/#post-16325020)
 * Hello [@ejaganece](https://wordpress.org/support/users/ejaganece/) 
   Thank you
   for contacting us, it seems you are using a Newspaper theme by tagDiv, they have
   done some customizations to force the AMP template and their settings.You are
   seeing a notice because one of their custom code is generating a notice, the 
   notice tells us that they are using `amp_has_paired_endpoint` function on a page
   where AMP is disabled via `amp_is_enabled` filter. We will recommend contacting
   the tagDiv theme support as they can provide you with better guidance regarding
   their custom codeWe hope this helps!
 *  Plugin Support [Milind More](https://wordpress.org/support/users/milindmore22/)
 * (@milindmore22)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/function-amp_has_paired_endpoint-was-called-incorrectly-function-called-while-a/#post-16341375)
 * [@ejaganece](https://wordpress.org/support/users/ejaganece/) As we didn’t receive
   a response I’ll mark this as resolved. Feel free to open a [new support topic](https://wordpress.org/support/plugin/amp/#new-post)
   if you require any further assistance.

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

The topic ‘Function amp_has_paired_endpoint was called incorrectly. Function called
while A’ is closed to new replies.

 * ![](https://ps.w.org/amp/assets/icon.svg?rev=2527602)
 * [AMP](https://wordpress.org/plugins/amp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amp/)
 * [Active Topics](https://wordpress.org/support/plugin/amp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amp/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Milind More](https://wordpress.org/support/users/milindmore22/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/function-amp_has_paired_endpoint-was-called-incorrectly-function-called-while-a/#post-16341375)
 * Status: resolved