Viewing 4 replies - 1 through 4 (of 4 total)
  • I am seeing a php error:

    PHP Fatal error: [] operator not supported for strings in /wp-content/plugins/gnu-terry-pratchett/gnu-terry-pratchett.php on line 56

    Line 56:

    $args[‘headers’][] = “X-Clacks-Overhead: GNU Terry Pratchett”;

    Accordngt to the wp_mail codex, $args[‘headers’] can be an array or a string with lines delimited with \r\n.

    So this line needs to be changed to handle both types array or string.

    And this is probably why CF7 stops working.

    P.S. I would fix it myself if I had the time at the moment – but I don’t.

    I simply commented out the add_filter statement which is the last line in the plugin as a temporary fix.

    Plugin Author Nick C

    (@modernnerd)

    Version 0.2.2 (just released) includes a fix that should correct this. It works with Contact Form 7 in my tests.

    @eastdevonalliance @wwwolf Thanks for reporting this and for supporting the plugin, and let me know if you have any further trouble at all.

    Thread Starter wwwolf

    (@wwwolf)

    Lookin’ good again – thanks for the quick fix ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Version 0.2.1 update breaks Contact Form 7’ is closed to new replies.