wpsnoop: fix RESTposts plugin conflicts, errors & issues

When the plugin RESTposts 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 RESTposts, plus learn which plugins and/or themes could be in conflict with RESTposts.


Troubleshooting theme and plugin conflicts is easier when you know what RESTposts 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 RESTposts

Get professional support for RESTposts here

When you need professional help with WordPress: get help here


What does RESTposts version 1.1.2 add to WordPress? Answers Here.

This is an automatically generated report - it is possible for RESTposts to perform differently in your installation, previous versions before 1.1.2 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.1.2 of RESTposts 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 RESTposts 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 RESTposts add to WordPress?

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

Type & Path Size Conflicts
wp-content/plugins/restposts/ 65.07kB No known conflicts with other themes or plugins.
wp-content/plugins/restposts/admin/ 5.63kB No known conflicts with other themes or plugins.
wp-content/plugins/restposts/admin/mrp-posts-shortcode_v2.php 5.63kB No known conflicts with other themes or plugins.
wp-content/plugins/restposts/css/ 6.28kB No known conflicts with other themes or plugins.
wp-content/plugins/restposts/css/settings-backend-style.css 4.10kB No known conflicts with other themes or plugins.
wp-content/plugins/restposts/css/style.css 2.17kB No known conflicts with other themes or plugins.
wp-content/plugins/restposts/inc/ 41.13kB No known conflicts with other themes or plugins.
wp-content/plugins/restposts/inc/mrp-featured-image.php 1.51kB No known conflicts with other themes or plugins.
wp-content/plugins/restposts/inc/mrp-generate-new.php 1.79kB No known conflicts with other themes or plugins.
wp-content/plugins/restposts/inc/mrp-posts-shortcode.php 4.95kB No known conflicts with other themes or plugins.
wp-content/plugins/restposts/inc/mrp-posts-widget.php 8.83kB No known conflicts with other themes or plugins.
wp-content/plugins/restposts/inc/mrp-register-cpt.php 1.84kB No known conflicts with other themes or plugins.
wp-content/plugins/restposts/inc/mrp-settings.php 22.22kB No known conflicts with other themes or plugins.
wp-content/plugins/restposts/js/ 2.48kB No known conflicts with other themes or plugins.
wp-content/plugins/restposts/js/rp-admin.js 2.48kB No known conflicts with other themes or plugins.
wp-content/plugins/restposts/readme.txt 3.86kB No known conflicts with other themes or plugins.
wp-content/plugins/restposts/rest-posts.php 4.20kB No known conflicts with other themes or plugins.
wp-content/plugins/restposts/uninstall.php 1.50kB No known conflicts with other themes or plugins.

Which new shortcodes does RESTposts add to WordPress?

ShortCode   Known Plugin or Theme conflicts
[rest_post] The rest_post shortcode doesn't have any known conflicts with other themes or plugins.
[restpost] The restpost shortcode doesn't have any known conflicts with other themes or plugins.

Note: We have not yet checked to see if these shortcodes work as expected in pages, posts, sidebar widgets, or when set as the page title, in content, in the excert, in menus or anywhere else within a WordPress installation. A shortcode could produce errors due to parameters added when it is used, or if the plugin is updated and the format of the shortcode has changed.

Which new database tables are created by the WordPress plugin RESTposts?

Which new options are added to the wp-options table by RESTposts?

Option Name   Known Conflicts
widget_restposts_widget The widget_restposts_widget option doesn't have any known conflicts with other themes or plugins.

During use RESTposts 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 RESTposts declare when it is active?

Function   Conflicts Common Errors
app_output_buffer 10 conflicts Fatal error: Cannot redeclare app_output_buffer()
plugin_options_page 12 conflicts Fatal error: Cannot redeclare plugin_options_page()
add_plugin_menu_item 0 conflicts Fatal error: Cannot redeclare add_plugin_menu_item()
enable_widget_shortcodes_element 0 conflicts Fatal error: Cannot redeclare enable_widget_shortcodes_element()
mrp_rest_post_shortcode 0 conflicts Fatal error: Cannot redeclare mrp_rest_post_shortcode()
mrp_rest_post_shortcode_v2 0 conflicts Fatal error: Cannot redeclare mrp_rest_post_shortcode_v2()
rest_posts_activation 0 conflicts Fatal error: Cannot redeclare rest_posts_activation()
rest_posts_deactivation 0 conflicts Fatal error: Cannot redeclare rest_posts_deactivation()
rest_posts_uninstall 0 conflicts Fatal error: Cannot redeclare rest_posts_uninstall()
restpost_plugin_panel_fields 0 conflicts Fatal error: Cannot redeclare restpost_plugin_panel_fields()
restposts_cpt_my_shortcodes_register 0 conflicts Fatal error: Cannot redeclare restposts_cpt_my_shortcodes_register()
restposts_plugin_action_links 0 conflicts Fatal error: Cannot redeclare restposts_plugin_action_links()
restposts_register_scripts 0 conflicts Fatal error: Cannot redeclare restposts_register_scripts()
restposts_register_styles 0 conflicts Fatal error: Cannot redeclare restposts_register_styles()
swp_get_thumbnail_url 0 conflicts Fatal error: Cannot redeclare swp_get_thumbnail_url()
swp_insert_thumbnail_url 0 conflicts Fatal error: Cannot redeclare swp_insert_thumbnail_url()

Using RESTposts 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 RESTposts from the command line with WP-CLI

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

wp plugin install restposts


How to activate RESTposts from the command line with WP-CLI

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

wp plugin install restposts --activate


How to reinstall RESTposts from the command line with WP-CLI

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

wp plugin install restposts --force


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

wp plugin update restposts


How to delete RESTposts from the command line with WP-CLI

wp plugin delete restposts

Where can you download earlier versions of RESTposts?

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 RESTposts 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 RESTposts

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 RESTposts. Different versions of WordPress could implement the features of this plugin in slightly different ways as well.