wpsnoop: fix WP REST API plugin conflicts, errors & issues

When the plugin WP REST API conflicts or throws a PHP error we hope wpsnoop can help you to fix the issue quickly.


Discover which shortcodes wp-options PHP functions database tables and files are created by WP REST API, plus learn which plugins and/or themes could be in conflict with WP REST API.


Troubleshooting theme and plugin conflicts is easier when you know what WP REST API leaves behind after uninstalling it from a WordPress installation, there is a list down below for your convenience.

Expert advice is recommended if you are not technically proficient with PHP, MySQL etc. View support options for WP REST API

Get professional support for WP REST API here

When you need professional help with WordPress: get help here


What does WP REST API version 1.2.5 add to WordPress? Answers Here.

This is an automatically generated report - it is possible for WP REST API to perform differently in your installation, previous versions before 1.2.5 may have created a different set of shortcodes, used different function names or could have created entirely different database tables to store settings and operate. This is not an exhaustive list but shows how version 1.2.5 of WP REST API behaves when installed and removed on a clean installation of WordPress.

We have not tested individual shortcodes, features or settings of this plugin but instead have concentrated on the potential for obvious errors and conflicts which can occur, if you need help with the plugin in your local installation you can get WordPress help and support for WP REST API by clicking here.

Our testing covered the free version of this plugin there may or may not be a paid version or premium version available for purchase that unlocks additional features and could behave in a slightly or very different manner.

Which new files does WP REST API add to WordPress?

This section will populate with a table showing an icon, size and filepath.

Type & Path Size Conflicts
wp-content/plugins/json-rest-api/ 350.86kB No known conflicts with other themes or plugins.
wp-content/plugins/json-rest-api/CHANGELOG.md 50.01kB No known conflicts with other themes or plugins.
wp-content/plugins/json-rest-api/CONTRIBUTING.md 1.23kB No known conflicts with other themes or plugins.
wp-content/plugins/json-rest-api/docs/ 48.23kB No known conflicts with other themes or plugins.
wp-content/plugins/json-rest-api/docs/README.md 1.02kB No known conflicts with other themes or plugins.
wp-content/plugins/json-rest-api/docs/routes/ 47.20kB No known conflicts with other themes or plugins.
wp-content/plugins/json-rest-api/docs/routes/routes.md 47.20kB No known conflicts with other themes or plugins.
wp-content/plugins/json-rest-api/lib/ 134.67kB No known conflicts with other themes or plugins.
wp-content/plugins/json-rest-api/lib/class-jsonserializable.php 312.00B No known conflicts with other themes or plugins.
wp-content/plugins/json-rest-api/lib/class-wp-json-comments.php 6.76kB No known conflicts with other themes or plugins.
wp-content/plugins/json-rest-api/lib/class-wp-json-customposttype.php 6.46kB No known conflicts with other themes or plugins.
wp-content/plugins/json-rest-api/lib/class-wp-json-datetime.php 919.00B No known conflicts with other themes or plugins.
wp-content/plugins/json-rest-api/lib/class-wp-json-media.php 14.24kB No known conflicts with other themes or plugins.
wp-content/plugins/json-rest-api/lib/class-wp-json-meta-posts.php 3.24kB No known conflicts with other themes or plugins.
wp-content/plugins/json-rest-api/lib/class-wp-json-meta.php 12.28kB No known conflicts with other themes or plugins.
wp-content/plugins/json-rest-api/lib/class-wp-json-pages.php 3.30kB No known conflicts with other themes or plugins.
wp-content/plugins/json-rest-api/lib/class-wp-json-posts.php 35.97kB No known conflicts with other themes or plugins.
wp-content/plugins/json-rest-api/lib/class-wp-json-response.php 3.65kB No known conflicts with other themes or plugins.
wp-content/plugins/json-rest-api/lib/class-wp-json-responsehandler.php 396.00B No known conflicts with other themes or plugins.
wp-content/plugins/json-rest-api/lib/class-wp-json-responseinterface.php 772.00B No known conflicts with other themes or plugins.
wp-content/plugins/json-rest-api/lib/class-wp-json-server.php 20.89kB No known conflicts with other themes or plugins.
wp-content/plugins/json-rest-api/lib/class-wp-json-taxonomies.php 11.04kB No known conflicts with other themes or plugins.
wp-content/plugins/json-rest-api/lib/class-wp-json-users.php 13.62kB No known conflicts with other themes or plugins.
wp-content/plugins/json-rest-api/lib/wp-json.php 916.00B No known conflicts with other themes or plugins.
wp-content/plugins/json-rest-api/license.txt 14.79kB No known conflicts with other themes or plugins.
wp-content/plugins/json-rest-api/plugin.php 24.34kB No known conflicts with other themes or plugins.
wp-content/plugins/json-rest-api/README.md 4.32kB No known conflicts with other themes or plugins.
wp-content/plugins/json-rest-api/readme.txt 53.31kB No known conflicts with other themes or plugins.
wp-content/plugins/json-rest-api/wp-api.js 19.97kB No known conflicts with other themes or plugins.

Which new shortcodes does WP REST API add to WordPress?

Which new database tables are created by the WordPress plugin WP REST API?

Which new options are added to the wp-options table by WP REST API?

Option Name   Known Conflicts
json_api_plugin_version Potential conflict with 4 plugins or themes

During use WP REST API may or may not create more options depending on how the plugin is configured and depending on which other themes and plugins are active in your specific hosting environment.

What new PHP functions does WP REST API declare when it is active?

Function   Conflicts Common Errors
get_json_url 7 conflicts Fatal error: Cannot redeclare get_json_url()
json_api_activation 9 conflicts Fatal error: Cannot redeclare json_api_activation()
json_api_deactivation 9 conflicts Fatal error: Cannot redeclare json_api_deactivation()
json_api_default_filters 3 conflicts Fatal error: Cannot redeclare json_api_default_filters()
json_api_init 9 conflicts Fatal error: Cannot redeclare json_api_init()
json_api_loaded 3 conflicts Fatal error: Cannot redeclare json_api_loaded()
json_api_maybe_flush_rewrites 3 conflicts Fatal error: Cannot redeclare json_api_maybe_flush_rewrites()
json_api_register_rewrites 3 conflicts Fatal error: Cannot redeclare json_api_register_rewrites()
json_check_post_permission 6 conflicts Fatal error: Cannot redeclare json_check_post_permission()
json_cookie_check_errors 4 conflicts Fatal error: Cannot redeclare json_cookie_check_errors()
json_cookie_collect_status 4 conflicts Fatal error: Cannot redeclare json_cookie_collect_status()
json_ensure_response 5 conflicts Fatal error: Cannot redeclare json_ensure_response()
json_get_avatar_url 6 conflicts Fatal error: Cannot redeclare json_get_avatar_url()
json_get_date_with_gmt 5 conflicts Fatal error: Cannot redeclare json_get_date_with_gmt()
json_get_timezone 6 conflicts Fatal error: Cannot redeclare json_get_timezone()
json_get_url_prefix 5 conflicts Fatal error: Cannot redeclare json_get_url_prefix()
json_handle_deprecated_argument 4 conflicts Fatal error: Cannot redeclare json_handle_deprecated_argument()
json_handle_deprecated_function 4 conflicts Fatal error: Cannot redeclare json_handle_deprecated_function()
json_handle_options_request 4 conflicts Fatal error: Cannot redeclare json_handle_options_request()
json_mysql_to_rfc3339 6 conflicts Fatal error: Cannot redeclare json_mysql_to_rfc3339()
json_output_link_header 3 conflicts Fatal error: Cannot redeclare json_output_link_header()
json_output_link_wp_head 3 conflicts Fatal error: Cannot redeclare json_output_link_wp_head()
json_output_rsd 4 conflicts Fatal error: Cannot redeclare json_output_rsd()
json_parse_date 5 conflicts Fatal error: Cannot redeclare json_parse_date()
json_register_post_type 4 conflicts Fatal error: Cannot redeclare json_register_post_type()
json_register_scripts 3 conflicts Fatal error: Cannot redeclare json_register_scripts()
json_send_cors_headers 4 conflicts Fatal error: Cannot redeclare json_send_cors_headers()
json_url 7 conflicts Fatal error: Cannot redeclare json_url()

Using WP REST API from the command line with WP-CLI

The following commands are provided for convenience and should only be used if you understand how WP-CLI works. These commands refer to a single WordPress instance and may need to be modified if you are working with a Multisite installation.


How to install WP REST API from the command line with WP-CLI

Navigate to the root of your WordPress installation and type the following command:

wp plugin install json-rest-api


How to activate WP REST API from the command line with WP-CLI

To immediately activate WP REST API after WP-CLI downloads the latest version you can use the following command:

wp plugin install json-rest-api --activate


How to reinstall WP REST API from the command line with WP-CLI

To force a reinstallation of WP REST API which overwrites the current plugin without asking for confirmation you can use the following command:

wp plugin install json-rest-api --force


How to update WP REST API to the latest version from the command line with WP-CLI

wp plugin update json-rest-api


How to delete WP REST API from the command line with WP-CLI

wp plugin delete json-rest-api

Where can you download earlier versions of WP REST API?

Whenever possible you should use the latest version of plugins and themes, however if you have recently updated and discovered that you need to install an earlier version you may be able to download other versions of WP REST API from the WordPress repository by visiting this link.

Please note that installing earlier versions of a theme or plugin is not generally a recommended course of action for most users and could re-introduce security, stability or other issues in WP REST API

About our testing enviroment

Tests were conducted using Apache 2.4.29, PHP 7.2 on Ubuntu 18.04, MySQL 5.7.33 and WordPress 5.9

It is very possible that different versions of PHP such as PHP 8.0, PHP 7.4, or PHP 7.3 could behave differently with WP REST API. Different versions of WordPress could implement the features of this plugin in slightly different ways as well.