Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.0] Argument 1 passed to Joomla\CMS\User\UserFactory::loadUserByUsername() must be of the type string #29534

Closed
PhilETaylor opened this issue Jun 9, 2020 · 2 comments

Comments

@PhilETaylor
Copy link
Contributor

PhilETaylor commented Jun 9, 2020

Steps to reproduce the issue

go to faked url:

http://127.0.0.1/administrator/index.php?option=com_messages&view=message&message_id=

same with

http://127.0.0.1/administrator/index.php?option=com_messages&view=message&layout=dasdasd

Expected result

No PHP Error. Something other than a PHP error :)

Actual result

Argument 1 passed to Joomla\CMS\User\UserFactory::loadUserByUsername() must be of the type string, null given, called in /application/libraries/src/User/User.php on line 271

Screenshot 2020-06-09 at 19 13 52

@PhilETaylor PhilETaylor changed the title [4.0] [4.0] Argument 1 passed to Joomla\CMS\User\UserFactory::loadUserByUsername() must be of the type string Jun 9, 2020
@alikon
Copy link
Contributor

alikon commented Jun 11, 2020

confirmed
com_messages needs a bit of care

@PhilETaylor

This comment was marked as abuse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants