it should be in in the table:
wp_postmeta
in our case in the meta_key:
edd_variable_prices
(just search wp_postmeta for the string ‘amount’ shall it not be in this specific meta_key)
After some entries and deletions, the edd_variable_prices meta_value looked like this:
a:6:{i:0;a:4:{s:4:”name”;s:8:”Donation”;s:6:”amount”;s:4:”0.00″;s:5:”limit”;s:0:””;s:6:”bought”;s:0:””;}i:1;a:4:{s:4:”name”;s:0:””;s:6:”amount”;s:4:”0.00″;s:5:”limit”;s:0:””;s:6:”bought”;s:1:”0″;}i:2;a:4:{s:4:”name”;s:0:””;s:6:”amount”;s:4:”0.00″;s:5:”limit”;s:0:””;s:6:”bought”;s:1:”0″;}i:3;a:4:{s:4:”name”;s:0:””;s:6:”amount”;s:4:”0.00″;s:5:”limit”;s:0:””;s:6:”bought”;s:1:”0″;}i:4;a:4:{s:4:”name”;s:0:””;s:6:”amount”;s:4:”0.00″;s:5:”limit”;s:0:””;s:6:”bought”;s:1:”5″;}s:0:””;a:1:{s:6:”bought”;i:-3;}}
where you can see the negative value i:-3 at the very end which actually is the ‘backer count’.. adjusting it will make it.
In our case (donation campaigns without limits), the complete initial meta_value for this (0 backers) reads:
a:1:{i:0;a:4:{s:4:”name”;s:8:”Donation”;s:6:”amount”;s:1:”0″;s:5:”limit”;s:0:””;s:6:”bought”;s:1:”0″;}}
This is the code we added into the plugin “appthemer-crowdfunding”
—-> includes
class-campaign.php (line 254)
to at least negative backers..
254 if ( $count < 0 ) {
$count = 0; // Don't ever show negative backers
}