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

User object defect #809

Closed
deg-pl opened this issue Nov 2, 2016 · 3 comments
Closed

User object defect #809

deg-pl opened this issue Nov 2, 2016 · 3 comments

Comments

@deg-pl
Copy link
Member

deg-pl commented Nov 2, 2016

Viewing profile of non-existent user (i.e. https://opencaching.pl/viewprofile.php/?userid=10000000) generates blank page and error:

PHP Catchable fatal error: Argument 1 passed to lib\Objects\User\User::setUserFieldsByUsedDbRow() must be of the type array, boolean given, called in /srv/ocpl/lib/Objects/User/User.php on line 97 and defined in /srv/ocpl/lib/Objects/User/User.php on line 205

@kojoty
Copy link
Member

kojoty commented Jun 18, 2017

seems to be fixed now...

@kojoty kojoty closed this as completed Jun 18, 2017
@deg-pl
Copy link
Member Author

deg-pl commented Jun 18, 2017

@kojoty I've checked https://opencaching.pl/viewprofile.php/?userid=10000000 and this page looks 'a little bit different' ;). Please - check it.
But you're right - now php doesn't generate error.

@kojoty
Copy link
Member

kojoty commented Jun 19, 2017

@deg-pl,
the problem is "/" in url:
https://opencaching.pl/viewprofile.php/?userid=10000000
check this
https://opencaching.pl/viewprofile.php?userid=10000000
and this
https://opencaching.pl/index.php/

I'll try to fix it as well...

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

2 participants