WordPress.org

Forums

Postie
[resolved] Fatal error: Cannot redeclare function file_get_html (4 posts)

  1. raamdev
    Member
    Posted 2 years ago #

    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.php

    Another 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.php as follows:

    if(!function_exists(file_get_html)) { require_once (dirname(__FILE__) . DIRECTORY_SEPARATOR . 'simple_html_dom.php'); }

    http://wordpress.org/extend/plugins/postie/

  2. Wayne Allen
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks for the bug report and fix.

  3. Wayne Allen
    Member
    Plugin Author

    Posted 2 years ago #

    Fixed in 1.4.9

  4. raamdev
    Member
    Posted 2 years ago #

    Excellent! Thank you very much. :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Postie
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.