Hi,
I updated my community builder and all plugins to the most recent version, including the 'Paid subscription' plugin.
I am now getting the following error message when attempting a Stripe payment:
This is preventing users from registering, so I would apreciate a quick resolution.
WARNING: explode() expects parameter 2 to be string, array given in "/public_html/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/processors/stripe/cbpaidsubscriptions.stripe.php on line 377
Trace:called in class cbpaidErrorHandler::_error_handler_callable(2, "explode() expects parameter 2 to be string, array given", "/public_html/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/processors/stripe/cbpaidsubscriptions.stripe.php", 377, array("user" => object(CB\Database\Table\UserTable), "paymentBasket" => object(cbpaidPaymentBasket), "redirectNow" => "redirect", "availableMethods" => array(1 => "stripe_recurring"), "currency" => "GBP", "v" => "stripe_recurring", "k" => 1, "recurring" => true, "checkout" => false, "paymentMethods" => array(0 => "card")))
called in function explode("|*|", array(0 => "card")) on line 377 in file cbpaidsubscriptions.stripe.php
called in class cbpaidstripeoem::getPaymentBasketProcess(object(CB\Database\Table\UserTable), object(cbpaidPaymentBasket), "redirect") on line 176 in file cbpaidControllerPaychoices.php
called in class cbpaidControllerPaychoices::getPaymentMethodsParams(object(CB\Database\Table\UserTable), object(cbpaidPaymentBasket), "", "redirect") on line 389 in file cbpaidControllerPaychoices.php
called in class cbpaidControllerPaychoices::getPaymentBasketPaymentForm(object(CB\Database\Table\UserTable), object(cbpaidPaymentBasket), "", false) on line 251 in file cbpaidControllerOrder.php
called in class cbpaidControllerOrder::showBasketForPayment(object(CB\Database\Table\UserTable), object(cbpaidPaymentBasket), "") on line 258 in file cbpaidControllerCBTab.php
called in class cbpaidControllerCBTab::getTabComponent(NULL, object(CB\Database\Table\UserTable), 1, array("cbpplanE" => array(0 => array("selected" => array(0 => "92"))), "cbpcbregUpgrade" => "Upgrade", "user" => "1737", "cbpact" => "upgrade", "68d4d0b410cb0da0316c675c59d09e1b" => "1")) on line 1155 in file cbpaidsubscriptions.php
called in class getcbpaidsubscriptionsTab::getTabComponent(NULL, object(CB\Database\Table\UserTable), 1, array("cbpplanE" => array(0 => array("selected" => array(0 => "92"))), "cbpcbregUpgrade" => "Upgrade", "user" => "1737", "cbpact" => "upgrade", "68d4d0b410cb0da0316c675c59d09e1b" => "1")) on line 92 in file cbpaidControllerCBComponent.php
called in class CBplug_cbpaidsubscriptions::getCBpluginComponent(NULL, object(CB\Database\Table\UserTable), 1, array("cbpplanE" => array(0 => array("selected" => array(0 => "92"))), "cbpcbregUpgrade" => "Upgrade", "user" => "1737", "cbpact" => "upgrade", "68d4d0b410cb0da0316c675c59d09e1b" => "1"), NULL) on line 880 in file cbPluginHandler.php
called in class cbPluginHandler::call(23, "getCBpluginComponent", "CBplug_cbpaidsubscriptions", array(0 => NULL, 1 => object(CB\Database\Table\UserTable), 2 => 1, 3 => array("cbpplanE" => array(0 => array("selected" => array(0 => "92"))), "cbpcbregUpgrade" => "Upgrade", "user" => "1737", "cbpact" => "upgrade", "68d4d0b410cb0da0316c675c59d09e1b" => "1"), 4 => NULL), NULL) on line 1611 in file cbTabs.php
called in class cbTabs::_callTabPlugin(NULL, object(CB\Database\Table\UserTable), "CBplug_cbpaidsubscriptions", "getCBpluginComponent", "23", array("cbpplanE" => array(0 => array("selected" => array(0 => "92"))), "cbpcbregUpgrade" => "Upgrade", "user" => "1737", "cbpact" => "upgrade", "68d4d0b410cb0da0316c675c59d09e1b" => "1")) on line 1725 in file cbTabs.php
called in class cbTabs::tabClassPluginTabs(object(CB\Database\Table\UserTable), array("cbpplanE" => array(0 => array("selected" => array(0 => "92"))), "cbpcbregUpgrade" => "Upgrade", "user" => "1737", "cbpact" => "upgrade", "68d4d0b410cb0da0316c675c59d09e1b" => "1"), "cbpaidsubscriptions", "CBplug_cbpaidsubscriptions", "getCBpluginComponent") on line 733 in file comprofiler.php
called in function tabClass("com_comprofiler", "pluginclass", 1737) on line 286 in file comprofiler.php
called in function require_once("/home2/xxx/public_html/components/com_comprofiler/comprofiler.php") on line 402 in file ComponentHelper.php
called in class Joomla\CMS\Component\ComponentHelper::executeComponent("/home2/xxx/public_html/components/com_comprofiler/comprofiler.php") on line 377 in file ComponentHelper.php
called in class Joomla\CMS\Component\ComponentHelper::renderComponent("com_comprofiler") on line 194 in file SiteApplication.php
called in class Joomla\CMS\Application\SiteApplication::dispatch() on line 233 in file SiteApplication.php
called in class Joomla\CMS\Application\SiteApplication::doExecute() on line 225 in file CMSApplication.php
called in class Joomla\CMS\Application\CMSApplication::execute() on line 49 in file index.php
$_GET = array (
'user' => '1737',
'option' => 'com_comprofiler',
'Itemid' => NULL,
'view' => 'pluginclass',
'plugin' => 'cbpaidsubscriptions',
'task' => 'pluginclass',
)
$_POST = array (
'cbpplanE' =>
array (
0 =>
array (
'selected' =>
array (
0 => '92',
),
),
),
'cbpcbregUpgrade' => 'Upgrade',
'user' => '1737',
'cbpact' => 'upgrade',
'68d4d0b410cb0da0316c675c59d09e1b' => '1',
)
Call trace:
called in class cbpaidHistory::logError() on line 279 in file cbpaidErrorHandler.php
called in class cbpaidErrorHandler::_error_handler_callable()
called in function explode() on line 377 in file cbpaidsubscriptions.stripe.php
called in class cbpaidstripeoem::getPaymentBasketProcess() on line 176 in file cbpaidControllerPaychoices.php
called in class cbpaidControllerPaychoices::getPaymentMethodsParams() on line 389 in file cbpaidControllerPaychoices.php
called in class cbpaidControllerPaychoices::getPaymentBasketPaymentForm() on line 251 in file cbpaidControllerOrder.php
called in class cbpaidControllerOrder::showBasketForPayment() on line 258 in file cbpaidControllerCBTab.php
called in class cbpaidControllerCBTab::getTabComponent() on line 1155 in file cbpaidsubscriptions.php
called in class getcbpaidsubscriptionsTab::getTabComponent() on line 92 in file cbpaidControllerCBComponent.php
called in class CBplug_cbpaidsubscriptions::getCBpluginComponent() on line 880 in file cbPluginHandler.php
called in class cbPluginHandler::call() on line 1611 in file cbTabs.php
called in class cbTabs::_callTabPlugin() on line 1725 in file cbTabs.php
...