Fatal error: Cannot redeclare function file_get_html
-
After upgrading to 1.4.7 I discovered the following error when running Postie manually using the “Run Postie Manually” button in the config panel:
Fatal error: Cannot redeclare function file_get_html in [...]wp-content/plugins/postie/simple_html_dom.phpAnother plugin (in my case, LightBox Plus) was already loading the Simple HTML DOM functions and classes. So, to get Postie working again I changed the following line in
get_mail.phpas follows:if(!function_exists(file_get_html)) { require_once (dirname(__FILE__) . DIRECTORY_SEPARATOR . 'simple_html_dom.php'); }
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Fatal error: Cannot redeclare function file_get_html’ is closed to new replies.