I got this notice at the top of my page, with a broken layout.
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/bogeymedia.us/public_html/golfblogger/wp-includes/functions.php on line 5167
It seems that it’s related to the AMP and AMP for GeneratePress plugins. When I deactivate those, the layout returns to normal. But of course, I won’t have AMP functionality.
Is this possibly a GeneratePress issue, or something else? TIA