wpsnoop: fix Query Posts plugin conflicts, errors & issues

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


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

Get professional support for Query Posts here

When you need professional help with WordPress: get help here


What does Query Posts version 0.3.2 add to WordPress? Answers Here.

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

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

Type & Path Size Conflicts
wp-content/plugins/query-posts/ 96.39kB No known conflicts with other themes or plugins.
wp-content/plugins/query-posts/languages/ 12.07kB No known conflicts with other themes or plugins.
wp-content/plugins/query-posts/languages/query-posts-en_EN.mo 559.00B No known conflicts with other themes or plugins.
wp-content/plugins/query-posts/languages/query-posts-en_EN.po 2.97kB No known conflicts with other themes or plugins.
wp-content/plugins/query-posts/languages/query-posts-nl_NL.mo 1.14kB No known conflicts with other themes or plugins.
wp-content/plugins/query-posts/languages/query-posts-nl_NL.po 4.44kB No known conflicts with other themes or plugins.
wp-content/plugins/query-posts/languages/query-posts.pot 2.97kB No known conflicts with other themes or plugins.
wp-content/plugins/query-posts/license.txt 17.89kB No known conflicts with other themes or plugins.
wp-content/plugins/query-posts/query-posts-plugin.php 12.52kB No known conflicts with other themes or plugins.
wp-content/plugins/query-posts/readme.css 3.90kB No known conflicts with other themes or plugins.
wp-content/plugins/query-posts/readme.html 12.10kB No known conflicts with other themes or plugins.
wp-content/plugins/query-posts/readme.txt 3.63kB No known conflicts with other themes or plugins.
wp-content/plugins/query-posts/screenshot-1.png 11.54kB No known conflicts with other themes or plugins.
wp-content/plugins/query-posts/widget-query-posts.php 22.73kB No known conflicts with other themes or plugins.

Which new shortcodes does Query Posts add to WordPress?

ShortCode   Known Plugin or Theme conflicts
[entry-author] The entry-author shortcode has potential conflicts with at least 22 other plugins or themes.
[entry-comments-link] The entry-comments-link shortcode has potential conflicts with at least 20 other plugins or themes.
[entry-edit-link] The entry-edit-link shortcode has potential conflicts with at least 21 other plugins or themes.
[entry-published] The entry-published shortcode has potential conflicts with at least 22 other plugins or themes.
[entry-terms] The entry-terms shortcode has potential conflicts with at least 21 other plugins or themes.

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 Query Posts?

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

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

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

Function   Conflicts Common Errors
query_posts_load_widgets 1 conflict Fatal error: Cannot redeclare query_posts_load_widgets()
query_posts_setup 1 conflict Fatal error: Cannot redeclare query_posts_setup()
query_posts_entry_author_shortcode 0 conflicts Fatal error: Cannot redeclare query_posts_entry_author_shortcode()
query_posts_entry_comments_link_shortcode 0 conflicts Fatal error: Cannot redeclare query_posts_entry_comments_link_shortcode()
query_posts_entry_edit_link_shortcode 0 conflicts Fatal error: Cannot redeclare query_posts_entry_edit_link_shortcode()
query_posts_entry_published_shortcode 0 conflicts Fatal error: Cannot redeclare query_posts_entry_published_shortcode()
query_posts_entry_terms_shortcode 0 conflicts Fatal error: Cannot redeclare query_posts_entry_terms_shortcode()
query_posts_get_taxonomies 0 conflicts Fatal error: Cannot redeclare query_posts_get_taxonomies()
query_posts_input_checkbox 0 conflicts Fatal error: Cannot redeclare query_posts_input_checkbox()
query_posts_input_text 0 conflicts Fatal error: Cannot redeclare query_posts_input_text()
query_posts_input_text_small 0 conflicts Fatal error: Cannot redeclare query_posts_input_text_small()
query_posts_label 0 conflicts Fatal error: Cannot redeclare query_posts_label()
query_posts_select_multiple 0 conflicts Fatal error: Cannot redeclare query_posts_select_multiple()
query_posts_select_single 0 conflicts Fatal error: Cannot redeclare query_posts_select_single()
query_posts_shortcodes 0 conflicts Fatal error: Cannot redeclare query_posts_shortcodes()
query_posts_textarea 0 conflicts Fatal error: Cannot redeclare query_posts_textarea()

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

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

wp plugin install query-posts


How to activate Query Posts from the command line with WP-CLI

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

wp plugin install query-posts --activate


How to reinstall Query Posts from the command line with WP-CLI

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

wp plugin install query-posts --force


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

wp plugin update query-posts


How to delete Query Posts from the command line with WP-CLI

wp plugin delete query-posts

Where can you download earlier versions of Query Posts?

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 Query Posts 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 Query Posts

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