register_rest_route was called incorrectly. error on WordPress 5.5 RC2




Wordpress LScache Plugin: register_rest_route was called incorrectly. error on WordPress 5.5 RC2

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hey Litespeed. Thanks for a fast plugin. Now on my WordPress 5.5 RC2 test bench, I receive this error when enabling LiteSpeed cache plugn: Notice: register_rest_route was called incorrectly. The REST API route definition for litespeed/v1/apikey is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.) in /home/oldrupdk/oldrup.net/wp-includes/functions.php on line 5225 So plugin remains disabled for know. Please let me know, if I can do anything to help troubleshooting. Bjarne Oldrup The page I need help with: https://oldrup.net/plugin/litespeed-cache/ Thanks for your feedback. This is fixed in v3.3-rc24. Your current site on QC is anonymous. If you registered later, please @ me and I will append a gift for this fix to your QC account. Nice! Pulled and activated the 3.3 version from github ? problem solved Thanks for the offer! Will keep that in mind Bjarne



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



Reference