- Posts: 1
- Thank you received: 1
Kunena 7.0.9 & Kunena 6.4.14 – Security Updates Released
The Kunena team has announce the arrival of Kunena 7.0.9 [K 7.0.9] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0
Solved Error when user try to edit his profile
- pavelbrozik
-
Topic Author
- Offline
- New Member
-
Less
More
3 years 3 months ago #228502
by pavelbrozik
Error when user try to edit his profile was created by pavelbrozik
Fresh install of Kunena 6.1.1 on J4.3.2, after user selects this menu item:
Menu option type: edit user
Link: &view=user&layout=edit
Target window: Parent window
Template version: Versla - Discussion
error is returned:
Joomla\CMS\User\UserFactory::loadUserById(): Argument #1 ($id) must be of type int, null given, called in web/components/com_kunena/src/Controller/User/Edit/
Call stack:
Function Location
1 () JROOT/libraries/src/User/:51
2 Joomla\CMS\User\UserFactory->loadUserById() JROOT/components/com_kunena/src/Controller/User/Edit/:77
3 Kunena\Forum\Site\Controller\User\Edit\UserEditDisplay->before() JROOT/libraries/kunena/src/Controller/:150
4 Kunena\Forum\Libraries\Controller\KunenaControllerDisplay->execute() JROOT/libraries/kunena/src/Layout/:127
5 Kunena\Forum\Libraries\Layout\KunenaPage->execute() JROOT/components/com_kunena/template/aurelia/pages/user/edit/:21
6 include() JROOT/libraries/kunena/src/Layout/:182
7 Kunena\Forum\Libraries\Layout\KunenaBase->render() JROOT/libraries/kunena/src/Layout/:165
8 Kunena\Forum\Libraries\Layout\KunenaLayout->render() JROOT/libraries/kunena/src/Controller/Application/:135
9 Kunena\Forum\Libraries\Controller\Application\Display->execute() JROOT/components/com_kunena/src/Dispatcher/:100
10 Kunena\Forum\Site\Dispatcher\Dispatcher->dispatch() JROOT/libraries/src/Component/:361
11 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/:208
12 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/:249
13 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/:293
14 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/:61
Only custom changes to installation is configuration and translations, no code injections etc.
Thx
Pavel
Menu option type: edit user
Link: &view=user&layout=edit
Target window: Parent window
Template version: Versla - Discussion
error is returned:
Joomla\CMS\User\UserFactory::loadUserById(): Argument #1 ($id) must be of type int, null given, called in web/components/com_kunena/src/Controller/User/Edit/
Call stack:
Function Location
1 () JROOT/libraries/src/User/:51
2 Joomla\CMS\User\UserFactory->loadUserById() JROOT/components/com_kunena/src/Controller/User/Edit/:77
3 Kunena\Forum\Site\Controller\User\Edit\UserEditDisplay->before() JROOT/libraries/kunena/src/Controller/:150
4 Kunena\Forum\Libraries\Controller\KunenaControllerDisplay->execute() JROOT/libraries/kunena/src/Layout/:127
5 Kunena\Forum\Libraries\Layout\KunenaPage->execute() JROOT/components/com_kunena/template/aurelia/pages/user/edit/:21
6 include() JROOT/libraries/kunena/src/Layout/:182
7 Kunena\Forum\Libraries\Layout\KunenaBase->render() JROOT/libraries/kunena/src/Layout/:165
8 Kunena\Forum\Libraries\Layout\KunenaLayout->render() JROOT/libraries/kunena/src/Controller/Application/:135
9 Kunena\Forum\Libraries\Controller\Application\Display->execute() JROOT/components/com_kunena/src/Dispatcher/:100
10 Kunena\Forum\Site\Dispatcher\Dispatcher->dispatch() JROOT/libraries/src/Component/:361
11 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/:208
12 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/:249
13 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/:293
14 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/:61
Only custom changes to installation is configuration and translations, no code injections etc.
Thx
Pavel
The following user(s) said Thank You: xillibit
Please Log in or Create an account to join the conversation.
3 years 3 months ago #228503
by xillibit
I don't provide support by PM, because this can be useful for someone else.
Replied by xillibit on topic Error when user try to edit his profile
Hello,
Thank you for you report of this issue, i have found where is it nad i have just made a fix for it : github.com/Kunena/Kunena-Forum/commit/32...1d81c6cb4463792b91df
Thank you for you report of this issue, i have found where is it nad i have just made a fix for it : github.com/Kunena/Kunena-Forum/commit/32...1d81c6cb4463792b91df
I don't provide support by PM, because this can be useful for someone else.
The following user(s) said Thank You: Leen, pavelbrozik
Please Log in or Create an account to join the conversation.
3 years 3 months ago #228506
by Leen
With kind regards
Leen
Replied by Leen on topic Error when user try to edit his profile
tried this fix and it works
With kind regards
Leen
Please Log in or Create an account to join the conversation.
Time to create page: 0.649 seconds