wpsnoop: fix Ninja Galleries plugin conflicts, errors & issues

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


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

Get professional support for Ninja Galleries here

When you need professional help with WordPress: get help here


What does Ninja Galleries version 1.0.24 add to WordPress? Answers Here.

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

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

Type & Path Size Conflicts
wp-content/plugins/ninja-galleries/ 2.06MB No known conflicts with other themes or plugins.
wp-content/plugins/ninja-galleries/.svnignore 92.00B No known conflicts with other themes or plugins.
wp-content/plugins/ninja-galleries/assets/ No known conflicts with other themes or plugins.
wp-content/plugins/ninja-galleries/assets/js/ No known conflicts with other themes or plugins.
wp-content/plugins/ninja-galleries/LICENSE 17.62kB No known conflicts with other themes or plugins.
wp-content/plugins/ninja-galleries/ninja-galleries.php 12.76kB No known conflicts with other themes or plugins.
wp-content/plugins/ninja-galleries/readme.txt 5.26kB No known conflicts with other themes or plugins.
wp-content/plugins/ninja-galleries/screenshot-1.png 127.98kB No known conflicts with other themes or plugins.
wp-content/plugins/ninja-galleries/screenshot-2.png 197.19kB No known conflicts with other themes or plugins.
wp-content/plugins/ninja-galleries/screenshot-3.png 110.31kB No known conflicts with other themes or plugins.
wp-content/plugins/ninja-galleries/screenshot-4.png 606.80kB No known conflicts with other themes or plugins.
wp-content/plugins/ninja-galleries/screenshot-5.png 960.07kB No known conflicts with other themes or plugins.
wp-content/plugins/ninja-galleries/wpnj-media-tags/ 72.98kB No known conflicts with other themes or plugins.
wp-content/plugins/ninja-galleries/wpnj-media-tags/media_tags.php 13.43kB No known conflicts with other themes or plugins.
wp-content/plugins/ninja-galleries/wpnj-media-tags/mediatags_admin.php 31.71kB No known conflicts with other themes or plugins.
wp-content/plugins/ninja-galleries/wpnj-media-tags/mediatags_config.php 712.00B No known conflicts with other themes or plugins.
wp-content/plugins/ninja-galleries/wpnj-media-tags/mediatags_export_import.php 906.00B No known conflicts with other themes or plugins.
wp-content/plugins/ninja-galleries/wpnj-media-tags/mediatags_feed.php 1.18kB No known conflicts with other themes or plugins.
wp-content/plugins/ninja-galleries/wpnj-media-tags/mediatags_inline_edit.js 4.05kB No known conflicts with other themes or plugins.
wp-content/plugins/ninja-galleries/wpnj-media-tags/mediatags_legacy_convert.php 3.49kB No known conflicts with other themes or plugins.
wp-content/plugins/ninja-galleries/wpnj-media-tags/mediatags_rewrite.php 6.27kB No known conflicts with other themes or plugins.
wp-content/plugins/ninja-galleries/wpnj-media-tags/mediatags_rss.php 2.45kB No known conflicts with other themes or plugins.
wp-content/plugins/ninja-galleries/wpnj-media-tags/mediatags_settings.php 1.01kB No known conflicts with other themes or plugins.
wp-content/plugins/ninja-galleries/wpnj-media-tags/mediatags_shortcodes.php 2.26kB No known conflicts with other themes or plugins.
wp-content/plugins/ninja-galleries/wpnj-media-tags/mediatags_style_admin.css 1.24kB No known conflicts with other themes or plugins.
wp-content/plugins/ninja-galleries/wpnj-media-tags/mediatags_tagcloud.php No known conflicts with other themes or plugins.
wp-content/plugins/ninja-galleries/wpnj-media-tags/mediatags_template_functions.php 3.65kB No known conflicts with other themes or plugins.
wp-content/plugins/ninja-galleries/wpnj-media-tags/mediatags_thirdparty.php 668.00B No known conflicts with other themes or plugins.

Which new shortcodes does Ninja Galleries add to WordPress?

ShortCode   Known Plugin or Theme conflicts
[wpnj-media-tags] The wpnj-media-tags shortcode doesn't have any known conflicts with other themes or plugins.
[wpnj_gal_list] The wpnj_gal_list 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 Ninja Galleries?

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

What new PHP functions does Ninja Galleries declare when it is active?

Function   Conflicts Common Errors
add_help_text 3 conflicts Fatal error: Cannot redeclare add_help_text()
get_the_mediatags 1 conflict Fatal error: Cannot redeclare get_the_mediatags()
in_mediatag 1 conflict Fatal error: Cannot redeclare in_mediatag()
is_mediatag 1 conflict Fatal error: Cannot redeclare is_mediatag()
list_mediatags 1 conflict Fatal error: Cannot redeclare list_mediatags()
mediatags_cloud 1 conflict Fatal error: Cannot redeclare mediatags_cloud()
single_mediatag_title 1 conflict Fatal error: Cannot redeclare single_mediatag_title()
the_mediatags 1 conflict Fatal error: Cannot redeclare the_mediatags()
_wpnj_media_tag_row 0 conflicts Fatal error: Cannot redeclare _wpnj_media_tag_row()
mytheme_add_box2 0 conflicts Fatal error: Cannot redeclare mytheme_add_box2()
mytheme_save_data2 0 conflicts Fatal error: Cannot redeclare mytheme_save_data2()
mytheme_show_box2 0 conflicts Fatal error: Cannot redeclare mytheme_show_box2()
wpnj_add_mediatags_alternate_link 0 conflicts Fatal error: Cannot redeclare wpnj_add_mediatags_alternate_link()
wpnj_default_item_callback 0 conflicts Fatal error: Cannot redeclare wpnj_default_item_callback()
wpnj_gallery_build_tax 0 conflicts Fatal error: Cannot redeclare wpnj_gallery_build_tax()
wpnj_gallery_custom_columns 0 conflicts Fatal error: Cannot redeclare wpnj_gallery_custom_columns()
wpnj_gallery_custom_post_type 0 conflicts Fatal error: Cannot redeclare wpnj_gallery_custom_post_type()
wpnj_gallery_display_list 0 conflicts Fatal error: Cannot redeclare wpnj_gallery_display_list()
wpnj_gallery_edit_columns 0 conflicts Fatal error: Cannot redeclare wpnj_gallery_edit_columns()
wpnj_gallery_post_display 0 conflicts Fatal error: Cannot redeclare wpnj_gallery_post_display()
wpnj_gallery_updated_messages 0 conflicts Fatal error: Cannot redeclare wpnj_gallery_updated_messages()
wpnj_get_attachments_by_media_tags 0 conflicts Fatal error: Cannot redeclare wpnj_get_attachments_by_media_tags()
wpnj_get_mediatag_admin_edit_link 0 conflicts Fatal error: Cannot redeclare wpnj_get_mediatag_admin_edit_link()
wpnj_get_mediatag_admin_library_link 0 conflicts Fatal error: Cannot redeclare wpnj_get_mediatag_admin_library_link()
wpnj_get_mediatag_admin_search_link 0 conflicts Fatal error: Cannot redeclare wpnj_get_mediatag_admin_search_link()
wpnj_get_mediatag_link 0 conflicts Fatal error: Cannot redeclare wpnj_get_mediatag_link()
wpnj_get_mediatags 0 conflicts Fatal error: Cannot redeclare wpnj_get_mediatags()
wpnj_inline_edit_mediatags_row 0 conflicts Fatal error: Cannot redeclare wpnj_inline_edit_mediatags_row()
wpnj_is_media_tags_url 0 conflicts Fatal error: Cannot redeclare wpnj_is_media_tags_url()
wpnj_media_tags_display_rows 0 conflicts Fatal error: Cannot redeclare wpnj_media_tags_display_rows()
wpnj_media_tags_register_columns 0 conflicts Fatal error: Cannot redeclare wpnj_media_tags_register_columns()
wpnj_media_upload_mediatags 0 conflicts Fatal error: Cannot redeclare wpnj_media_upload_mediatags()
wpnj_media_upload_mediatags_form 0 conflicts Fatal error: Cannot redeclare wpnj_media_upload_mediatags_form()
wpnj_mediatag_upload_tab 0 conflicts Fatal error: Cannot redeclare wpnj_mediatag_upload_tab()
wpnj_mediatags_addqueryvar 0 conflicts Fatal error: Cannot redeclare wpnj_mediatags_addqueryvar()
wpnj_mediatags_admin_panels 0 conflicts Fatal error: Cannot redeclare wpnj_mediatags_admin_panels()
wpnj_mediatags_createrewriterules 0 conflicts Fatal error: Cannot redeclare wpnj_mediatags_createrewriterules()
wpnj_mediatags_delete_attachment_proc 0 conflicts Fatal error: Cannot redeclare wpnj_mediatags_delete_attachment_proc()
wpnj_mediatags_get_fields 0 conflicts Fatal error: Cannot redeclare wpnj_mediatags_get_fields()
wpnj_mediatags_includetemplate 0 conflicts Fatal error: Cannot redeclare wpnj_mediatags_includetemplate()
wpnj_mediatags_init_rewrite 0 conflicts Fatal error: Cannot redeclare wpnj_mediatags_init_rewrite()
wpnj_mediatags_library_column_header 0 conflicts Fatal error: Cannot redeclare wpnj_mediatags_library_column_header()
wpnj_mediatags_library_column_row 0 conflicts Fatal error: Cannot redeclare wpnj_mediatags_library_column_row()
wpnj_mediatags_load_master 0 conflicts Fatal error: Cannot redeclare wpnj_mediatags_load_master()
wpnj_mediatags_mgmt_panel 0 conflicts Fatal error: Cannot redeclare wpnj_mediatags_mgmt_panel()
wpnj_mediatags_parsequery 0 conflicts Fatal error: Cannot redeclare wpnj_mediatags_parsequery()
wpnj_mediatags_postsjoin 0 conflicts Fatal error: Cannot redeclare wpnj_mediatags_postsjoin()
wpnj_mediatags_postswhere 0 conflicts Fatal error: Cannot redeclare wpnj_mediatags_postswhere()
wpnj_mediatags_process_actions 0 conflicts Fatal error: Cannot redeclare wpnj_mediatags_process_actions()
wpnj_mediatags_process_add 0 conflicts Fatal error: Cannot redeclare wpnj_mediatags_process_add()
wpnj_mediatags_process_delete 0 conflicts Fatal error: Cannot redeclare wpnj_mediatags_process_delete()
wpnj_mediatags_process_delete_bulk 0 conflicts Fatal error: Cannot redeclare wpnj_mediatags_process_delete_bulk()
wpnj_mediatags_process_edit 0 conflicts Fatal error: Cannot redeclare wpnj_mediatags_process_edit()
wpnj_mediatags_process_inline_save 0 conflicts Fatal error: Cannot redeclare wpnj_mediatags_process_inline_save()
wpnj_mediatags_process_update 0 conflicts Fatal error: Cannot redeclare wpnj_mediatags_process_update()
wpnj_mediatags_reconcile_counts 0 conflicts Fatal error: Cannot redeclare wpnj_mediatags_reconcile_counts()
wpnj_mediatags_setting_permalink_proc 0 conflicts Fatal error: Cannot redeclare wpnj_mediatags_setting_permalink_proc()
wpnj_mediatags_settings_api_init 0 conflicts Fatal error: Cannot redeclare wpnj_mediatags_settings_api_init()
wpnj_mediatags_settings_panel 0 conflicts Fatal error: Cannot redeclare wpnj_mediatags_settings_panel()
wpnj_mediatags_shortcode_handler 0 conflicts Fatal error: Cannot redeclare wpnj_mediatags_shortcode_handler()
wpnj_mediatags_show_fields_to_edit 0 conflicts Fatal error: Cannot redeclare wpnj_mediatags_show_fields_to_edit()
wpnj_mediatags_term_link 0 conflicts Fatal error: Cannot redeclare wpnj_mediatags_term_link()
wpnj_mediatags_wp_export_metadata 0 conflicts Fatal error: Cannot redeclare wpnj_mediatags_wp_export_metadata()
wpnj_mediatags_wp_import_metadata 0 conflicts Fatal error: Cannot redeclare wpnj_mediatags_wp_import_metadata()
wpnj_meditags_process_attachment_fields_to_save 0 conflicts Fatal error: Cannot redeclare wpnj_meditags_process_attachment_fields_to_save()
wpnj_wpnj_mediatags_google_sitemap_pages 0 conflicts Fatal error: Cannot redeclare wpnj_wpnj_mediatags_google_sitemap_pages()

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

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

wp plugin install ninja-galleries


How to activate Ninja Galleries from the command line with WP-CLI

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

wp plugin install ninja-galleries --activate


How to reinstall Ninja Galleries from the command line with WP-CLI

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

wp plugin install ninja-galleries --force


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

wp plugin update ninja-galleries


How to delete Ninja Galleries from the command line with WP-CLI

wp plugin delete ninja-galleries

Where can you download earlier versions of Ninja Galleries?

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 Ninja Galleries 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 Ninja Galleries

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