wpsnoop: fix Sweepstakes plugin conflicts, errors & issues

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


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

Get professional support for Sweepstakes here

When you need professional help with WordPress: get help here


What does Sweepstakes version 0.1 add to WordPress? Answers Here.

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

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

Type & Path Size Conflicts
wp-content/plugins/sweepstakes/ 242.96kB No known conflicts with other themes or plugins.
wp-content/plugins/sweepstakes/assets/ 9.79kB No known conflicts with other themes or plugins.
wp-content/plugins/sweepstakes/assets/css/ 2.23kB No known conflicts with other themes or plugins.
wp-content/plugins/sweepstakes/assets/css/admin-styles.css 1.46kB No known conflicts with other themes or plugins.
wp-content/plugins/sweepstakes/assets/css/front-styles.css 786.00B No known conflicts with other themes or plugins.
wp-content/plugins/sweepstakes/assets/images/ No known conflicts with other themes or plugins.
wp-content/plugins/sweepstakes/assets/js/ 7.56kB No known conflicts with other themes or plugins.
wp-content/plugins/sweepstakes/assets/js/admin-scripts.js 5.26kB No known conflicts with other themes or plugins.
wp-content/plugins/sweepstakes/assets/js/front-scripts.js 2.30kB No known conflicts with other themes or plugins.
wp-content/plugins/sweepstakes/languages/ 35.34kB No known conflicts with other themes or plugins.
wp-content/plugins/sweepstakes/languages/sw-es_CA.mo 6.86kB No known conflicts with other themes or plugins.
wp-content/plugins/sweepstakes/languages/sw-es_CA.po 7.98kB No known conflicts with other themes or plugins.
wp-content/plugins/sweepstakes/languages/sw-es_ES.mo 6.98kB No known conflicts with other themes or plugins.
wp-content/plugins/sweepstakes/languages/sw-es_ES.po 8.10kB No known conflicts with other themes or plugins.
wp-content/plugins/sweepstakes/languages/sw.pot 5.42kB No known conflicts with other themes or plugins.
wp-content/plugins/sweepstakes/README.txt 1.75kB No known conflicts with other themes or plugins.
wp-content/plugins/sweepstakes/screenshot-1.png 38.83kB No known conflicts with other themes or plugins.
wp-content/plugins/sweepstakes/screenshot-2.png 37.66kB No known conflicts with other themes or plugins.
wp-content/plugins/sweepstakes/screenshot-3.png 70.76kB No known conflicts with other themes or plugins.
wp-content/plugins/sweepstakes/sweepstakes.php 48.83kB No known conflicts with other themes or plugins.

Which new shortcodes does Sweepstakes add to WordPress?

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

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

What new PHP functions does Sweepstakes declare when it is active?

Function   Conflicts Common Errors
_debug 3 conflicts Fatal error: Cannot redeclare _debug()
sw_add_error 0 conflicts Fatal error: Cannot redeclare sw_add_error()
sw_add_message 0 conflicts Fatal error: Cannot redeclare sw_add_message()
sw_admin_scripts 0 conflicts Fatal error: Cannot redeclare sw_admin_scripts()
sw_cache_metas 0 conflicts Fatal error: Cannot redeclare sw_cache_metas()
sw_caching_metas 0 conflicts Fatal error: Cannot redeclare sw_caching_metas()
sw_check_finished 0 conflicts Fatal error: Cannot redeclare sw_check_finished()
sw_custom_hash 0 conflicts Fatal error: Cannot redeclare sw_custom_hash()
sw_delete_winner 0 conflicts Fatal error: Cannot redeclare sw_delete_winner()
sw_form_field 0 conflicts Fatal error: Cannot redeclare sw_form_field()
sw_form_field_password 0 conflicts Fatal error: Cannot redeclare sw_form_field_password()
sw_form_submit 0 conflicts Fatal error: Cannot redeclare sw_form_submit()
sw_form_terms 0 conflicts Fatal error: Cannot redeclare sw_form_terms()
sw_format_date 0 conflicts Fatal error: Cannot redeclare sw_format_date()
sw_frontend_scripts 0 conflicts Fatal error: Cannot redeclare sw_frontend_scripts()
sw_get_field_name 0 conflicts Fatal error: Cannot redeclare sw_get_field_name()
sw_get_participant_by_hash 0 conflicts Fatal error: Cannot redeclare sw_get_participant_by_hash()
sw_get_responses 0 conflicts Fatal error: Cannot redeclare sw_get_responses()
sw_has_errors 0 conflicts Fatal error: Cannot redeclare sw_has_errors()
sw_has_messages 0 conflicts Fatal error: Cannot redeclare sw_has_messages()
sw_init 0 conflicts Fatal error: Cannot redeclare sw_init()
sw_manage_donwloads 0 conflicts Fatal error: Cannot redeclare sw_manage_donwloads()
sw_meta_boxes 0 conflicts Fatal error: Cannot redeclare sw_meta_boxes()
sw_new_user_notification 0 conflicts Fatal error: Cannot redeclare sw_new_user_notification()
sw_post_types 0 conflicts Fatal error: Cannot redeclare sw_post_types()
sw_print_errors 0 conflicts Fatal error: Cannot redeclare sw_print_errors()
sw_print_messages 0 conflicts Fatal error: Cannot redeclare sw_print_messages()
sw_process_register 0 conflicts Fatal error: Cannot redeclare sw_process_register()
sw_process_username 0 conflicts Fatal error: Cannot redeclare sw_process_username()
sw_promo_columns 0 conflicts Fatal error: Cannot redeclare sw_promo_columns()
sw_promo_content 0 conflicts Fatal error: Cannot redeclare sw_promo_content()
sw_promo_form 0 conflicts Fatal error: Cannot redeclare sw_promo_form()
sw_promo_logged_form 0 conflicts Fatal error: Cannot redeclare sw_promo_logged_form()
sw_promo_process 0 conflicts Fatal error: Cannot redeclare sw_promo_process()
sw_promo_register 0 conflicts Fatal error: Cannot redeclare sw_promo_register()
sw_promo_show_columns 0 conflicts Fatal error: Cannot redeclare sw_promo_show_columns()
sw_promo_winner 0 conflicts Fatal error: Cannot redeclare sw_promo_winner()
sw_reset_errors 0 conflicts Fatal error: Cannot redeclare sw_reset_errors()
sw_reset_messages 0 conflicts Fatal error: Cannot redeclare sw_reset_messages()
sw_right_now_promos 0 conflicts Fatal error: Cannot redeclare sw_right_now_promos()
sw_save_promo 0 conflicts Fatal error: Cannot redeclare sw_save_promo()
sw_show_metabox_code 0 conflicts Fatal error: Cannot redeclare sw_show_metabox_code()
sw_show_metabox_form 0 conflicts Fatal error: Cannot redeclare sw_show_metabox_form()
sw_show_metabox_users 0 conflicts Fatal error: Cannot redeclare sw_show_metabox_users()
sw_tables_styles 0 conflicts Fatal error: Cannot redeclare sw_tables_styles()
sw_user_did_participate 0 conflicts Fatal error: Cannot redeclare sw_user_did_participate()
sw_validate_field 0 conflicts Fatal error: Cannot redeclare sw_validate_field()

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

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

wp plugin install sweepstakes


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

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

wp plugin install sweepstakes --activate


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

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

wp plugin install sweepstakes --force


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

wp plugin update sweepstakes


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

wp plugin delete sweepstakes

Where can you download earlier versions of Sweepstakes?

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

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