I just updated my theme on my subdomain test site and am also now getting errors regarding your plugin. I changed the url of the test site and my username… just want you to see the error msg..
Warning: Cannot modify header information – headers already sent by (output started at /home/user/TEST.mysite.com/wp-content/themes/thesis/lib/compatibility/contact-form-7.php:18) in /home/user/TEST.mysite.com/wp-admin/includes/misc.php on line 1144
Warning: Invalid argument supplied for foreach() in /home/user/TEST.mysite.com/wp-content/themes/thesis/lib/compatibility/contact-form-7.php on line 18
Warning: Cannot modify header information – headers already sent by (output started at /home/user/TEST.mysite.com/wp-content/themes/thesis/lib/compatibility/contact-form-7.php:18) in /home/user/TEST.mysite.com/wp-admin/includes/misc.php on line 1144
Warning: Cannot modify header information – headers already sent by (output started at /home/user/TEST.mysite.com/wp-content/themes/thesis/lib/compatibility/contact-form-7.php:18) in /home/user/TEST.mysite.com/wp-includes/pluggable.php on line 1223
Warning: Cannot modify header information – headers already sent by (output started at /home/user/TEST.mysite.com/wp-content/themes/thesis/lib/compatibility/contact-form-7.php:18) in /home/user/TEST.mysite.com/wp-includes/pluggable.php on line 1223
<?php
/*
Copyright 2018 DIYthemes, LLC. Patent pending. All rights reserved.
License: DIYthemes Software License Agreement
License URI: https://diythemes.com/thesis/rtfm/software-license-agreement/
*/
class thesis_contact_form_7 {
public $exclude = array(
‘wpcf7_contact_form’);
public function __construct() {
if (!defined(‘WPCF7_PLUGIN’)) return;
foreach (array(‘template’, ‘query’) as $type)
add_filter(“thesis_exclude_{$type}_types”, array($this, ‘exclude_post_types’));
}
public function exclude_post_types($post_types) {
foreach ($this->exclude[‘post_types’] as $type)
$post_types[] = $type;
return $post_types;
}
}