AMP




Wordpress LScache Plugin: AMP

Last Updated on: Wed, 15 Apr 2026 00:00:02
amp_is_available was called incorrectly. amp_is_available() (or amp_is_request(), formerly is_amp_endpoint()) was called too early and so it will not work properly. WordPress is currently doing the litespeed_init hook. Calling this function before the wp action means it will not have access to WP_Query and the queried object to determine if it is an AMP response, thus neither the amp_skip_post() filter nor the AMP enabled toggle will be considered. It appears the plugin with slug litespeed-cache is responsible please contact the author. Please see Debugging in WordPress for more information. It is breaking our site, I have rolled back to v3.6.4. Please tell me what is this error? Thank you. This topic was modified 1 year, 3 months ago by thanhstran98. Issue confirmed. Will give a fix on v4.3-alpha branch today. The fix is on latest dev. You can try it by Toolbox -> Beta Test w/ dev as value



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference