wpsnoop Fatal error: Cannot redeclare theme_layouts_get_layouts()

If you are dealing with a WordPress issue where a PHP Function theme_layouts_get_layouts() 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 24 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 24 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_layouts_get_layouts() (previously declared in wp-content/themes/ravel/library/extensions/theme-layouts.php:116)

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

PHP Fatal error: Cannot redeclare theme_layouts_get_layouts() (previously declared in wp-content/themes/cakifo/library/extensions/theme-layouts.php:112)

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

PHP Fatal error: Cannot redeclare theme_layouts_get_layouts() (previously declared in wp-content/themes/unique/library/extensions/theme-layouts.php:112)

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

PHP Fatal error: Cannot redeclare theme_layouts_get_layouts() (previously declared in wp-content/themes/spine/hybrid-core/extensions/theme-layouts.php:112)

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

PHP Fatal error: Cannot redeclare theme_layouts_get_layouts() (previously declared in wp-content/themes/retro-fitted/library/extensions/theme-layouts.php:112)

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

PHP Fatal error: Cannot redeclare theme_layouts_get_layouts() (previously declared in wp-content/themes/cara/library/extensions/theme-layouts.php:116)

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

PHP Fatal error: Cannot redeclare theme_layouts_get_layouts() (previously declared in wp-content/themes/mantel-lite/library/extensions/theme-layouts.php:112)

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

PHP Fatal error: Cannot redeclare theme_layouts_get_layouts() (previously declared in wp-content/themes/highstake-lite/inc/extensions/theme-layouts.php:116)

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

PHP Fatal error: Cannot redeclare theme_layouts_get_layouts() (previously declared in wp-content/themes/live-wire/library/extensions/theme-layouts.php:112)

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

PHP Fatal error: Cannot redeclare theme_layouts_get_layouts() (previously declared in wp-content/themes/skyfall/library/extensions/theme-layouts.php:112)

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

PHP Fatal error: Cannot redeclare theme_layouts_get_layouts() (previously declared in wp-content/themes/genbu/library/extensions/theme-layouts.php:116)

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

PHP Fatal error: Cannot redeclare theme_layouts_get_layouts() (previously declared in wp-content/themes/biancaa/inc/hybrid/theme-layouts.php:116)

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

PHP Fatal error: Cannot redeclare theme_layouts_get_layouts() (previously declared in wp-content/themes/govpress/inc/theme-layouts.php:116)

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

PHP Fatal error: Cannot redeclare theme_layouts_get_layouts() (previously declared in wp-content/themes/bulan/inc/hybrid/theme-layouts.php:112)

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

PHP Fatal error: Cannot redeclare theme_layouts_get_layouts() (previously declared in wp-content/themes/retro-fitted/library/extensions/theme-layouts.php:112)

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

PHP Fatal error: Cannot redeclare theme_layouts_get_layouts() (previously declared in wp-content/themes/silvia/inc/hybrid/theme-layouts.php:112)

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

PHP Fatal error: Cannot redeclare theme_layouts_get_layouts() (previously declared in wp-content/themes/chun/library/extensions/theme-layouts.php:112)

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

PHP Fatal error: Cannot redeclare theme_layouts_get_layouts() (previously declared in wp-content/themes/prototype/library/extensions/theme-layouts.php:112)

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

PHP Fatal error: Cannot redeclare theme_layouts_get_layouts() (previously declared in wp-content/themes/eino/library/extensions/theme-layouts.php:112)

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

PHP Fatal error: Cannot redeclare theme_layouts_get_layouts() (previously declared in wp-content/themes/celebrate/library/extensions/theme-layouts.php:112)

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

PHP Fatal error: Cannot redeclare theme_layouts_get_layouts() (previously declared in wp-content/themes/lifelog/library/extensions/theme-layouts.php:116)

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

PHP Fatal error: Cannot redeclare theme_layouts_get_layouts() (previously declared in wp-content/themes/neutro/library/extensions/theme-layouts.php:112)

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

PHP Fatal error: Cannot redeclare theme_layouts_get_layouts() (previously declared in wp-content/themes/plain-wp/library/extensions/theme-layouts.php:112)

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

PHP Fatal error: Cannot redeclare theme_layouts_get_layouts() (previously declared in wp-content/themes/birthday-gift/library/extensions/theme-layouts.php:116)

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