Hey Kyle,
Unfortunately, upgrading did not help.
The CB Subs plugins being used are just Promotions, Email, and Tax installed.
I think I may have found a viable solution. In the cb.core.php file that was failing, I replaced this:
Code:
$value = $user->get( $field->name );
With:
Code:
if(!method_exists('get', $user)) {
$fn = $field->name;
$value = $user->$fn;
} else {
$value = $user->get( $field->name );
}
The importer was passing this file what looked like a database row object and trying to call the get method on it. I used a check to determine when this was happening and tried just handing it whatever field name was asked for.
Questions:
- The importer runs successfully this way, however every plan is expired when the importer is finished. Why is this occurring?
- Does it matter whether the user subscription being imported is already in the usergroup a plan assigns them to?
- If I were going to return to my own script and build the records myself, what tables need to be updated for the subscriptions?