WordPress.org

Ready to get started?Download WordPress

Forums

HTML Import 2
[resolved] Fatal error: Call to a member function xpath() on a non-object (6 posts)

  1. emeraldwave
    Member
    Posted 1 year ago #

    Despite 1 file import working fine, when I try to import all files as directory but get below error (I'm importing as pages):

    HTML Importer
    Importing HTML files...
    Fatal error: Call to a member function xpath() on a non-object in /home/mydomain/public_html/cms/wp-content/plugins/import-html-pages/html-importer.php on line 369

    I deactivated all other plugins and cleared browser cache but still get same error.

    Any suggestions on what I might be doing wrong or how to fix it?

    http://wordpress.org/extend/plugins/import-html-pages/

  2. skywalker89
    Member
    Posted 1 year ago #

    have the sdame issue

    Fatal error: Call to a member function xpath() on a non-object in /home/usefrees/public_html/homeofhomebusiness/wp-content/plugins/import-html-pages/html-importer.php on line 369

    any idea?

    Thx

    D

  3. Stephanie Leary
    Member
    Plugin Author

    Posted 1 year ago #

    This error appears when the importer can't find the tag or region you specified for the content or title. I'll fix the importer in the next version so it just warns you about what happened instead of failing altogether.

  4. TheWebRockstar
    Member
    Posted 1 year ago #

    I'm having the same issue.

    Would there be a way to have the plugin ignore if it can't find the tag?

    It's hard to nail down which file is missing what tag when dealing with a couple hundred files :) Needle in the haystack.

  5. Stephanie Leary
    Member
    Plugin Author

    Posted 1 year ago #

    I know. I'm working on it. PHP's Xpath functions are weird.

  6. beltex
    Member
    Posted 1 year ago #

    same error here, been 8 months now guess it wont be fixed

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic