wpsnoop Fatal error: Cannot redeclare json_api_init()

If you are dealing with a WordPress issue where a PHP Function json_api_init() was already declared it is most likely due to a plugin/theme conflict.

wpsnoop scanned and analyzed over 100,000 WordPress plugins and themes to find and locate potential conflicts including functions that share the same name.

This page has information on the 10 places where that function is declared and used in WordPress plugins and themes.

Note: Our database currently only taps into the free themes and plugins available in the publicly available WordPress plugins and themes, if your site uses paid plugins, themes or custom code there may be additional conflicts.


Our database has uncovered 10 different instances of potential conflicts where different plugins or themes share the function name.

Examples of this error include:

PHP Fatal error: Cannot redeclare json_api_init() (previously declared in wp-content/plugins/thrivehive/thrivehive.php:850)

This file is part of the WordPress plugin ThriveHive and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare json_api_init() (previously declared in wp-content/plugins/the-pressengine/plugin.php:31)

This file is part of the WordPress plugin The Pressengine and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare json_api_init() (previously declared in wp-content/plugins/ideapress-json-api/ideapress-json-api.php:22)

This file is part of the WordPress plugin IdeaPress JSON API and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare json_api_init() (previously declared in wp-content/plugins/appeto-woocommerce/json-api/json-api.php:14)

This file is part of the WordPress plugin Appeto and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare json_api_init() (previously declared in wp-content/plugins/speeb-publisher/json-api.php:52)

This file is part of the WordPress plugin Speeb Publisher and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare json_api_init() (previously declared in wp-content/plugins/json-api/json-api.php:23)

This file is part of the WordPress plugin JSON API and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare json_api_init() (previously declared in wp-content/plugins/reactor-core/json-rest-api/plugin.php:45)

This file is part of the WordPress plugin Reactor: Core and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare json_api_init() (previously declared in wp-content/plugins/nutnote/nutnote.php:28)

This file is part of the WordPress plugin NutNote Plugin for wordpress and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare json_api_init() (previously declared in wp-content/plugins/json-rest-api/plugin.php:45)

This file is part of the WordPress plugin WP REST API and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare json_api_init() (previously declared in wp-content/plugins/prograpper/wp-api/plugin.php:37)

This file is part of the WordPress plugin Prograpper and could be interacting with another theme or plugin and causing a fatal error.

The error occurs because two (or more) plugins that you are using are both trying to declare a function with the same name.