Defining the debug define has no effect for me, I still get a csv file download.
I have turned it back off and am no looking at defining define(‘WP_DEBUG’, true); in wp-config.php to see if it will give me any info.
When I try to export products I get a csv file named ‘subscribers_2014-12-18_14-52.csv’ that contains:
ID,Email,Fname,Lname,Clicks,Conversions,City,Country,IP,Created,Referrer
and nothing else.
I get the same result if I try to export categories or tags, I have not tried users yet, but expect the same.
The feilds in the csv are the same feilds that were in the Subscribe2 plugin table:
CREATE TABLE IF NOT EXISTS
wp_csp3_subscribers` (
id
int(11) unsigned NOT NULL AUTO_INCREMENT,
email
varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
fname
varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
lname
varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
clicks
int(11) NOT NULL DEFAULT ‘0’,
conversions
int(11) NOT NULL DEFAULT ‘0’,
referrer
int(11) NOT NULL DEFAULT ‘0’,
ip
varchar(40) COLLATE utf8_unicode_ci DEFAULT NULL,
created
timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (id
)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;`
I originally had the Subscribe2 plugin deeactivated when I started trying to export, when I got these results I deleted it, and still got the same results, then I dropped its table from the db, and I still get the same results.
Using WP Super Cache, and cleaning the cache before every attempt.
So it looks to me that that Subscribe2 plugin has corrupted the database somehow…
Though it just occurs to me to check what your plugin has stored in the db, perhaps it has picked this up and stored it somewhere and will not let go.
I also suspect confusion in the code with Woo Subscribers plugin?