wpsnoop Fatal error: Cannot redeclare theme_init()

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

Examples of this error include:

PHP Fatal error: Cannot redeclare theme_init() (previously declared in wp-content/themes/illustrative/functions.php:4)

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

PHP Fatal error: Cannot redeclare theme_init() (previously declared in wp-content/themes/arjuna-x/functions.php:1888)

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

PHP Fatal error: Cannot redeclare theme_init() (previously declared in wp-content/themes/sthblue/functions.php:215)

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

PHP Fatal error: Cannot redeclare theme_init() (previously declared in wp-content/themes/sunshine/functions.php:320)

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

PHP Fatal error: Cannot redeclare theme_init() (previously declared in wp-content/themes/music-illustrated/functions.php:483)

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

PHP Fatal error: Cannot redeclare theme_init() (previously declared in wp-content/themes/deep-mix/functions.php:220)

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

PHP Fatal error: Cannot redeclare theme_init() (previously declared in wp-content/themes/digu/functions.php:343)

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

PHP Fatal error: Cannot redeclare theme_init() (previously declared in wp-content/themes/me3/functions.php:346)

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

PHP Fatal error: Cannot redeclare theme_init() (previously declared in wp-content/themes/cordobo-green-park-2/functions.php:5)

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

PHP Fatal error: Cannot redeclare theme_init() (previously declared in wp-content/themes/china-red/functions.php:27)

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

PHP Fatal error: Cannot redeclare theme_init() (previously declared in wp-content/themes/the-power-of-the-water/functions.php:3)

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

PHP Fatal error: Cannot redeclare theme_init() (previously declared in wp-content/themes/js-o1/functions.php:23)

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

PHP Fatal error: Cannot redeclare theme_init() (previously declared in wp-content/themes/js-o4w/functions.php:27)

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

PHP Fatal error: Cannot redeclare theme_init() (previously declared in wp-content/themes/regal/functions.php:11)

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

PHP Fatal error: Cannot redeclare theme_init() (previously declared in wp-content/themes/beauty/functions.php:169)

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

PHP Fatal error: Cannot redeclare theme_init() (previously declared in wp-content/themes/rgblite/functions.php:16)

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

PHP Fatal error: Cannot redeclare theme_init() (previously declared in wp-content/themes/dfblog/functions.php:239)

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

PHP Fatal error: Cannot redeclare theme_init() (previously declared in wp-content/themes/eos/functions.php:320)

This file is part of the WordPress theme Eos 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.