Can't take any new registrations

1 week 6 days ago - 1 week 6 days ago #332491 by wjgadmin
Can't take any new registrations was created by wjgadmin
There seems to be an error that has just started since the latest update. I am including the debug details below. Please let me know on this as soon as possible because this is stopping us from getting any new registrations/subscriptions etc... Of course we always back up our site, however this was unknows and we have many things updated in our databases so we cannot revert using our backup at this point.

This is the error when someone tries to go to any of our registration URLs:
0Argument 12 passed to cbRegistrationView::drawLayout() must be of the type string, null given, called in /home/customer/www/domain.com/public_html/libraries/CBLib/CB/Legacy/cbPluginHandler.php on line 880**You may not be able to visit this page because of:**
  1. **an out-of-date bookmark/favourite**
  2. **a search engine that has an out-of-date listing for this site**
  3. **a mistyped address**
  4. **you have no access to this page**
  5. **The requested resource was not found.**
  6. **An error has occurred while processing your request.**
**Please try one of the following pages:**
  1. "Home Page"
  2. "Search this site"
**If difficulties persist, please contact the System Administrator of this site and report the error below.**Argument 12 passed to cbRegistrationView::drawLayout() must be of the type string, null given, called in /home/customer/www/domain.com/public_html/libraries/CBLib/CB/Legacy/cbPluginHandler.php on line 880 Call stack#FunctionLocation1()JROOT/libraries/CBLib/CB/Legacy/cbRegistrationView.php:722cbRegistrationView->drawLayout()JROOT/libraries/CBLib/CB/Legacy/cbPluginHandler.php:8803cbPluginHandler->call()JROOT/libraries/CBLib/CB/Legacy/cbPluginHandler.php:11714cbPluginHandler->callTemplate()JROOT/components/com_comprofiler/comprofiler.html.php:11405HTML_comprofiler::registerForm()JROOT/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/controllers/cbpaidControllerOffer.php:806cbpaidControllerOffer::displaySpecificPlans()JROOT/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/controllers/cbpaidControllerCBComponent.php:2417CBplug_cbpaidsubscriptions->getCBpluginComponent()JROOT/libraries/CBLib/CB/Legacy/cbPluginHandler.php:8808cbPluginHandler->call()JROOT/libraries/CBLib/CB/Legacy/cbTabs.php:16119cbTabs->_callTabPlugin()JROOT/libraries/CBLib/CB/Legacy/cbTabs.php:172510cbTabs->tabClassPluginTabs()JROOT/components/com_comprofiler/comprofiler.php:73311tabClass()JROOT/components/com_comprofiler/comprofiler.php:28612require_once()JROOT/libraries/src/Component/ComponentHelper.php:40213Joomla\CMS\Component\ComponentHelper::executeComponent()JROOT/libraries/src/Component/ComponentHelper.php:37714Joomla\CMS\Component\ComponentHelper::renderComponent()JROOT/libraries/src/Application/SiteApplication.php:19415Joomla\CMS\Application\SiteApplication->dispatch()JROOT/libraries/src/Application/SiteApplication.php:23316Joomla\CMS\Application\SiteApplication->doExecute()JROOT/libraries/src/Application/CMSApplication.php:22517Joomla\CMS\Application\CMSApplication->execute()

Please Log in to join the conversation.

1 week 6 days ago #332492 by wjgadmin
Replied by wjgadmin on topic Can't take any new registrations
Additionally, I've just noticed on the front end while in debug mode, getting the following on the user profile page:
CBPaid Debug MessageNOTICE: Undefined property: cbpaidInvoicesListView::$plansTitle in /home/customer/www/domain.com/public_html/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/templates/rounded/invoiceslist/invoiceslistlink.php on line 15
Trace:called in class cbpaidErrorHandler::_error_handler_callable(8, "Undefined property: cbpaidInvoicesListView::$plansTitle", "/home/customer/www/domain.com/public_html/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/templates/rounded/invoiceslist/invoiceslistlink.php", 15, array("layout" => "invoiceslistlink", "file" => "/home/customer/www/domain.com/public_html/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/templates/rounded/invoiceslist/invoiceslistlink.php", "tmplVersion" => 1)) on line 15 in file invoiceslistlink.php
called in function include("/home/customer/www/domain.com/public_html/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/templates/rounded/invoiceslist/invoiceslistlink.php") on line 170 in file cbpaidTemplateHandler.php
called in class cbSUPERTemplateHandler::_renderView("invoiceslistlink") on line 119 in file cbpaidTemplateHandler.php
called in class cbSUPERTemplateHandler::display("invoiceslistlink") on line 73 in file invoiceslist.php
called in class cbpaidInvoicesListView::drawProfileInvoicesLink(1, object(CB\Database\Table\UserTable)) on line 138 in file cbpaidControllerCBTab.php
called in class cbpaidControllerCBTab::displaySubscriptionsAndInvoicesLink(object(CB\Database\Table\UserTable), NULL) on line 193 in file cbpaidsubscriptions.php
called in class getcbpaidsubscriptionsTab::displayUserTab(object(CB\Database\Table\UserTable), NULL) on line 213 in file cbpaidsubscriptions.php
called in class getcbpaidsubscriptionsTab::getDisplayTab(object(CB\Database\Table\TabTable), object(CB\Database\Table\UserTable), 1, NULL, "profile") on line 880 in file cbPluginHandler.php
called in class cbPluginHandler::call(554, "getDisplayTab", "getcbpaidsubscriptionsTab", array(0 => object(CB\Database\Table\TabTable), 1 => object(CB\Database\Table\UserTable), 2 => 1, 3 => NULL, 4 => "profile"), object(CBLib\Registry\Registry)) on line 1611 in file cbTabs.php
called in class cbTabs::_callTabPlugin(object(CB\Database\Table\TabTable), object(CB\Database\Table\UserTable), "getcbpaidsubscriptionsTab", "getDisplayTab", "554", NULL, "profile") on line 357 in file cbTabs.php
called in class cbTabs::generateViewTabsContent(object(CB\Database\Table\UserTable), "") on line 443 in file cbTabs.php
called in class cbTabs::getViewTabs(object(CB\Database\Table\UserTable), "") on line 410 in file CBuser.php
called in class CBuser::getProfileView() on line 340 in file comprofiler.html.php
called in class HTML_comprofiler::userProfile(object(CB\Database\Table\UserTable), "com_comprofiler", "Update") on line 627 in file comprofiler.php
called in function userProfile("com_comprofiler", 572, "Update") on line 119 in file comprofiler.php
called in function require_once("/home/customer/www/domain.com/public_html/components/com_comprofiler/comprofiler.php") on line 402 in file ComponentHelper.php
called in class Joomla\CMS\Component\ComponentHelper::executeComponent("/home/customer/www/domain.com/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 (
'Itemid' => '881',
'option' => 'com_comprofiler',
'view' => 'userprofile',
'task' => 'userprofile',
)
$_POST = array (
)


Notice: Undefined property: cbpaidInvoicesListView::$plansTitle in /home/customer/www/domain.com/public_html/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/templates/rounded/invoiceslist/invoiceslistlink.php on line 15

Please Log in to join the conversation.

1 week 6 days ago #332502 by krileon
Replied by krileon on topic Can't take any new registrations
Your first issue is caused by getFieldIcons returning a null when it should be returning a string. This is now fixed in latest build release.

forge.joomlapolis.com/issues/9115

Your second issue seams like a problem with the template having template overrides it shouldn't. Old files that didn't get cleaned up perhaps? Navigate to the following directory.

/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/templates/rounded

Then make sure it only has the following folders in it.

images
productdonation
productmerchandise
productusersubscription
somethingusersubscription
xml

Delete any other folders found. The XML of that template has cleanup for those old folders so unsure why yours still has them unless a permissions problem prevented the delete.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: wjgadmin

Please Log in to join the conversation.

1 week 5 days ago #332512 by wjgadmin
Replied by wjgadmin on topic Can't take any new registrations
Thank you for the resolution. To confirm, I did delete the invoicelists folder that was still present & updated to the latest version (1/19/23).

In the directory, this is what currently exists below, could you please let me know everything is correct?:

Folders:
images
productdonation
productmerchandise
productusersubscription
somethingusersubscription
xml

Files:
cbpaidsubscriptions.admin.css
index.html
override.css
rounded.php
rounded.xml

Please Log in to join the conversation.

1 week 5 days ago #332514 by krileon
Replied by krileon on topic Can't take any new registrations
Yes, that's correct.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: wjgadmin

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.224 seconds

Facebook Twitter LinkedIn