wpsnoop Fatal error: Cannot redeclare admin_style()

If you are dealing with a WordPress issue where a PHP Function admin_style() was already declared it is most likely due to a plugin/theme conflict.

wpsnoop scanned and analyzed over 100,000 WordPress plugins and themes to find and locate potential conflicts including functions that share the same name.

This page has information on the 10 places where that function is declared and used in WordPress plugins and themes.

Note: Our database currently only taps into the free themes and plugins available in the publicly available WordPress plugins and themes, if your site uses paid plugins, themes or custom code there may be additional conflicts.


Our database has uncovered 10 different instances of potential conflicts where different plugins or themes share the function name.

Examples of this error include:

PHP Fatal error: Cannot redeclare admin_style() (previously declared in wp-content/plugins/space-admin-theme/index.php:27)

This file is part of the WordPress plugin ? Space Admin Theme and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare admin_style() (previously declared in wp-content/plugins/qr-code-generator-by-unitag/unitag.php:515)

This file is part of the WordPress plugin QR Code generator by Unitag and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare admin_style() (previously declared in wp-content/plugins/huzhop/admin/huzhop-admin-functions.php:13)

This file is part of the WordPress plugin Huzhop and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare admin_style() (previously declared in wp-content/plugins/helpbox-information/helpbox.php:57)

This file is part of the WordPress plugin HelpBox Information and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare admin_style() (previously declared in wp-content/plugins/disable-update-notifications/index.php:21)

This file is part of the WordPress plugin Disable WordPress Update Notifications and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare admin_style() (previously declared in wp-content/plugins/nichetable/dist/init.php:86)

This file is part of the WordPress plugin NicheTable and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare admin_style() (previously declared in wp-content/plugins/winsome-gallery/plugin-main.php:253)

This file is part of the WordPress plugin Winsome Gallery and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare admin_style() (previously declared in wp-content/plugins/cashbill-payment-method/woocommerce-cashbill.php:65)

This file is part of the WordPress plugin CashBill.pl - Płatności WooCommerce and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare admin_style() (previously declared in wp-content/themes/vlogr/framework/admin_modules/register_styles.php:67)

This file is part of the WordPress theme Vlogr and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare admin_style() (previously declared in wp-content/plugins/growpro-widgets/includes/gpw-functions.php:14)

This file is part of the WordPress plugin GrowPro widgets and could be interacting with another theme or plugin and causing a fatal error.

The error occurs because two (or more) plugins that you are using are both trying to declare a function with the same name.