Simple Machines Community Forum

SMF Development => Bug Reports => Fixed or Bogus Bugs => Topic started by: meccep45 on February 15, 2022, 09:41:33 AM

Title: a non-existent user.
Post by: meccep45 on February 15, 2022, 09:41:33 AM
Screenshot 2022-02-15.png
follow the link, knowing that there is no user /index.php?action=profile;u=3 (https://www.simplemachines.org/index.php?action=profile;u=3).
I get a blank screen and an error message.
2022/02/15 17:02:25 [error] 4611#0: *9098 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught TypeError: vsprintf(): Argument #2 ($values) must be of type array, int given in /opt/share/nginx/html/Sources/Errors.php:231
Stack trace:
#0 /opt/share/nginx/html/Sources/Errors.php(231): vsprintf('\xD0\x9F\xD0\xBE\xD0\xBB\xD1\x8C\xD0\xB7\xD0\xBE\xD0\xB2\xD0...', 404)
#1 /opt/share/nginx/html/Sources/Profile.php(54): fatal_lang_error('not_a_user', false, 404)
#2 /opt/share/nginx/html/index.php(187): ModifyProfile()
#3 {main}
  thrown in /opt/share/nginx/html/Sources/Errors.php on line 231" while reading response header from upstream, client: 0.0.0.0, server: 0-0.ddns.net, request: "GET /index.php?action=profile;u=3 HTTP/2.0", upstream: "fastcgi://unix:/opt/var/run/php8-fpm/php8-fpm.sock:", host: "0-0.ddns.net"

tell me how to fix it. thanks
Title: Re: a non-existent user.
Post by: Arantor on February 15, 2022, 09:55:29 AM
So that looks like part of the admin panel... what on that are you clicking on that isn't valid? (I see two links)
Title: Re: a non-existent user.
Post by: meccep45 on February 15, 2022, 10:25:02 AM
Quote from: Arantor on February 15, 2022, 09:55:29 AMSo that looks like part of the admin panel... what on that are you clicking on that isn't valid? (I see two links)
[https://www.simplemachines.org/community/index.php?action=profile;u=00 (https://www.simplemachines.org/community/index.php?action=profile;u=00)
everything is correct on this site, but I have a white blank screen. for example.
Title: Re: a non-existent user.
Post by: Arantor on February 15, 2022, 10:53:46 AM
I don't mean what the URL is, I mean "what on that screenshot has that URL?"
Title: Re: a non-existent user.
Post by: Sesquipedalian on February 15, 2022, 04:44:06 PM
This should be fixed in #7329 (https://github.com/SimpleMachines/SMF2.1/pull/7329).
Title: Re: a non-existent user.
Post by: meccep45 on February 15, 2022, 09:42:45 PM
Quote from: Sesquipedalian on February 15, 2022, 04:44:06 PMThis should be fixed in #7329 (https://github.com/SimpleMachines/SMF2.1/pull/7329).
Thank you for your reply. I'll be looking forward to it.
Title: Re: a non-existent user.
Post by: meccep45 on February 15, 2022, 11:39:12 PM
I entered the data from the proposed fix. it worked the way it was supposed to work. thanks.