Skip to Content Skip to Menu

🌟Discover the Joomla AI Plugin that wrote its own story! - CB Editor Assistant 1.1now for Joomla 3, 4 & 5!
✍️ 5-Day Free Trial, then 🎯 save up to 30% with our 🛍️ Intro Offer (First 50 users, ends Dec. 25th)
🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

Call to a member function assign() on null on new user submision

  • geaction
  • geaction
  • OFFLINE
  • Posts: 1
  • Thanks: 0
  • Karma: 0
4 months 2 days ago #338977 by geaction
Hello
after an upragde from joomla 3.1 to joomla 5.13 - PHP 8.3 (I allready do that with me 2 others sites without any problem) there is this error message when a new usre try to register: Call to a member function assign() on null 
the new user was created on joomla but not on CB.
How can i fix that?
Best regards
 

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48616
  • Thanks: 8302
  • Karma: 1446
4 months 2 days ago #338982 by krileon
Enable debug mode and maximum error reporting in Joomla global configuration then retry. That should expose the rest of the error so we can see where it's coming from.


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.

Please Log in or Create an account to join the conversation.

  • vk6ad
  • vk6ad
  • OFFLINE
  • Posts: 3
  • Thanks: 2
  • Karma: 0
3 months 2 weeks ago #339051 by vk6ad
I have the same error so looking forward to any fix.

 

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48616
  • Thanks: 8302
  • Karma: 1446
3 months 2 weeks ago #339054 by krileon

I have the same error so looking forward to any fix.

Please follow the instructions of my reply above and provide the details of the error. As the original poster has not done so there's nothing for me to investigate and fix.


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.

Please Log in or Create an account to join the conversation.

  • BertusV
  • BertusV
  • OFFLINE
  • Posts: 2
  • Thanks: 2
  • Karma: 0
3 months 2 weeks ago #339064 by BertusV
Same issue overhere,I guess the plugin DPcalender causes the error? No Idea why its called when adding a new Joomla user.
see error output below:

   0 Call to a member function assign() on null

Call Stack
#     Function     Location
1     ()     JROOT/plugins/user/dpcalendar/src/Extension/DPCalendar.php:101
2     DigitalPeak\Plugin\User\DPCalendar\Extension\DPCalendar->onUserAfterSave()     JROOT/libraries/src/Plugin/CMSPlugin.php:289
3     Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin\{closure}()     JROOT/libraries/vendor/joomla/event/src/Dispatcher.php:454
4     Joomla\Event\Dispatcher->dispatch()     JROOT/libraries/src/User/User.php:803
5     Joomla\CMS\User\User->save()     JROOT/administrator/components/com_users/src/Model/UserModel.php:288
6     Joomla\Component\Users\Administrator\Model\UserModel->save()     JROOT/libraries/src/MVC/Controller/FormController.php:689
7     Joomla\CMS\MVC\Controller\FormController->save()     JROOT/administrator/components/com_users/src/Controller/UserController.php:105
8     Joomla\Component\Users\Administrator\Controller\UserController->save()     JROOT/libraries/src/MVC/Controller/BaseController.php:730
9     Joomla\CMS\MVC\Controller\BaseController->execute()     JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143
10     Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch()     JROOT/libraries/src/Component/ComponentHelper.php:361
11     Joomla\CMS\Component\ComponentHelper::renderComponent()     JROOT/libraries/src/Application/AdministratorApplication.php:150
12     Joomla\CMS\Application\AdministratorApplication->dispatch()     JROOT/libraries/src/Application/AdministratorApplication.php:195
13     Joomla\CMS\Application\AdministratorApplication->doExecute()     JROOT/libraries/src/Application/CMSApplication.php:306
14     Joomla\CMS\Application\CMSApplication->execute()     JROOT/administrator/includes/app.php:58
15     require_once()     JROOT/administrator/index.php:32

 
The following user(s) said Thank You: krileon

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48616
  • Thanks: 8302
  • Karma: 1446
3 months 2 weeks ago #339065 by krileon
Yup, your issue is coming from 3rd party plugin DPcalender acting on Joomla user save event causing a fatal error that's interrupting the process so CB can't create its user. Suggest contacting the developers of DPcalender and have them fix the issue.


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.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum