Title: Error trying to activate JSON REST API plugin
Last modified: August 24, 2016

---

# Error trying to activate JSON REST API plugin

 *  [mmonti](https://wordpress.org/support/users/mmonti/)
 * (@mmonti)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/error-trying-to-activate-json-rest-api-plugin/)
 * Hi guys,
    I am trying to install JSON REST API Plugin since its required to use
   AngularJS for WP plugin and I am receiving the following message when I try to
   activate it:
 *     ```
       Fatal error: Cannot redeclare json_api_init() (previously declared in /home/content/p3pnexwpnas06_data03/82/2306882/html/wp-content/plugins/custom-contact-forms/vendor/wp-api/wp-api/plugin.php:46) in /home/content/p3pnexwpnas06_data03/82/2306882/html/wp-content/plugins/json-rest-api/plugin.php on line 50
       ```
   
 * **Disclaimer:** I am new with wordpress.
 * Any help is appreciated.
 * [https://wordpress.org/plugins/json-rest-api/](https://wordpress.org/plugins/json-rest-api/)

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

 *  [kjlekha](https://wordpress.org/support/users/kjlekha/)
 * (@kjlekha)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/error-trying-to-activate-json-rest-api-plugin/#post-6033030)
 * I am also facing the same issue. My hosting is wpengine. Kindly help us activate
   this plugin…
 *  [ViktorPontinen](https://wordpress.org/support/users/viktorpontinen/)
 * (@viktorpontinen)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/error-trying-to-activate-json-rest-api-plugin/#post-6033035)
 * There is a conflict between your plugins.
 * The plugin located in “plugins/custom-contact-forms/” or “Custom Contact Forms”
   already uses a function called json_api_init() .
    Looking at the “Custom Contact
   Forms” plugin source code on github it looks like it uses some custom version
   of the WP API. And therefore you probably won’t be able to use these plugins 
   together.
 * This is in my opinion an issue for the author of Custom Contact Forms plugin 
   to resolve since he uses functions that overlap with the WP API functions.
 *  Plugin Author [Ryan McCue](https://wordpress.org/support/users/rmccue/)
 * (@rmccue)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/error-trying-to-activate-json-rest-api-plugin/#post-6033039)
 * I pinged [@tlovett1](https://wordpress.org/support/users/tlovett1/) (the author
   of CCF) about this, but doesn’t look like he’s gotten to it yet. 🙂

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

The topic ‘Error trying to activate JSON REST API plugin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/json-rest-api_2e3641.svg)
 * [WP REST API (WP API)](https://wordpress.org/plugins/json-rest-api/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/json-rest-api/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/json-rest-api/)
 * [Active Topics](https://wordpress.org/support/plugin/json-rest-api/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/json-rest-api/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/json-rest-api/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [Ryan McCue](https://wordpress.org/support/users/rmccue/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/error-trying-to-activate-json-rest-api-plugin/#post-6033039)
 * Status: not resolved