• Resolved scottkwilson

    (@scottkwilson)


    Hello,
    I’m trying to move my site to a new host but have encountered a warning and a fatal error, as follows:

    Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0

    Fatal error: Unknown: Failed opening required ‘/home4/swcreative/public_html/mri-imaging-db/wordfence-waf.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in Unknown on line 0

    If you have any suggestions on what the issue could be, I’d greatly appreciate it.

    Thanks

    https://wordpress.org/plugins/duplicator/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Cory Lamle

    (@corylamleorg)

    Hey Scott,

    You can try a few things:

    1. On step 2 of the installer under advanced options disable all the plugins before installing.

    2. Check to see if the file /home4/swcreative/public_html/mri-imaging-db/wordfence-waf.php exists if it doesn’t then you may not have a complete package or a permissions issue.

    Thanks~

    Thread Starter scottkwilson

    (@scottkwilson)

    There was some left over code from the Wordfence plugin (even after I deleted it) that was placed in the .htaccess and .user.ini files. Here’s a thread on it if anyone has the same issue.

    https://wordpress.org/support/topic/deleted-wf-founddeleted-wordfence-wafphp-now-site-not-loading?replies=9

    As it turns out, I could not make the correction on the destination server. I needed to remove the code from the source, then export a new package.

    This is one awesome piece of software. Great job Cory!!!

    Cory Lamle

    (@corylamleorg)

    Excellent! Thanks for providing the work-a-round.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Warning and Fatal Error upon install’ is closed to new replies.