PCP transact action fails when there are more PCP's then contribution pages
If you have site with more PCP's then contribution pages, the action=transact shortcode fails.
The test sites have more contribution pages than PCP pages, so this was not caught before merging. https://github.com/civicrm/civicrm-wordpress/pull/226/commits/cffd5f54b6bb56138956c287afc2442879fa23bf
case 'transact':
$args['q'] = 'civicrm/contribute/transact';
$args['pcpId'] = $args['id'];
break;
Example for a contribution page ID 87 and PCP ID of 228.
ID must = 87 and then add pcpID as 228
We have no contribution page ID 228, but we do have 228 as a PCP ID.
Verified that this is the problem. @kcristiano @mattwire @haystack
It is quite normal to have more PCP's than contribution pages.