• Resolved rikardo85

    (@rikardo85)


    Hello,

    I have one site that has suddenly stopped showing in wordfence central.

    I’ve followed the steps below to try and reconnect but still getting this message,

    ‘Unable to communicate with Wordfence plugin. Please verify Wordfence is installed and activated on this site.’

    I’ve tried to clear the wordfence central connection data from
    tools > Diagnostics > Clear all Wordfence central connection data

    I’ve also tried to re-connect from the WP dashboard and from Wordfence central.

    Can you please advise on how I can reconnect?

    Thanks

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

    (@wfphil)

    Hi @rikardo85

    I would like to have a look at your Wordfence diagnostics report. Please go to the top of the “Diagnostics” tab on the Wordfence “Tools” page. There will be a “SEND REPORT BY EMAIL” button to send the diagnostics report. Enter wftest [at] wordfence [dot] com as the email and rikardo85 as the forum username please.

    Once you have emailed me the diagnostics report can you reply here to let me know that it has been sent. This is important in the unlikely event that your installation of WordPress is having an issue with sending mail.

    Thread Starter rikardo85

    (@rikardo85)

    Hi,

    Thank you for the reply. I’ve sent an email via the tools > diagnostics

    Plugin Support wfphil

    (@wfphil)

    When I load the WordPress REST API endpoint for Wordfence I see this WordPress error page:

    example.com/wp-json/wordfence/v1

    There has been a critical error on this website.
    Learn more about troubleshooting WordPress.

    Your diagnostics report doesn’t detect any PHP error log files so PHP error logging may not be set up correctly on your server.

    Alternatively you can enable WordPress debugging to find out what is broken in WordPress. Your hosting provider may be happy to help if you are not sure what to do.

    Please add these lines of code to your WordPress?wp-config.php configuration file:

    // Enable WP_DEBUG mode
    define( 'WP_DEBUG', true );
    
    // Enable Debug logging to the /wp-content/debug.log file
    define( 'WP_DEBUG_LOG', true );
    
    // Disable display of errors and warnings
    define( 'WP_DEBUG_DISPLAY', false );
    @ini_set( 'display_errors', 0 );

    NOTE: You must insert this code ABOVE either one of the two lines you see below (based on the version of WordPress you have):

    /* That's all, stop editing! Happy blogging. */

    /* Custom Values must appear above this line. That's all, stop editing! Happy publishing. */

    You must recreate the same problem by loading the URL above for your domain name to then create a log of any PHP errors in the WordPress debugging log file.

    Now look for the debug.log file in the location below. If it exists then download it and attach it to an email and send it to wftest [at] wordfence [dot] com. Make sure to put your forum username in the email subject field so that I can find it.

    ~/wp-content/debug.log

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Unable to communicate with Wordfence plugin.’ is closed to new replies.