Hello,
I recently upgraded to CB 1.3.1 & CBSubs 1.1.2. While setting up with PayPal sandbox, I'm getting this error on the registration page after submitting registration but prior to payment:
Warning: Invalid argument supplied for foreach() in /home/mydomain/public_html/members/administrator/components/com_comprofiler/comprofiler.class.php on line 1578
Your registration data has now been saved, but your subscription isn't active yet. You need now to pay the subscription:
I've searched the forums here and found similar references at this point but different line #'s within the comprofiler.class.php file.
For your convenience, I quote lines 1570-1582 from that same file:
[code:1]if ( $cause == 'UserConfirmation' && $user->approved == 0) {
$activate = false;
$msg = array(
'emailAdminSubject' => array( 'sys' => _UE_REG_ADMIN_PA_SUB ),
'emailAdminMessage' => array( 'sys' => _UE_REG_ADMIN_PA_MSG ),
'emailUserSubject' => array( ),
'emailUserMessage' => array( )
[/code:1]
Thank you for your guidance.