REST API Issue
-
I’m having trouble with my REST API whenever this plugin is enabled, I get the following error:
PHP Notice: rest_enabled is deprecated since version 4.7.0! Use rest_authentication_errors instead. The REST API can no longer be completely disabled, the rest_authentication_errors filter can be used to restrict access to the API, instead. in \wp-includes\functions.php on line 4104
followed immediately by
PHP Warning: Cannot modify header information – headers already sent by (output started at \wp-includes\functions.php:4104) in \wp-includes\rest-api\class-wp-rest-server.php on line 1248
Whenever I disable this plugin my custom REST functions start working as expected.
The topic ‘REST API Issue’ is closed to new replies.