• Resolved braymond64

    (@braymond64)


    I just installed the spam blocker and added some domains to block. When I save the form, I get the following errors (I’ve replaced the hosting location with <site> to make it easier to read):

    Warning: Undefined array key “wpcf7_block_log_erase” in <site>/wp-content/plugins/wp-contact-form-7-spam-blocker/admin/class-admin.php on line 274

    Warning: Undefined array key “request-form-path” in <site>/wp-content/plugins/wp-contact-form-7-spam-blocker/admin/class-admin.php on line 288

    Warning: Cannot modify header information – headers already sent by (output started at <site>/wp-content/plugins/wp-contact-form-7-spam-blocker/admin/class-admin.php:274) in <site>/wp-includes/pluggable.php on line 1435

    My changes were saved, but the form did not block the email domains during my test.

    How do I fix these errors?

    Thank you.

Viewing 1 replies (of 1 total)
  • Plugin Author NYSL

    (@nysl)

    Hi,

    You cannot use <site> as part of the filename.

    Please uninstall and reinstall the plugin.

    Follow the detailed instructions you find under each field, save the Contact form 7 setting and test.

    Thanks,

    NYSL

    • This reply was modified 1 year, 8 months ago by NYSL. Reason: typo
Viewing 1 replies (of 1 total)

The topic ‘Undefined array key & Cannot modify header warnings’ is closed to new replies.