Error in debug log: Filter for "amp_is_enabled" added too late.

Posted in: Newspaper
Post count: 93

Hi,

This error is causing my debug log to grow very large. It seems to be in the functions.php in the theme folder. Pleae assist

04-Jan-2021 10:34:10 UTC] PHP Notice: add_filter was called incorrectly. Filter for "amp_is_enabled" added too late. To disable AMP, this filter must be added before the "plugins_loaded" action. Please see Debugging in WordPress for more information. (This message was added in version 2.0.) in /home/constru/public_html/wp-includes/functions.php on line 5171

Post count: 18283

Hello !

Please try to remove and re-install the AMP plugin and clear your cache.

Let us know if the error still appears after this steps.

Thank you !

Post count: 93

Hi, Tried that but no luck. the error is still showing

Post count: 18283

Hello !

We need to take a look and see what can be done there to see if a fix can be done.

Please contact us via email at contact@tagdiv.com and provide the following:

– admin url and credentials
– A link to this topic in order to identify you

Our team will take a look !

Please note that at the moment the Support team is not 24/7 available. We answer the topics from Latest to Newest Monday – Friday from 08:00AM to 05:00PM GMT+2

Thank you !

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.