• Resolved bart74380va

    (@bart74380va)


    I am using the free version of Wordfence and I updated today from v 7.2 to 7.4 When I tried to access the site’s WordPress dashboard, I was unable to access the dashboard and instead received a “Fatal Error” message. When I switched back to PHP 7.3 logging in was allright again. What should I do to update to PHP 7.4 without login-problems? Wordfence >> Tools >> Diagnostics didn’t show any warnings

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

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

    (@wfpeter)

    Hi @bart74380va, thanks for reaching out to us.

    Could you please detail to me the exact contents of the fatal error message? It may highlight a specific code library or function that is causing the problem so that I can advise you further.

    Despite the lack of diagnostics errors, that along with the fatal error could provide us with the information on what might be causing the problem with PHP 7.4. Can you send a diagnostic report 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: 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,

    Peter.

    Thread Starter bart74380va

    (@bart74380va)

    Hi Peter,
    Thank you for answering. Much appreciated.

    I’ve sent you the diagnostic report using the link at the top of the diagnostics page.

    In the PHP error log I found information about the fatal error log:
    for example:

    [07-Jan-2021 11:52:24 UTC] PHP Fatal error: [snuffleupagus][disabled_function][drop] Aborted execution on call of the function ‘curl_setopt’, because its argument ‘$option’ content (81) matched the rule ‘Please don’t turn CURLOPT_SSL_VERIFYHOST off.’ in /home/vruchtbareaarde/public_html/webwinkel/wp-includes/Requests/Transport/cURL.php on line 150

    [07-Jan-2021 11:53:23 UTC] PHP Fatal error: [snuffleupagus][disabled_function][drop] Aborted execution on call of the function ‘ini_set’, because its argument ‘$varname’ content (display_errors) matched a rule in /home/vruchtbareaarde/public_html/webwinkel/wp-includes/load.php on line 454

    [07-Jan-2021 11:53:33 UTC] PHP Fatal error: [snuffleupagus][disabled_function][drop] Aborted execution on call of the function ‘curl_setopt’, because its argument ‘$option’ content (81) matched the rule ‘Please don’t turn CURLOPT_SSL_VERIFYHOST off.’ in /home/vruchtbareaarde/public_html/webwinkel/wp-includes/Requests/Transport/cURL.php on line 150

    Thanks, Bart

    Plugin Support wfpeter

    (@wfpeter)

    Hi @bart74380va,

    It is not recommended to turn off CURLOPT_SSL_VERIFYHOST and not being able to verify the host is most likely the cause for your issue. If you are unable to access php.ini to override this setting, it is likely you will need to get in touch with your host. The error you are seeing is actually because WordPress is having trouble accessing any cURL functions rather than specifically Wordfence, but it and other plugins will be affected.

    It seems unusual, especially if your site has an SSL certificate set up by your host, that this option would be turned off but I suggest mentioning this issue and seeing if they can resolve it through their support channels for you.

    Thanks,

    Peter.

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

The topic ‘Login problem with PHP 7.4 (solved with 7.3)’ is closed to new replies.