wpsnoop Fatal error: Cannot redeclare emd_get_single_template()

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

Examples of this error include:

PHP Fatal error: Cannot redeclare emd_get_single_template() (previously declared in wp-content/plugins/employee-directory/includes/layout-functions.php:216)

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

PHP Fatal error: Cannot redeclare emd_get_single_template() (previously declared in wp-content/plugins/employee-spotlight/includes/layout-functions.php:216)

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

PHP Fatal error: Cannot redeclare emd_get_single_template() (previously declared in wp-content/plugins/knowledge-center/includes/layout-functions.php:216)

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

PHP Fatal error: Cannot redeclare emd_get_single_template() (previously declared in wp-content/plugins/wp-easy-contact/includes/layout-functions.php:216)

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

PHP Fatal error: Cannot redeclare emd_get_single_template() (previously declared in wp-content/plugins/wp-easy-events/includes/layout-functions.php:216)

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

PHP Fatal error: Cannot redeclare emd_get_single_template() (previously declared in wp-content/plugins/campus-directory/includes/layout-functions.php:216)

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

PHP Fatal error: Cannot redeclare emd_get_single_template() (previously declared in wp-content/plugins/youtube-showcase/includes/layout-functions.php:216)

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

PHP Fatal error: Cannot redeclare emd_get_single_template() (previously declared in wp-content/plugins/request-a-quote/includes/layout-functions.php:216)

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

PHP Fatal error: Cannot redeclare emd_get_single_template() (previously declared in wp-content/plugins/software-issue-manager/includes/layout-functions.php:216)

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

PHP Fatal error: Cannot redeclare emd_get_single_template() (previously declared in wp-content/plugins/drug-search/includes/layout-functions.php:216)

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

PHP Fatal error: Cannot redeclare emd_get_single_template() (previously declared in wp-content/plugins/wp-ticket/includes/layout-functions.php:216)

This file is part of the WordPress plugin Customer Service Software & Support Ticket System 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.