• Nova

    (@big-dreams-theory)


    Hi

    Wordfence (latest version) is creating lot of php errors in wordpress dashboard upon installation or uninstall of plugins.
    For example i unisntalled a plugin called wordpress dashboard widget (just uninstalled, never activated it, it was just in my plugin) and another called table maker (for making tables) that comes with my theme and i have 3 orange php errors tables for each plugins with messages like this :

    Warning: fopen(/www/mywebsite.com/wp-content/plugins/dashboard-widgets-suite/dashboard-widgets.php): failed to open stream: No such file or directory in \www\mywebsite.com\wp-includes\functions.php on line 4785

    Warning: fread() expects parameter 1 to be resource, boolean given in \www\mywebsite.com\wp-includes\functions.php on line 4788

    Warning: fclose() expects parameter 1 to be resource, boolean given in \www\mywebsite.com\wp-includes\functions.php on line 4791

    Hope you could fix that.

    p.s: all the errors remain despite the facts that these plugins have been completely unisntalled by the way

    • This topic was modified 6 years, 10 months ago by Nova.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter Nova

    (@big-dreams-theory)

    Info that might help you fix the problem : the errors disapear after i delete expired transients

    Thread Starter Nova

    (@big-dreams-theory)

    false alarm, despite the transients erase, it’s back and worse now that i’ve deleted 3 more plugins i got errors for those 3 plugins too.

    From the very limited information you gave, it appears that something in your theme’s functions.php file is trying to point to or use functions/resources provided by those (now missing) plug-ins.

    WF staff can jump in, but this doesn’t appear to be related to Wordfence in any way.

    Thread Starter Nova

    (@big-dreams-theory)

    that’s the wp-includes functions.php which is reported, not my theme’s functions.php (which as not be modified for now), it’s part of wordpress core, i didn’t changed it nor touched it and i have 5 test website (on local) same plugins, same theme, 3 of them have this behaviour and the 2 other one there is no php errors. I’m quite sure it comes from wordfence as :

    1. it displays within wordfence dashboard widget just below “Wordfence acitivty in the past day”

    2. all errors disapear when wordfence is deactivated.

    Unfortunately, as i’m on local i can’t give you any access for you to check.

    If it’s of any help :
    Wordpress 4.8
    Latest wordfence version
    PHP 7.0
    Check for cURL support > Green and 7.5.1.0
    I didn’t add anything more to wp-config nor customized htaccess yet

    I use wordfence since quite sometimes and various under development websites (on local) and it’s the first time i got this problem and i have it on 3 my websites and not on other whereas they have, for now, exactly the same configuration and plugins installed (the uninstalled plugins are even the same on all websites, so i don’t know why these php errors on websites and not on other)

    Hi @big-dreams-theory,

    This is most likely related to WordPress cache.

    Please check out this topic which discusses the same issue.

    Thread Starter Nova

    (@big-dreams-theory)

    Hi

    I read the topic but it doesn’t seem to be exactly my problem, I personnaly don’t have this problem when i try to run a scan (i didn’t even run it once for now as i’m on local), just with install/uninstall of plugins.

    I don’t see any procedure to apply to fix the problem in the topic you give except to make sure plugins folders and completely delted (which they are, i had already checked) and wait. Is there a way to clear wordpress cache ? If it’s wordpress cache, why only wordfence shows me error ?

    In clear : that’s no big deal to have these errors right ? I doesn’t mean that something is not working anymore ?

    Thanks

    “…that’s the wp-includes functions.php which is reported, not my theme’s functions.php…”

    Ooops – didn’t notice that!

    Thread Starter Nova

    (@big-dreams-theory)

    iF it can help here are one of error report example (as you can see it seems to be linked to wordfence)

    1498676037-wf-errors.png - envoi d'image avec NoelShack

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Wordfence gives lot of php error in WP dahsboard’ is closed to new replies.