wpsnoop Fatal error: Cannot redeclare file_get_dom()

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

Examples of this error include:

PHP Fatal error: Cannot redeclare file_get_dom() (previously declared in wp-content/plugins/gamebattles-roster/simple_html_dom.php:67)

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

PHP Fatal error: Cannot redeclare file_get_dom() (previously declared in wp-content/plugins/head-cleaner/includes/simple_html_dom.php:67)

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

PHP Fatal error: Cannot redeclare file_get_dom() (previously declared in wp-content/plugins/linkexternal/simple_html_dom.php:67)

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

PHP Fatal error: Cannot redeclare file_get_dom() (previously declared in wp-content/plugins/simple-sex-positive-glossary/lib/simplehtmldom/simple_html_dom.php:67)

This file is part of the WordPress plugin Simple Sex-Positive Glossary and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare file_get_dom() (previously declared in wp-content/plugins/centre-images/simple_html_dom.php:69)

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

PHP Fatal error: Cannot redeclare file_get_dom() (previously declared in wp-content/plugins/smartlines/simple_html_dom.php:69)

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

PHP Fatal error: Cannot redeclare file_get_dom() (previously declared in wp-content/plugins/advanced-lazy-load/ganon/ganon.php:17)

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

PHP Fatal error: Cannot redeclare file_get_dom() (previously declared in wp-content/plugins/domaintools-whois-plugin/php/simple_html_dom.php:67)

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

PHP Fatal error: Cannot redeclare file_get_dom() (previously declared in wp-content/plugins/portfolleo/static/simplehtmldom/simple_html_dom.php:67)

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

PHP Fatal error: Cannot redeclare file_get_dom() (previously declared in wp-content/plugins/imnicamail/thirdparty/simplehtmldom/simple_html_dom.php:67)

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

PHP Fatal error: Cannot redeclare file_get_dom() (previously declared in wp-content/plugins/d64-lsr-stopper/simple_html_dom.php:67)

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

PHP Fatal error: Cannot redeclare file_get_dom() (previously declared in wp-content/plugins/yahoo-status/simple_html_dom.php:67)

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

PHP Fatal error: Cannot redeclare file_get_dom() (previously declared in wp-content/plugins/wikiful/includes/simple_html_dom.php:67)

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

PHP Fatal error: Cannot redeclare file_get_dom() (previously declared in wp-content/plugins/polymer-components/inc/ganon.php:17)

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

PHP Fatal error: Cannot redeclare file_get_dom() (previously declared in wp-content/plugins/wpostgrabber/component/simple_html_dom.php:127)

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

PHP Fatal error: Cannot redeclare file_get_dom() (previously declared in wp-content/plugins/external-links-to-new-window/includes/library/simple_html_dom.php:67)

This file is part of the WordPress plugin External Links to New Window and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare file_get_dom() (previously declared in wp-content/plugins/bible-post/simple_html_dom.php:67)

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

PHP Fatal error: Cannot redeclare file_get_dom() (previously declared in wp-content/plugins/facebook-commentstng/simple_html_dom.php:67)

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

PHP Fatal error: Cannot redeclare file_get_dom() (previously declared in wp-content/plugins/clientexec-bridge/includes/simple_html_dom.php:67)

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

PHP Fatal error: Cannot redeclare file_get_dom() (previously declared in wp-content/plugins/runkeeper-widget/simple_html_dom.php:67)

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

PHP Fatal error: Cannot redeclare file_get_dom() (previously declared in wp-content/plugins/wp-polymer/libs/ganon/ganon.php:17)

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

PHP Fatal error: Cannot redeclare file_get_dom() (previously declared in wp-content/plugins/angular/simple_html_dom.php:67)

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

PHP Fatal error: Cannot redeclare file_get_dom() (previously declared in wp-content/plugins/csprites-for-wordpress/includes/simple_html_dom.php:67)

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

PHP Fatal error: Cannot redeclare file_get_dom() (previously declared in wp-content/plugins/phpull/includes/simple_html_dom.php:67)

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

PHP Fatal error: Cannot redeclare file_get_dom() (previously declared in wp-content/plugins/gd-player/google-drive-api.php:245)

This file is part of the WordPress plugin GD Player For Google Drive Videos By: Video JS and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare file_get_dom() (previously declared in wp-content/plugins/transposh-translation-filter-for-wordpress/core/shd/simple_html_dom.php:69)

This file is part of the WordPress plugin Transposh Translation Filter 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.