I don't want to clutter the forum with one more topic for something that's more or less the same topic in fact...
It seems I can't, as a subscriber, order the merchandise item I have created - I get a fatal error, see the log below, maybe you'll see what I've done wrong. I'm suspecting I made a mistake in my other plans that prevent the purchase of an item... Your opinion?
The plans are set to not allow any kind of upgrade because there will be none, you pick a plan and that's it. However there is one physical item that can be ordered once you are a subscriber. That's the idea at least. The item is set to "allow upgrade to this: YES".
Code:
USER ERROR: Merchandise::createOrLoadReplacementSubscription: replace subscription not possible: id: 87 in /home/scoopcod/public_html/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/models/something/cbpaidNonRecurringSomething.php on line 100
Trace:called in class cbpaidErrorHandler::_error_handler_callable(256, "Merchandise::createOrLoadReplacementSubscription: replace subscription not possible: id: 87", "/home/scoopcod/public_html/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/models/something/cbpaidNonRecurringSomething.php", 100, array("user" => object(moscomprofilerUser), "plan" => object(cbpaidProductMerchandise), "replacesSubscriptionId" => array(0 => 2, 1 => 87), "existingSubscriptionId" => NULL, "status" => "R", "store" => true, "subscriptionTime" => 1387642379, "reason" => "U", "parentSubId" => NULL, "_CB_database" => object(CBdatabase)))
called in function trigger_error("Merchandise::createOrLoadReplacementSubscription: replace subscription not possible: id: 87", 256) on line 100 in file cbpaidNonRecurringSomething.php
called in class cbpaidNonRecurringSomething::createOrLoadReplacementSubscription(object(moscomprofilerUser), object(cbpaidProductMerchandise), array(0 => 2, 1 => 87), NULL, "R", true, 1387642379, "U", NULL) on line 447 in file cbpaidProduct.php
called in class cbpaidProduct::createProductThing(object(moscomprofilerUser), array("cbpplanE" => array(0 => array("selected" => array(0 => "5"))), "cbponlyplans" => "5", "cbpsubscriptionid" => array(5 => "2,87"), "cbpcbregUpgrade" => "Buy", "user" => "408", "cbpact" => "upgrade", "cbsecuritym3" => "cbm_4db12b5f_0c0de627_ee89d5e5efb030b4651157da9e6d16fa"), "U", "R", array(0 => 2, 1 => 87), NULL, 1387642379, false, false, NULL) on line 158 in file cbpaidControllerOrder.php
called in class cbpaidControllerOrder::createSubscriptionsAndPayment(object(moscomprofilerUser), array(5 => object(cbpaidProductMerchandise)), array("cbpplanE" => array(0 => array("selected" => array(0 => "5"))), "cbponlyplans" => "5", "cbpsubscriptionid" => array(5 => "2,87"), "cbpcbregUpgrade" => "Buy", "user" => "408", "cbpact" => "upgrade", "cbsecuritym3" => "cbm_4db12b5f_0c0de627_ee89d5e5efb030b4651157da9e6d16fa"), array(5 => array(0 => 2, 1 => 87)), NULL, "R", "Upgrade", "U") on line 245 in file cbpaidControllerCBTab.php
called in class cbpaidControllerCBTab::getTabComponent(NULL, object(moscomprofilerUser), 1, array("cbpplanE" => array(0 => array("selected" => array(0 => "5"))), "cbponlyplans" => "5", "cbpsubscriptionid" => array(5 => "2,87"), "cbpcbregUpgrade" => "Buy", "user" => "408", "cbpact" => "upgrade", "cbsecuritym3" => "cbm_4db12b5f_0c0de627_ee89d5e5efb030b4651157da9e6d16fa")) on line 1087 in file cbpaidsubscriptions.php
called in class getcbpaidsubscriptionsTab::getTabComponent(NULL, object(moscomprofilerUser), 1, array("cbpplanE" => array(0 => array("selected" => array(0 => "5"))), "cbponlyplans" => "5", "cbpsubscriptionid" => array(5 => "2,87"), "cbpcbregUpgrade" => "Buy", "user" => "408", "cbpact" => "upgrade", "cbsecuritym3" => "cbm_4db12b5f_0c0de627_ee89d5e5efb030b4651157da9e6d16fa")) on line 81 in file cbpaidControllerCBComponent.php
called in class CBplug_cbpaidsubscriptions::getCBpluginComponent(NULL, object(moscomprofilerUser), 1, array("cbpplanE" => array(0 => array("selected" => array(0 => "5"))), "cbponlyplans" => "5", "cbpsubscriptionid" => array(5 => "2,87"), "cbpcbregUpgrade" => "Buy", "user" => "408", "cbpact" => "upgrade", "cbsecuritym3" => "cbm_4db12b5f_0c0de627_ee89d5e5efb030b4651157da9e6d16fa"))
called in function call_user_func_array(array(0 => object(CBplug_cbpaidsubscriptions), 1 => "getCBpluginComponent"), array(0 => NULL, 1 => object(moscomprofilerUser), 2 => 1, 3 => array("cbpplanE" => array(0 => array("selected" => array(0 => "5"))), "cbponlyplans" => "5", "cbpsubscriptionid" => array(5 => "2,87"), "cbpcbregUpgrade" => "Buy", "user" => "408", "cbpact" => "upgrade", "cbsecuritym3" => "cbm_4db12b5f_0c0de627_ee89d5e5efb030b4651157da9e6d16fa"))) on line 583 in file plugin.class.php
called in class cbPluginHandler::call("520", "getCBpluginComponent", "CBplug_cbpaidsubscriptions", array(0 => NULL, 1 => object(moscomprofilerUser), 2 => 1, 3 => array("cbpplanE" => array(0 => array("selected" => array(0 => "5"))), "cbponlyplans" => "5", "cbpsubscriptionid" => array(5 => "2,87"), "cbpcbregUpgrade" => "Buy", "user" => "408", "cbpact" => "upgrade", "cbsecuritym3" => "cbm_4db12b5f_0c0de627_ee89d5e5efb030b4651157da9e6d16fa")), NULL) on line 4187 in file comprofiler.class.php
called in class cbTabs::_callTabPlugin(NULL, object(moscomprofilerUser), "CBplug_cbpaidsubscriptions", "getCBpluginComponent", "520", array("cbpplanE" => array(0 => array("selected" => array(0 => "5"))), "cbponlyplans" => "5", "cbpsubscriptionid" => array(5 => "2,87"), "cbpcbregUpgrade" => "Buy", "user" => "408", "cbpact" => "upgrade", "cbsecuritym3" => "cbm_4db12b5f_0c0de627_ee89d5e5efb030b4651157da9e6d16fa")) on line 4274 in file comprofiler.class.php
called in class cbTabs::tabClassPluginTabs(object(moscomprofilerUser), array("cbpplanE" => array(0 => array("selected" => array(0 => "5"))), "cbponlyplans" => "5", "cbpsubscriptionid" => array(5 => "2,87"), "cbpcbregUpgrade" => "Buy", "user" => "408", "cbpact" => "upgrade", "cbsecuritym3" => "cbm_4db12b5f_0c0de627_ee89d5e5efb030b4651157da9e6d16fa"), "cbpaidsubscriptions", "CBplug_cbpaidsubscriptions", "getCBpluginComponent") on line 780 in file comprofiler.php
called in function tabClass("com_comprofiler", "pluginclass", 408) on line 275 in file comprofiler.php
called in function require_once("/home/scoopcod/public_html/components/com_comprofiler/comprofiler.php") on line 351 in file helper.php
called in class JComponentHelper::executeComponent("/home/scoopcod/public_html/components/com_comprofiler/comprofiler.php") on line 331 in file helper.php
called in class JComponentHelper::renderComponent("com_comprofiler") on line 178 in file site.php
called in class JApplicationSite::dispatch() on line 208 in file site.php
called in class JApplicationSite::doExecute() on line 255 in file cms.php
called in class JApplicationCms::execute() on line 40 in file index.php