Register a new user through registration on the website or in the control panel. The value of the option Users -> User options -> New User Account Activation does not matter (the problem occurs in any case).
After registration and activation of the user (not necessarily, if New User Account Activation -> None), when attempting to log in on the site, the new user receives the message: "0 - Cannot save session: User 0 doesn`t exist!"
$ php -v
PHP 8.3.17 (cli) (built: Feb 11 2025 22:03:03) (NTS gcc x86_64)
Copyright (c) The PHP Group
Zend Engine v4.3.17, Copyright (c) Zend Technologies
with Zend OPcache v8.3.17, Copyright (c), by Zend Technologies
Joomla 5.2.4.
This is a very unpleasant bug. I would like to ask Joomla developers and maintainers to be more careful in their work. Such troubles are unacceptable; it's nonsense. I am unpleasantly surprised.
Labels |
Added:
No Code Attached Yet
|
Brian, I don't use extensions that can affect authentication. But, if the problem is not localized by Joomla maintainers, I am willing to provide access to a test copy of the site for investigation. My blog has been around for years, but this is the first time I've seen this outrage today.
I can only note that today was the first time I turned on (and soon turned off when I saw what was happening) the “Shared Sessions” option. But that probably doesn't affect the origin of the trabla.
I'm using components: Phoca Gallery, Akeeba backup, Kunena forum, OsMap free, K2ForJ4.
Plugins: OSpam-a-not, Phoca plugin, etc. I don't know how to list third-party extensions, and it's not easy for me to answer your question.
1
database
2
Cannot save session: User 0 doesn't exist!
/var/www/*******/libraries/kunena/src/Session/KunenaSession.php:252
Call Stack
# Function Location
1 () JROOT/libraries/kunena/src/Session/KunenaSession.php:252
2 Kunena\Forum\Libraries\Session\KunenaSession->save() JROOT/components/com_kunena/src/Dispatcher/Dispatcher.php:80
3 Kunena\Forum\Site\Dispatcher\Dispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
4 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:218
5 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:272
6 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:306
7 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:58
8 require_once() JROOT/index.php:32
Any ideas?
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2025-02-20 08:25:34 |
Closed_By | ⇒ | joomdonation |
From the screenshot you provided, the error comes from Kunena extension, not from Joomla core. You can open an issue at https://github.com/Kunena/Kunena-Forum/issues and try to get help from there. They know their extension better and should be able to assist. Otherwise, you might need to find a developer to debug the issue and get it sorted for you.
I'm closing this issue because it is not something related to Joomla core code.
I’ve finally managed to carve out some time for testing. The Kunena issue only appears after updating Joomla to version 5.2.4; this problem doesn’t occur on older versions of Joomla.
I owe an apology to the Joomla team; the issue wasn’t on their end.
What extensions do you have installed?
Every code change is passed through many automated tests and registering users and logging in is part of those tests