Error with AMP

Posted in: Newspaper
Post count: 15

Hello

I have activated the WordPress debug and I get this error. Can this generate 504 timeouts that I have often enough? When I see the debug log file I have almost 280 lines identical to this error:

[02-Sep-2020 18:41:58 UTC] PHP Notice: add_filter is called the wrong way. Filter for amp_is_enabled"amp_is_enabled" added too late. To disable AMP, this filter must be added before the action. Please read Debugging in WordPress (en) for more information. (This post has been added to version 2.0.) in /var/www/vhosts/pre.handirect.fr/httpdocs/wp-includes/functions.php on line 5225

Translated with http://www.DeepL.com/Translator (free version)

Thank you for Help

Nicolas

Post count: 18283

Hello !

Please remove AMP plugin and reinstall and configure as you can see in our guide here: https://forum.tagdiv.com/tagdiv-amp-plugin-tutorial/

Thank you !

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