Title: REST API Issue
Last modified: September 14, 2018

---

# REST API Issue

 *  Resolved [Howdy_McGee](https://wordpress.org/support/users/howdy_mcgee/)
 * (@howdy_mcgee)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/rest-api-issue-2/)
 * 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.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Gabriel Berzescu](https://wordpress.org/support/users/gabrielberzescu/)
 * (@gabrielberzescu)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/rest-api-issue-2/#post-10694869)
 * Hi there,
 * I remember a similar issue being reported some time ago, but I can’t find it 
   on the development list, so perhaps it has been already fixed.
 * What version are you using? Please update to the latest version.
 * Cheers,
 *  Thread Starter [Howdy_McGee](https://wordpress.org/support/users/howdy_mcgee/)
 * (@howdy_mcgee)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/rest-api-issue-2/#post-10695894)
 * [@gabrielberzescu](https://wordpress.org/support/users/gabrielberzescu/) I’m 
   up to date in both the plugin and WordPress. If I search for `rest_enabled` I
   do find it in the plugin:
 *     ```
       features/functions.php LN 1174
   
       add_filter('rest_enabled', 'wppb_disable_rest');
       ```
   
 *  [Gabriel Berzescu](https://wordpress.org/support/users/gabrielberzescu/)
 * (@gabrielberzescu)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/rest-api-issue-2/#post-10698334)
 * Hello again,
 * It would appear that the issue is already fixed and arriving in the next update.
 * Cheers,

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘REST API Issue’ is closed to new replies.

 * ![](https://ps.w.org/profile-builder/assets/icon-256x256.png?rev=2961144)
 * [User Profile Builder - Beautiful User Registration Forms, User Profiles & User Role Editor](https://wordpress.org/plugins/profile-builder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/profile-builder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/profile-builder/)
 * [Active Topics](https://wordpress.org/support/plugin/profile-builder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/profile-builder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/profile-builder/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Gabriel Berzescu](https://wordpress.org/support/users/gabrielberzescu/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/rest-api-issue-2/#post-10698334)
 * Status: resolved