wpsnoop Fatal error: Cannot redeclare your_function()

If you are dealing with a WordPress issue where a PHP Function your_function() 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 9 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 9 different instances of potential conflicts where different plugins or themes share the function name.

Examples of this error include:

PHP Fatal error: Cannot redeclare your_function() (previously declared in wp-content/plugins/simple-page-navigation-with-page-numbers/simple-pagenavi.php:277)

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

PHP Fatal error: Cannot redeclare your_function() (previously declared in wp-content/plugins/pagenavi-automatic-page-numbers/pagenavi-automic-pagenumbers.php:74)

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

PHP Fatal error: Cannot redeclare your_function() (previously declared in wp-content/plugins/user-verification/includes/functions-mail-otp.php:558)

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

PHP Fatal error: Cannot redeclare your_function() (previously declared in wp-content/plugins/eventcalendar/merlic-events-calendar.php:24)

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

PHP Fatal error: Cannot redeclare your_function() (previously declared in wp-content/plugins/scroll-to-top-one/scroll-to-top-one.php:37)

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

PHP Fatal error: Cannot redeclare your_function() (previously declared in wp-content/plugins/zazzle-store-gallery/zazzle.php:86)

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

PHP Fatal error: Cannot redeclare your_function() (previously declared in wp-content/plugins/flash-widget/clocky.php:183)

This file is part of the WordPress plugin Clocky - Flash Clock Widget and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare your_function() (previously declared in wp-content/plugins/page-numbers-page-navigation/page-numbers-page-naviation.php:276)

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

PHP Fatal error: Cannot redeclare your_function() (previously declared in wp-content/plugins/weather-spider-display-weather-forecast-on-your-blog/index.php:242)

This file is part of the WordPress plugin Weather Spider 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.