• Resolved Blamedutchie

    (@blamedutchie)


    Hi,

    In the process of getting my site to run faster/cleaner, I’m using the plugin Query Monitor which came up with the following:

    Duplicate query:

    2 calls from wfConfig::get()

    SELECT name, val, autoload
    FROM wfConfig
    WHERE name = 'detectProxyRecommendation'
    
    Potential Troublemakers:
    
    wfUtils::getIPAndServerVariable() - 1 call
    
    wordfence::misconfiguredHowGetIPsNotice() - 1 call

    I have How does Wordfence get IPs set to ‘…the most secure method…’

    What’s happening? Should I switch to the REMOTE_ADDR option?

Viewing 1 replies (of 1 total)
  • Hi,
    I’ve double checked this issue with our dev team and it was confirmed that this specific query run very fast and almost has nothing to do with the server’s database optimization, setting “How does Wordfence get IPs” option might help in getting rid of this warning, so you can go to (Wordfence > Tools > Diagnostics) and check “IPs” section to see which option is “in use”, then you can set it in the plugin’s options page and give it a try.

    Thanks.

Viewing 1 replies (of 1 total)
  • The topic ‘misconfiguredHowGetIPsNotice()’ is closed to new replies.