wpsnoop Fatal error: Cannot redeclare init()

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

Examples of this error include:

PHP Fatal error: Cannot redeclare init() (previously declared in wp-content/plugins/imdbscraper/ImdbScraper_INIT.php:12)

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

PHP Fatal error: Cannot redeclare init() (previously declared in wp-content/plugins/recent-lastfm-tracks/recent-last-fm-tracks.php:13)

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

PHP Fatal error: Cannot redeclare init() (previously declared in wp-content/plugins/diskspace/DiskSpace.php:21)

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

PHP Fatal error: Cannot redeclare init() (previously declared in wp-content/plugins/single-categories/single_categories.php:27)

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

PHP Fatal error: Cannot redeclare init() (previously declared in wp-content/plugins/wp-planet/rss.class/rss_fetch.inc:333)

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

PHP Fatal error: Cannot redeclare init() (previously declared in wp-content/plugins/bbpress-improved-statistics-users-online/bbpress-improved-statistics-users-online.php:30)

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

PHP Fatal error: Cannot redeclare init() (previously declared in wp-content/plugins/googlecalendarlist/googleCalendarListOptions.php:5)

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

PHP Fatal error: Cannot redeclare init() (previously declared in wp-content/plugins/footer-post-cyclic-rotation/includes/template-function.php:99)

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

PHP Fatal error: Cannot redeclare init() (previously declared in wp-content/plugins/itunes-appstore-app-ranking/iar.php:17)

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

PHP Fatal error: Cannot redeclare init() (previously declared in wp-content/plugins/custom-my-account-for-woocommerce/phoen-woocommerce-myaccount.php:23)

This file is part of the WordPress plugin Custom My Account for Woocommerce and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare init() (previously declared in wp-content/plugins/multipay/multipay.php:14)

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

PHP Fatal error: Cannot redeclare init() (previously declared in wp-content/plugins/resaline/resaline.php:135)

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

PHP Fatal error: Cannot redeclare init() (previously declared in wp-content/plugins/sales-cheater/salescheater.php:111)

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

PHP Fatal error: Cannot redeclare init() (previously declared in wp-content/plugins/ic-scroll-to-top/ic-scroll-to-top.php:14)

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

PHP Fatal error: Cannot redeclare init() (previously declared in wp-content/plugins/category-subcategory-list-widget/category-list-widget.php:367)

This file is part of the WordPress plugin Category Subcategory List Widget 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.