WordPress.org

Forums

RSS Import is broken (3 posts)

  1. liljoeyjordison
    Member
    Posted 9 years ago #

    When i try and import anything (i've only tried importing from RSS) i get the following PHP error- and everything dies.


    Fatal error: Cannot redeclare class rss_import in /path/tp/wp-admin/import/rss.php on line 3

    It's the latest version, i downloaded it about an hour ago

  2. AprilRose
    Member
    Posted 9 years ago #

    I had the same problem with WordPress 2.0.2. As a matter of fact, all the import options gave a similar error.

    I modified wp-admin/admin.php.

    I only changed the following line (number 86):

    from:
    include(ABSPATH . "wp-admin/import/$importer.php");

    to:
    include_once(ABSPATH . "wp-admin/import/$importer.php");

    import worked fine after that.

  3. chonk
    Member
    Posted 8 years ago #

    This solution worked for me!

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags