wpsnoop: fix Product Gallery plugin conflicts, errors & issues

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


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

Get professional support for Product Gallery here

When you need professional help with WordPress: get help here


What does Product Gallery version 6.2 add to WordPress? Answers Here.

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

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

Type & Path Size Conflicts
wp-content/plugins/product-gallery/ 80.31kB No known conflicts with other themes or plugins.
wp-content/plugins/product-gallery/css/ 3.14kB No known conflicts with other themes or plugins.
wp-content/plugins/product-gallery/css/jquery.lightbox-0.5.css 1.65kB No known conflicts with other themes or plugins.
wp-content/plugins/product-gallery/css/products.css 854.00B No known conflicts with other themes or plugins.
wp-content/plugins/product-gallery/css/styles.css 677.00B No known conflicts with other themes or plugins.
wp-content/plugins/product-gallery/images/ 28.21kB No known conflicts with other themes or plugins.
wp-content/plugins/product-gallery/images/bg_play_pause.png 1.51kB No known conflicts with other themes or plugins.
wp-content/plugins/product-gallery/images/icon.png 3.43kB No known conflicts with other themes or plugins.
wp-content/plugins/product-gallery/images/lightbox-blank.gif 43.00B No known conflicts with other themes or plugins.
wp-content/plugins/product-gallery/images/lightbox-btn-close.gif 700.00B No known conflicts with other themes or plugins.
wp-content/plugins/product-gallery/images/lightbox-btn-next.gif 812.00B No known conflicts with other themes or plugins.
wp-content/plugins/product-gallery/images/lightbox-btn-prev.gif 832.00B No known conflicts with other themes or plugins.
wp-content/plugins/product-gallery/images/lightbox-ico-loading.gif 3.90kB No known conflicts with other themes or plugins.
wp-content/plugins/product-gallery/images/next.png 8.58kB No known conflicts with other themes or plugins.
wp-content/plugins/product-gallery/images/previous.png 8.46kB No known conflicts with other themes or plugins.
wp-content/plugins/product-gallery/js/ 9.16kB No known conflicts with other themes or plugins.
wp-content/plugins/product-gallery/js/jquery.lightbox-0.5.min.js 9.16kB No known conflicts with other themes or plugins.
wp-content/plugins/product-gallery/product-gallery-categories.php 6.50kB No known conflicts with other themes or plugins.
wp-content/plugins/product-gallery/product-gallery-post.php 9.72kB No known conflicts with other themes or plugins.
wp-content/plugins/product-gallery/product-gallery-shortcode.php 939.00B No known conflicts with other themes or plugins.
wp-content/plugins/product-gallery/product-gallery-template.php 7.81kB No known conflicts with other themes or plugins.
wp-content/plugins/product-gallery/product-gallery-widget.php 9.64kB No known conflicts with other themes or plugins.
wp-content/plugins/product-gallery/product-gallery.php 3.46kB No known conflicts with other themes or plugins.
wp-content/plugins/product-gallery/readme.txt 1.76kB No known conflicts with other themes or plugins.

Which new shortcodes does Product Gallery add to WordPress?

ShortCode   Known Plugin or Theme conflicts
[category_gallery] The category_gallery shortcode doesn't have any known conflicts with other themes or plugins.
[lightbox_product_gallery] The lightbox_product_gallery 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 Product Gallery?

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

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

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

Function   Conflicts Common Errors
load_widget 5 conflicts Fatal error: Cannot redeclare load_widget()
my_column_header 0 conflicts Fatal error: Cannot redeclare my_column_header()
my_column_value 0 conflicts Fatal error: Cannot redeclare my_column_value()
rpg_add_gallerylink_meta_box 0 conflicts Fatal error: Cannot redeclare rpg_add_gallerylink_meta_box()
rpg_add_product_management_role 0 conflicts Fatal error: Cannot redeclare rpg_add_product_management_role()
rpg_build_taxonomies 0 conflicts Fatal error: Cannot redeclare rpg_build_taxonomies()
rpg_convert_id_to_term_in_query 0 conflicts Fatal error: Cannot redeclare rpg_convert_id_to_term_in_query()
rpg_gallery_add_role_caps 0 conflicts Fatal error: Cannot redeclare rpg_gallery_add_role_caps()
rpg_gallery_columns_content 0 conflicts Fatal error: Cannot redeclare rpg_gallery_columns_content()
rpg_gallery_columns_head 0 conflicts Fatal error: Cannot redeclare rpg_gallery_columns_head()
rpg_gallery_get_featured_image 0 conflicts Fatal error: Cannot redeclare rpg_gallery_get_featured_image()
rpg_gallery_save 0 conflicts Fatal error: Cannot redeclare rpg_gallery_save()
rpg_lightbox_initialize 0 conflicts Fatal error: Cannot redeclare rpg_lightbox_initialize()
rpg_register_gallery_posttype 0 conflicts Fatal error: Cannot redeclare rpg_register_gallery_posttype()
rpg_remove_product_management_role 0 conflicts Fatal error: Cannot redeclare rpg_remove_product_management_role()
rpg_short_category_gallery 0 conflicts Fatal error: Cannot redeclare rpg_short_category_gallery()
rpg_short_lightbox_product_gallery 0 conflicts Fatal error: Cannot redeclare rpg_short_lightbox_product_gallery()
rpg_show_gallery_box 0 conflicts Fatal error: Cannot redeclare rpg_show_gallery_box()
rpg_taxonomy_filter_restrict_manage_posts 0 conflicts Fatal error: Cannot redeclare rpg_taxonomy_filter_restrict_manage_posts()
rpg_tem_lightbox_product_gallery 0 conflicts Fatal error: Cannot redeclare rpg_tem_lightbox_product_gallery()
rpg_tem_lightbox_product_gallery_short_desc 0 conflicts Fatal error: Cannot redeclare rpg_tem_lightbox_product_gallery_short_desc()
rpg_tem_rnd_category 0 conflicts Fatal error: Cannot redeclare rpg_tem_rnd_category()
rpg_tem_rnd_product 0 conflicts Fatal error: Cannot redeclare rpg_tem_rnd_product()
tem_category_gallery 0 conflicts Fatal error: Cannot redeclare tem_category_gallery()
wpds_admin_head 0 conflicts Fatal error: Cannot redeclare wpds_admin_head()
wpds_save_tax_pic 0 conflicts Fatal error: Cannot redeclare wpds_save_tax_pic()
wpds_tax_field 0 conflicts Fatal error: Cannot redeclare wpds_tax_field()
wpds_tax_pic_url 0 conflicts Fatal error: Cannot redeclare wpds_tax_pic_url()

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

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

wp plugin install product-gallery


How to activate Product Gallery from the command line with WP-CLI

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

wp plugin install product-gallery --activate


How to reinstall Product Gallery from the command line with WP-CLI

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

wp plugin install product-gallery --force


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

wp plugin update product-gallery


How to delete Product Gallery from the command line with WP-CLI

wp plugin delete product-gallery

Where can you download earlier versions of Product Gallery?

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 Product Gallery 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 Product Gallery

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