• Resolved WebDeb

    (@sillymoney)


    Several client sites have gotten the “new messages” from WordPress for WordFence E_COMPILE_ERROR

    What do you advise?

    Thanks

    “Your Site is Experiencing a Technical Issue
    Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

    In this case, WordPress caught an error with one of your plugins, Wordfence Security.

    Here are the error details for three of them…

    An error of type E_COMPILE_ERROR was caused in line 74 of the file …wp-content/plugins/wordfence/wordfence.php. Error message: require_once(): Failed opening required ‘lib/wordfenceConstants.php’ (include_path=’.:/opt/alt/php73/usr/share/pear’)

    An error of type E_COMPILE_ERROR was caused in line 95 of the file …/plugins/wordfence/lib/wfBrowscap.php. Error message: require(): Failed opening required ‘wfBrowscapCache.php’ (include_path=’.:/opt/alt/php73/usr/share/pear’)

    An error of type E_COMPILE_ERROR was caused in line 95 of the file …/plugins/wordfence/lib/wfBrowscap.php. Error message: require(): Failed opening required ‘wfBrowscapCache.php’ (include_path=’.:/opt/alt/php73/usr/share/pear’)

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey @sillymoney,

    This means an update could’ve gone wrong. If you’re still experiencing the error you can reinstall a fresh copy of Wordfence to resolve it. However, it can also be caused by getting site hits during the update process, if this is the case you probably don’t see the error now and it resolved itself.

    Please let us know if anything else comes up.

    Thanks,

    Gerroald

    Thread Starter WebDeb

    (@sillymoney)

    How can we distinguish the difference between 1) the update process went wrong vs 2) site hits during update process?

    Thanks,

    Deb

    happyallthetime

    (@happyallthetime)

    Hi, @wfgerald;

    Please pardon my learning curve, but I have a few questions:

    1) How does one determine that the error is continuing? I found a different E_COMPILE_ERROR thread here concerning UpdraftPlus, & in that case the error was repeating once every 3 or 4 days for a couple of weeks, until the guy exhausted the other suggestions for resolving the the problem & finally changed hosting companies, which did fix his issue.

    2) How often should I be seeing this error turn up on a specific plugin file line # if it is a continuing error? Can I force it to present itself somehow as a test? I don`t currently know for sure what caused it to appear the first & only time it showed about a week ago now.

    3) If WordPress notified me about it just one time, does that mean that my website likely got a “hit,” meaning either a legitimate visitor showed up, during the update of the particular plugin, or that an malefic attacker tried to login while Wordfence specifically was being updated, & so maybe the Plugin Update itself was not corrupted during delivery? (I guess what I`m asking at the moment is whether you were answering in general what might cause an E_COMPILE_ERROR on a WordPress site, or if your response refers specifically to an E_COMPILE_ERROR concerning the Wordfence plugin?).

    My error, by the way:

    Error Details: An error of type E_COMPILE_ERROR was caused in line 3 of the file:
    …/wp-content/plugins/wordfence/lib/wordfenceClass.php.
    Error message: require_once(): Failed opening required
    ‘…/wp-content/plugins/wordfence/lib/wfScanEngine.php’
    (include_path=’.:/usr/lib/php:/usr/local/lib/php’)

    I didn`t see anything odd on Line 3 or other line of the wordfenceClass.php file, nor anything unexpected in wfScanEngine.php, which is definitely there in the lib folder.

    4) How does one reinstall a fresh copy of Wordfence. I found an article at
    https://docs.wordfence.com/en/I%27d_like_to_reinstall_Wordfence_completely.html,
    which tells how to start over from scratch, settings & all, but can I just download the free Wordfence plugin again via the New Plugin feature of WP & cause the current Wordfence plugin to be safely overwritten? Should I disable the current Wordfence plugin first? Or, if I tried loading a new install of Wordfence, would I end up with two Wordfence plugins installed, one titled Wordfence1 in the plugins folder. Or should I just omit checking the Delete Tables & Data box as described in the article I already found & mentioned above? I haven`t had any luck finding a more specific answer so far, but your response on this thread suggests it should be easy even for newbies like me to do a fresh reinstall.

    Thanks for your time & patience.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘What is E_COMPILE_ERROR?’ is closed to new replies.