CyberWorks icon indicating copy to clipboard operation
CyberWorks copied to clipboard

no playerEdit possible for 5.0 life version

Open MelonCraftDE opened this issue 8 years ago • 2 comments
trafficstars

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 avatar May 27 '17 19:05 MelonCraftDE

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

MelonCraftDE avatar May 27 '17 20:05 MelonCraftDE

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.

MightySCollins avatar May 31 '17 16:05 MightySCollins