• Resolved GeekParadize

    (@wartraxx93)


    Hello

    After install crowsec wordpress plugin, i have in to logs prod-[date].log this error

    {“type”:”WP_EXCEPTION_WHILE_BOUNCING”,”messsage”:”Undefined index: REMOTE_ADDR”,”code”:8,”file”:”[..]plugins/crowdsec/inc/Bounce.php”,”line”:98}

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter GeekParadize

    (@wartraxx93)

    2021-06-26 17:35:01|300|{“type”:”NON_AUTHORIZED_X_FORWARDED_FOR_USAGE”,”original_ip”:”IP_ADDRESS”,”x_forwarded_for_ip”:”IP_ADDRESS”}
    2021-06-26 17:35:01|200|{“type”:”CLEAN_IP”,”ip”:”IP_ADDRESS”,”cache”:”miss”}
    2021-06-26 17:35:02|400|{“type”:”WP_EXCEPTION_WHILE_BOUNCING”,”messsage”:”Undefined index: REMOTE_ADDR”,”code”:8,”file”:”[..]plugins/crowdsec/inc/Bounce.php”,”line”:98}

    Hi @wartraxx93,

    Thanks to contact us.

    “Undefined index: REMOTE_ADDR”: This PHP error occurs when running the code in a non-web context (ex: from the PHP cli).

    IMHO,this PHP notice should not break the expected behaviour of your website or of the CrowdSec bouncer, but it’s still strange. Do you run the plugin in a particular way (like CI, PHP CLI, etc)?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP_EXCEPTION_WHILE_BOUNCING’ is closed to new replies.