Skip to content
This repository has been archived by the owner on Feb 11, 2018. It is now read-only.

no playerEdit possible for 5.0 life version #85

Open
MelonCraftDE opened this issue May 27, 2017 · 2 comments
Open

no playerEdit possible for 5.0 life version #85

MelonCraftDE opened this issue May 27, 2017 · 2 comments

Comments

@MelonCraftDE
Copy link

MelonCraftDE commented May 27, 2017

hi!

got a problem to save the edited player money or ranks... no player edits are possible

can someone help?

that error appears, but it says "edited" too... but nothing is edited in database...

Notice: Undefined property: stdClass::$donatorlvl in C:\Server\xampp\htdocs\supporter\views\life\editPlayer.php on line 55

Notice: Undefined property: stdClass::$donatorlvl in C:\Server\xampp\htdocs\supporter\views\life\editPlayer.php on line 56

@MelonCraftDE
Copy link
Author

MelonCraftDE commented May 27, 2017

but after i edited the lines from
if ($donorlevel != $player->$settings['donorFormat']) {
to

                    if ($donorlevel != $player->donorlevel) {

the error is gone away - but still no saves to database from editPlayers (cash/bank/ranks) - posting notes/gang-bank works

@MightySCollins
Copy link
Member

I will be on our discord server tonight to try and fix a few problems join https://discord.gg/wfFSFhX and message me if you want to help.

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

No branches or pull requests

2 participants