Steemnova - error message on friend request
Expected behavior
It should be possible to send friend requests to other players independent of the users language. A website should never display technical error messages to the users. (Even though it helped me find the bug in this case.)
Actual behavior
The backend returns an error saying that the language variable is not defined. Making it impossible to send a friend request to an user with another language.
How to reproduce
- Open Steemnova
- login
- go to the statistics page
- find a user from another country
- try to send a friend request to the user
(I'm german, if somebody wants to test it out )
Recording Of The Bug
Suggested Fix
In this line
$Friend_LNG = new Language($language);
should be replaced with
$Friend_LNG = new Language($row['lang']);
Also it should be considered to disable the debug error messages
Posted on Utopian.io - Rewarding Open Source Contributors
Thank you for the contribution. It has been approved.
Awsome i like your post it follows our rules, Thanks for contributing and sorry for the delay.
You can contact us on Discord.
[utopian-moderator]
Thank you for your work! :)
No Problem :)
Greetings,
Martin
@mwfiae, No matter approved or not, I upvote and support you.
Nice bug description and quick fixes. Should update the game soon.
Good job!
Thank you! :)
Fun fact: I found the bug while trying to send a friend request to you (maybe you saw it in the screenshot). With the message that I hope that I can support the project further in the future! :D
Congratulations! This post has been upvoted from the communal account, @minnowsupport, by MWFIAE from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, theprophet0, someguy123, neoxian, followbtcnews, and netuoso. The goal is to help Steemit grow by supporting Minnows. Please find us at the Peace, Abundance, and Liberty Network (PALnet) Discord Channel. It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.
If you would like to delegate to the Minnow Support Project you can do so by clicking on the following links: 50SP, 100SP, 250SP, 500SP, 1000SP, 5000SP.
Be sure to leave at least 50SP undelegated on your account.
You've got upvoted by
Utopian-1UP
!You can give up to ten 1UP's to Utopian posts every day after they are accepted by a Utopian moderator and before they are upvoted by the official @utopian-io account. Install the @steem-plus browser extension to use 1UP. By following the 1UP-trail using SteemAuto you support great Utopian authors and earn high curation rewards at the same time.
1UP is neither organized nor endorsed by Utopian.io!
i hope that you do know that utopia is taking 25% of your rewards
look at your post in steemd.com and check for beneficiaries
account utopian.pay
weight 2,500
that is 25% of the authors rewards , that is a lot of money for some software
I hope that you know that utopian is upvoting with a massive value!
So more than 75% of my rewards are from utopian itself ;)
Also its not only software, the money goes to the moderators, etc.
They do an amazing job and deserve some rewards!
Hey @mwfiae I am @utopian-io. I have just upvoted you!
Achievements
Suggestions
Get Noticed!
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x