×

Error

Please login first

[SOLVED] Fatal Error please contact admin so he can check his history log for errors.

10 years 3 weeks ago - 10 years 2 weeks ago #244461 by Orphil
Hello,

I work with joomla! 2.5.19 my version CB is 1.9.1 ...

Everything seems to work fine except that by the last tests, I have this error message when trying to buy a commodity: "Fatal Error please contact admin so he can check his history log for errors."

if I come in "history logs" I have hundreds of messages of type:

CAUGHT EXCEPTION: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /homez.521/montki/www/voyance34/administrator/components/com_comprofiler/library/phpinputfilter/phpinputfilter.inputfilter.php on line 331
Trace:called in class cbpaidErrorHandler::_error_handler_callable(8192, "preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead", "/homez.521/montki/www/voyance34/administrator/components/com_comprofiler/library/phpinputfilter/phpinputfilter.inputfilter.php", 331, array("source" => "3"))
called in function preg_replace("/&#x([a-f0-9]+);/mei", "utf8_encode(chr(0x\1))", "3") on line 331 in file phpinputfilter.inputfilter.php
called in class CBInputFilter::decode("3") on line 66 in file phpinputfilter.inputfilter.php
called in class CBInputFilter::process("3") on line 353 in file plugin.foundation.php
called in function cbGetParam(array(0 => "3"), 0, NULL, 0) on line 337 in file plugin.foundation.php
called in function cbGetParam(array("selected" => array(0 => "3")), "selected", NULL, 0) on line 337 in file plugin.foundation.php
called in function cbGetParam(array(0 => array("selected" => array(0 => "3"))), 0, NULL, 0) on line 337 in file plugin.foundation.php
called in function cbGetParam(array("cbpplanE" => array(0 => array("selected" => array(0 => "3"))), "cbponlyplans" => "3", "cbpsubscriptionid" => array(3 => "1,7"), "cbpcbregUpgrade" => "Acheter", "user" => "63", "cbpact" => "upgrade", "cbsecuritym3" => "cbm_3d6a49a2_7179f5d4_764502d167d5eb5f00ce6e7a045f28cf"), "cbpplanE", NULL) on line 3215 in file plugin.class.php
called in class cbTabHandler::_getReqParam("planE", NULL, "") on line 1120 in file cbpaidsubscriptions.php
called in class getcbpaidsubscriptionsTab::_getReqParam("planE", NULL, "") on line 41 in file cbpaidBaseClass.php
called in class cbpaidBaseClass::_getReqParam("planE", NULL, "") on line 1121 in file cbpaidControllerUI.php
called in class cbpaidControllerUI::_plangetReqParamArray("plan", "") on line 922 in file cbpaidControllerUI.php
called in class cbpaidControllerUI::_planGetAndCheckReqParamArray(object(moscomprofilerUser), "plan", array(1 => object(cbpaidProductUsersubscription), 2 => object(cbpaidProductUsersubscription), 3 => object(cbpaidProductMerchandise), 4 => object(cbpaidProductMerchandise)), false, "U", true) on line 423 in file cbpaidControllerUI.php
called in class cbpaidControllerUI::getAndCheckChosenUpgradePlans(array("cbpplanE" => array(0 => array("selected" => array(0 => "3"))), "cbponlyplans" => "3", "cbpsubscriptionid" => array(3 => "1,7"), "cbpcbregUpgrade" => "Acheter", "user" => "63", "cbpact" => "upgrade", "cbsecuritym3" => "cbm_3d6a49a2_7179f5d4_764502d167d5eb5f00ce6e7a045f28cf"), object(moscomprofilerUser), 1398588048) on line 236 in file cbpaidControllerCBTab.php
called in class cbpaidControllerCBTab::getTabComponent(NULL, object(moscomprofilerUser), 1, array("cbpplanE" => array(0 => array("selected" => array(0 => "3"))), "cbponlyplans" => "3", "cbpsubscriptionid" => array(3 => "1,7"), "cbpcbregUpgrade" => "Acheter", "user" => "63", "cbpact" => "upgrade", "cbsecuritym3" => "cbm_3d6a49a2_7179f5d4_764502d167d5eb5f00ce6e7a045f28cf")) on line 1087 in file cbpaidsubscriptions.php
called in class getcbpaidsubscriptionsTab::getTabComponent(NULL, object(moscomprofilerUser), 1, array("cbpplanE" => array(0 => array("selected" => array(0 => "3"))), "cbponlyplans" => "3", "cbpsubscriptionid" => array(3 => "1,7"), "cbpcbregUpgrade" => "Acheter", "user" => "63", "cbpact" => "upgrade", "cbsecuritym3" => "cbm_3d6a49a2_7179f5d4_764502d167d5eb5f00ce6e7a045f28cf")) 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 => "3"))), "cbponlyplans" => "3", "cbpsubscriptionid" => array(3 => "1,7"), "cbpcbregUpgrade" => "Acheter", "user" => "63", "cbpact" => "upgrade", "cbsecuritym3" => "cbm_3d6a49a2_7179f5d4_764502d167d5eb5f00ce6e7a045f28cf"))
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 => "3"))), "cbponlyplans" => "3", "cbpsubscriptionid" => array(3 => "1,7"), "cbpcbregUpgrade" => "Acheter", "user" => "63", "cbpact" => "upgrade", "cbsecuritym3" => "cbm_3d6a49a2_7179f5d4_764502d167d5eb5f00ce6e7a045f28cf"))) on line 583 in file plugin.class.php
called in class cbPluginHandler::call("563", "getCBpluginComponent", "CBplug_cbpaidsubscriptions", array(0 => NULL, 1 => object(moscomprofilerUser), 2 => 1, 3 => array("cbpplanE" => array(0 => array("selected" => array(0 => "3"))), "cbponlyplans" => "3", "cbpsubscriptionid" => array(3 => "1,7"), "cbpcbregUpgrade" => "Acheter", "user" => "63", "cbpact" => "upgrade", "cbsecuritym3" => "cbm_3d6a49a2_7179f5d4_764502d167d5eb5f00ce6e7a045f28cf")), NULL) on line 4187 in file comprofiler.class.php
called in class cbTabs::_callTabPlugin(NULL, object(moscomprofilerUser), "CBplug_cbpaidsubscriptions", "getCBpluginComponent", "563", array("cbpplanE" => array(0 => array("selected" => array(0 => "3"))), "cbponlyplans" => "3", "cbpsubscriptionid" => array(3 => "1,7"), "cbpcbregUpgrade" => "Acheter", "user" => "63", "cbpact" => "upgrade", "cbsecuritym3" => "cbm_3d6a49a2_7179f5d4_764502d167d5eb5f00ce6e7a045f28cf")) on line 4274 in file comprofiler.class.php
called in class cbTabs::tabClassPluginTabs(object(moscomprofilerUser), array("cbpplanE" => array(0 => array("selected" => array(0 => "3"))), "cbponlyplans" => "3", "cbpsubscriptionid" => array(3 => "1,7"), "cbpcbregUpgrade" => "Acheter", "user" => "63", "cbpact" => "upgrade", "cbsecuritym3" => "cbm_3d6a49a2_7179f5d4_764502d167d5eb5f00ce6e7a045f28cf"), "cbpaidsubscriptions", "CBplug_cbpaidsubscriptions", "getCBpluginComponent") on line 780 in file comprofiler.php
called in function tabClass("com_comprofiler", "pluginclass", 63) on line 275 in file comprofiler.php
called in function require_once("/homez.521/montki/www/voyance34/components/com_comprofiler/comprofiler.php") on line 380 in file helper.php
called in class JComponentHelper::executeComponent("/homez.521/montki/www/voyance34/components/com_comprofiler/comprofiler.php") on line 348 in file helper.php
called in class JComponentHelper::renderComponent("com_comprofiler") on line 194 in file application.php
called in class JSite::dispatch() on line 42 in file index.php
$_GET = array (
'user' => '63',
'plugin' => 'cbpaidsubscriptions',
'task' => 'pluginclass',
'Itemid' => '100234',
'option' => 'com_comprofiler',
)
$_POST = array (
'cbpplanE' =>
array (
0 =>
array (
'selected' =>
array (
0 => '3',
),
),
),
'cbponlyplans' => '3',
'cbpsubscriptionid' =>
array (
3 => '1,7',
),
'cbpcbregUpgrade' => 'Acheter',
'user' => '63',
'cbpact' => 'upgrade',
'cbsecuritym3' => 'cbm_3d6a49a2_7179f5d4_764502d167d5eb5f00ce6e7a045f28cf',

thank you for helping me

Please Log in to join the conversation.

10 years 3 weeks ago #244462 by beat
That deprecation notice has been fixed for CB 2.0 already and can be safely ignored.

It does not explain the fatal error that you have. Do you have a log entry for your fatal error ?

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

10 years 3 weeks ago #244463 by Orphil
Is it this?

Error log
Event time: 04/27/2014 12:53:20
Message: USER ERROR: Merchandise::createOrLoadReplacementSubscription: replace subscription not possible: id: 14 in /homez.521/montki/www/voyance34/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: 14", "/homez.521/montki/www/voyance34/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/models/something/cbpaidNonRecurringSomething.php", 100, array("user" => object(moscomprofilerUser), "plan" => object(cbpaidProductMerchandise), "replacesSubscriptionId" => array(0 => 2, 1 => 14), "existingSubscriptionId" => NULL, "status" => "R", "store" => true, "subscriptionTime" => 1398596000, "reason" => "U", "parentSubId" => NULL, "_CB_database" => object(CBdatabase)))
called in function trigger_error("Merchandise::createOrLoadReplacementSubscription: replace subscription not possible: id: 14", 256) on line 100 in file cbpaidNonRecurringSomething.php
called in class cbpaidNonRecurringSomething::createOrLoadReplacementSubscription(object(moscomprofilerUser), object(cbpaidProductMerchandise), array(0 => 2, 1 => 14), NULL, "R", true, 1398596000, "U", NULL) on line 447 in file cbpaidProduct.php
called in class cbpaidProduct::createProductThing(object(moscomprofilerUser), array("cbpplanE" => array(0 => array("selected" => array(0 => "4"))), "cbponlyplans" => "4", "cbpsubscriptionid" => array(4 => "2,14"), "cbpcbregUpgrade" => "Acheter", "user" => "63", "cbpact" => "upgrade", "cbsecuritym3" => "cbm_088447ce_64315f41_6c1331e93b75c3f255dc8840128febfa"), "U", "R", array(0 => 2, 1 => 14), NULL, 1398596000, false, false, NULL) on line 158 in file cbpaidControllerOrder.php
called in class cbpaidControllerOrder::createSubscriptionsAndPayment(object(moscomprofilerUser), array(4 => object(cbpaidProductMerchandise)), array("cbpplanE" => array(0 => array("selected" => array(0 => "4"))), "cbponlyplans" => "4", "cbpsubscriptionid" => array(4 => "2,14"), "cbpcbregUpgrade" => "Acheter", "user" => "63", "cbpact" => "upgrade", "cbsecuritym3" => "cbm_088447ce_64315f41_6c1331e93b75c3f255dc8840128febfa"), array(4 => array(0 => 2, 1 => 14)), NULL, "R", "Mettre à jour", "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 => "4"))), "cbponlyplans" => "4", "cbpsubscriptionid" => array(4 => "2,14"), "cbpcbregUpgrade" => "Acheter", "user" => "63", "cbpact" => "upgrade", "cbsecuritym3" => "cbm_088447ce_64315f41_6c1331e93b75c3f255dc8840128febfa")) on line 1087 in file cbpaidsubscriptions.php
called in class getcbpaidsubscriptionsTab::getTabComponent(NULL, object(moscomprofilerUser), 1, array("cbpplanE" => array(0 => array("selected" => array(0 => "4"))), "cbponlyplans" => "4", "cbpsubscriptionid" => array(4 => "2,14"), "cbpcbregUpgrade" => "Acheter", "user" => "63", "cbpact" => "upgrade", "cbsecuritym3" => "cbm_088447ce_64315f41_6c1331e93b75c3f255dc8840128febfa")) 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 => "4"))), "cbponlyplans" => "4", "cbpsubscriptionid" => array(4 => "2,14"), "cbpcbregUpgrade" => "Acheter", "user" => "63", "cbpact" => "upgrade", "cbsecuritym3" => "cbm_088447ce_64315f41_6c1331e93b75c3f255dc8840128febfa"))
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 => "4"))), "cbponlyplans" => "4", "cbpsubscriptionid" => array(4 => "2,14"), "cbpcbregUpgrade" => "Acheter", "user" => "63", "cbpact" => "upgrade", "cbsecuritym3" => "cbm_088447ce_64315f41_6c1331e93b75c3f255dc8840128febfa"))) on line 583 in file plugin.class.php
called in class cbPluginHandler::call("563", "getCBpluginComponent", "CBplug_cbpaidsubscriptions", array(0 => NULL, 1 => object(moscomprofilerUser), 2 => 1, 3 => array("cbpplanE" => array(0 => array("selected" => array(0 => "4"))), "cbponlyplans" => "4", "cbpsubscriptionid" => array(4 => "2,14"), "cbpcbregUpgrade" => "Acheter", "user" => "63", "cbpact" => "upgrade", "cbsecuritym3" => "cbm_088447ce_64315f41_6c1331e93b75c3f255dc8840128febfa")), NULL) on line 4187 in file comprofiler.class.php
called in class cbTabs::_callTabPlugin(NULL, object(moscomprofilerUser), "CBplug_cbpaidsubscriptions", "getCBpluginComponent", "563", array("cbpplanE" => array(0 => array("selected" => array(0 => "4"))), "cbponlyplans" => "4", "cbpsubscriptionid" => array(4 => "2,14"), "cbpcbregUpgrade" => "Acheter", "user" => "63", "cbpact" => "upgrade", "cbsecuritym3" => "cbm_088447ce_64315f41_6c1331e93b75c3f255dc8840128febfa")) on line 4274 in file comprofiler.class.php
called in class cbTabs::tabClassPluginTabs(object(moscomprofilerUser), array("cbpplanE" => array(0 => array("selected" => array(0 => "4"))), "cbponlyplans" => "4", "cbpsubscriptionid" => array(4 => "2,14"), "cbpcbregUpgrade" => "Acheter", "user" => "63", "cbpact" => "upgrade", "cbsecuritym3" => "cbm_088447ce_64315f41_6c1331e93b75c3f255dc8840128febfa"), "cbpaidsubscriptions", "CBplug_cbpaidsubscriptions", "getCBpluginComponent") on line 780 in file comprofiler.php
called in function tabClass("com_comprofiler", "pluginclass", 63) on line 275 in file comprofiler.php
called in function require_once("/homez.521/montki/www/voyance34/components/com_comprofiler/comprofiler.php") on line 380 in file helper.php
called in class JComponentHelper::executeComponent("/homez.521/montki/www/voyance34/components/com_comprofiler/comprofiler.php") on line 348 in file helper.php
called in class JComponentHelper::renderComponent("com_comprofiler") on line 194 in file application.php
called in class JSite::dispatch() on line 42 in file index.php
$_GET = array (
'user' => '63',
'plugin' => 'cbpaidsubscriptions',
'task' => 'pluginclass',
'option' => 'com_comprofiler',
'Itemid' => NULL,
)
$_POST = array (
'cbpplanE' =>
array (
0 =>
array (
'selected' =>
array (
0 => '4',
),
),
),
'cbponlyplans' => '4',
'cbpsubscriptionid' =>
array (
4 => '2,14',
),
'cbpcbregUpgrade' => 'Acheter',
'user' => '63',
'cbpact' => 'upgrade',
'cbsecuritym3' => 'cbm_088447ce_64315f41_6c1331e93b75c3f255dc8840128febfa',
)


Table affected: -

Please Log in to join the conversation.

10 years 3 weeks ago #244464 by beat
Yes, that's it:

USER ERROR: Merchandise::createOrLoadReplacementSubscription: replace subscription not possible: id: 14

You are trying to offer upgrades on merchandises (in fact making merchandises exclusive, and offering to upgrade a merchandise to another one) in your settings.

Only Subscriptions plan-types can be upgraded. For merchandises and donations that is not possible. You can use subscription-types also for merchandises when you need to allow upgrades.

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

10 years 3 weeks ago #244465 by Orphil
ok, I changed to "Exclusive plan," it was so, I put not and obviously the problem is solved. Thanks !
But "history logs" I always hundreds of error messages that begin with "CAUGHT EXCEPTION: preg_replace ():"
and I did not quite understand what you said earlier (because I'm not English ... everything is translated by Google)
But if I understand the problem would resolve if I spent CB 1.9.1 to CB 2.0??

Please Log in to join the conversation.

10 years 2 weeks ago #244467 by beat
When CB 2.0 stable is released and you upgrade to CB 2.0 the notice will disappear.

We do not recommend running beta releases on live sites.

Exceptionally, you can replace file administrator/components/com_comprofiler/library/phpinputfilter/phpinputfilter.inputfilter.php of CB 1.9.1 with the one of CB 2.0 beta 3 to get rid of that issue. I just re-reviewed the changes and they should be without effect on CB 1.9.1 (apart removing that notice).

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.213 seconds

Facebook Twitter LinkedIn