Joomla 3.7.0 fresh installation with sample data: Blog
Go to Content > Articles > Working on Your Site
and you see the warning:
JUser: :_load: Unable to load user with ID: 713
Is it possible to leave the field "Modified by" empty in sample date sql files?
Labels |
Added:
?
|
@andrepereiradasilva thanks for PR
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-12-24 18:18:38 |
Closed_By | ⇒ | shur |
Sometimes if any extension has not handled action "onUserAfterDelete".
like, delete/update user id from the created_by column from extensions database table, then the Joomla throws following warning message.
Message : "JUser: :_load: Unable to load user with ID: %s"
Ideally, the extension should handle this but message looks messy to end user ( frontend ) and may lose trust on site. Can we do something here?
I found this from joomla
language/en-GB/en-GB.lib_joomla.ini:
JLIB_USER_ERROR_UNABLE_TO_LOAD_USER="JUser: :_load: Unable to load user with ID: %s"
libraries/src/User/User.php
\JLog::add(\JText::sprintf('JLIB_USER_ERROR_UNABLE_TO_LOAD_USER', $id), \JLog::WARNING, 'jerror');
@vijaykhollam Can you please open a new Issue as Comments on closed Issues didn't get much Notice.
Sometimes if any extension has not handled action "onUserAfterDelete".
but i'm not sure if you write about Core.
Thanks, @franz-wohlkoenig
I have added the new issue. i.e #20689
The User ID is shown on purpose but there is already at least one PR around to deal with the message. Just can't find it at the moment.