• Resolved penseelibre

    (@penseelibre)


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

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

    Fatal error: Unknown: Failed opening required ‘/home/clients/3a99b5833020ba5067a61ff4c6fbd9e1/web/wordfence-waf.php’ (include_path=’.:/opt/php7.4/lib/php’) in Unknown on line 0

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @penseelibre,

    This sure is a curious one and might need a bit of troubleshooting. Firstly, make sure WordPress and all plugins are fully up-to-date. It may then help to install the Enable jQuery Migrate Helper plugin below to see if the issue is resolved:

    https://wordpress.org/plugins/enable-jquery-migrate-helper/

    If the above doesn’t fix the issue, disable all plugins other than Wordfence to see if you’re able to stop this error appearing. If so, reactivate your other plugins one by one to see if any further issues with Wordfence arise to identify the plugin causing a conflict. To do so I recommend the Health Check & Troubleshooting plugin which allows you to disable all plugins and switch to a default theme, but only for your user to prevent downtime for other site visitors.

    Thanks,

    Peter.

    Plugin Support wfpeter

    (@wfpeter)

    Hi @penseelibre,

    I’ve just had some extra information about a possible cause for this where hosts changing the absolute file path of your server can cause this issue. The auto_prepend_file directive may be looking for the wordfence-waf.php file in the wrong location.

    Can you send a diagnostic report to wftest @ wordfence . com so that we can check whether this is the case? You can find the link to do so at the top of the Wordfence Tools > Diagnostics page. Then click on “Send Report by Email”. Please add your forum username where indicated and respond here after you have sent it.

    Note: For the fastest response time, please make sure and add any information or questions directly to this topic and not the email address above unless asked.

    Thanks again,

    Peter.

    Thread Starter penseelibre

    (@penseelibre)

    hi, i have nothing else to inform you !

    I did a lot of different checks in all my files by ftp, I put a new base that I had in backup, taking the one from Nov 26th, I changed its name, changed the password, kept the prefix only,
    I disabled all plugins not -x and the theme by -x

    what else to do?? I don’t see!

    Thread Starter penseelibre

    (@penseelibre)

    currently I just bought a new site name, I’m thinking of importing the table I checked on the username, the users,

    I didn’t see anything weird

    Thread Starter penseelibre

    (@penseelibre)

    Plugin Author WFSupport

    (@wfsupport)

    Have you tried removing the waf code in the .user.ini or php.ini file (it might also be in .htaccess depending on your server configuration)? It will clearly be marked as Wordfence WAF code. The WAF depends on the PHP variable auto_prepend_file which means “load this file before the site”. If the WAF file is missing or the file path is wrong in one of the files I mentioned the site wouldn’t load. Removing the code should allow the site to come back up.

    Tim

    Thread Starter penseelibre

    (@penseelibre)

    I couldn’t believe it anymore!

    that was it
    my site is revisable!
    now I have to rebuild everything

    Thread Starter penseelibre

    (@penseelibre)

    resolved

    Plugin Author WFSupport

    (@wfsupport)

    You shouldn’t have to rebuild if you have backups. Pete was looking to see if the location was wrong when he asked for diagnostics.

    Tim

    Thread Starter penseelibre

    (@penseelibre)

    indeed I had nothing to rebuild
    but I had “old” tables transferred into the creation of a new table, so new config. etc…

    I tried step by step the more and more recent tables, changed config. according to
    finally yes the most recent table was good.
    for last info : my site was absent from the web from 25/11 to 3/12

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘warning where ?’ is closed to new replies.