• Resolved tettt

    (@tettt)


    Wordpress has triggered a technical error notification relating to Wordfence.

    The notification says:

    First, visit your website (https://…….) and check for any visible issues. Next, visit the page where the error was caught (https:/——–/wp-admin/admin-ajax.php) and check for any visible issues.

    I check the site at: (https://mysite.com), there is no problem.
    I check https:/——–/wp-admin/admin-ajax.php, it shows a small 0 (zero) on the top left corner of the screen, nothing else.

    Below are the error details included in the technical error notification:

    Current theme: generatepress-child (version 1.0)
    Current plugin: Wordfence Security (version 7.5.5)
    PHP version 7.4.23

    Error Details
    =============
    An error of type E_COMPILE_ERROR was caused in line 3 of the file ——/public_html/wp-content/plugins/wordfence/lib/wordfenceClass.php. Error message: require_once(): Failed opening required ‘——/public_html/wp-content/plugins/wordfence/lib/wfScanEngine.php’ (include_path=’.:/opt/alt/php74/usr/share/pear’)`

    What should be the problem? and do I have to do something about it.

    (WP has kept triggering this kind of critical error notification for sometime, relating to different plugins.)

    Thanks

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

    (@wfpeter)

    Hi @tettt,

    Thanks for your detailed message. I would expect a direct hit to admin-ajax.php to show a “0” response without any POST data sent to it, so this is working as expected by the looks of things.

    The E_COMPILE_ERROR is interesting especially if you’re not seeing any errors in the front end of your website by default under normal operations. I think to check communications and other functions of the plugin, you could send us a diagnostic report. Can you send it to wftest @ wordfence . com? 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: It should look as follows – Screenshot of Tools > Diagnostic > Send by Email

    Thanks,

    Peter.

    Thread Starter tettt

    (@tettt)

    Thanks Peter for kind reply.

    I have sent the email as you instructed.

    Hope to have your further idea on what could be the thing.

    My best regards

    Plugin Support wfpeter

    (@wfpeter)

    Hi @tettt, thanks for sending over your diagnostic.

    I can’t see any general communication or detection issues. The scan results showing outdated plugins could be rectified in case the issue is involved with this in any way. We generally recommend that plugins are always kept up to date and any abandoned plugins have an alternative, currently maintained equivalent installed where possible to prevent security issues. This also prevents invalid variables or files being seen during the scan process that could cause PHP errors.

    If you don’t notice problems with the scan processes or any site operations going forward, this could have been a temporary permissions or file availability issue. If it does persist, re-installing the plugin (in case of a corrupt update) or clearing all caches (including opcache) seems to be a workable solution to similar issues in the past.

    It’s always best to make a backup of the site and database before installing/removing plugins, just to be safe but I would definitely try clearing caches on both the server and WordPress caching plugins as the first thing to try.

    Thanks,

    Peter.

    Thread Starter tettt

    (@tettt)

    Thank you Peter for your kind support!

    In fact, the site is running OK.

    But these error messages keeping showing up.

    Could you please show me how to clear caches on the server. I am using Litespeed cache. The server details are:

    Server architecture	Linux 3.10.0-962.3.2.lve1.5.60.el7.x86_64 x86_64
    Web server:	LiteSpeed
    PHP version:	7.4.24 (Supports 64bit values)
    PHP SAPI:	litespeed
    PHP max input variables	1000
    PHP time limit:	6000
    PHP memory limit:	2048M
    Max input time:	600
    Upload max filesize:	512M
    PHP post max size:	512M
    cURL version:	7.71.0 OpenSSL/1.1.1d
    Is SUHOSIN installed?	No
    Is the Imagick library available?	Yes
    Are pretty permalinks supported?	Yes

    I don’t know about opcache. Could you please give me a hint as to where I can seek help about it?

    Thank you very much.

    Plugin Support wfpeter

    (@wfpeter)

    Hi @tettt,

    As you’re using Litespeed, make sure to check our documentation on extra configuration for this environment in case that’s a contributing factor to this issue: https://www.wordfence.com/help/advanced/system-requirements/litespeed/

    I believe the Litespeed cache clear/purge function is in the “Litespeed Cache Toolbox”, which should be in your hosting control panel. You may need to ask your host where this is located if you’re unable to find it.

    Thanks again,

    Peter.

    Thread Starter tettt

    (@tettt)

    Thank you Peter for your very kind explanations.

    I really appreciate them. They are even more thorough than what I receive from some premium support.

    My best regards

    Plugin Support wfpeter

    (@wfpeter)

    Hi @tettt,

    I really appreciate your feedback. If you have Wordfence questions in future, by all means start a new topic and we’ll always be glad to help out.

    Peter.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘WP Technical error notification’ is closed to new replies.