Levelup/Click Error
Hey, sometime when we click pets to give them clicks, or just just try to level them up we get an error. I tried reading into it and going to the areas where it specified that they were, but I couldn't find anything obvious, since I'm not really a coder. Someone please take a look;
Warning: mt_rand() [function.mt-rand]: max(0) is smaller than min(5) in /home/aristo91/public_html/classes/class_member.php on line 111
Fatal error: Uncaught exception 'Exception' with message 'Cannot change user money by a non-numeric value!' in /home/aristo91/public_html/classes/class_member.php:95 Stack trace: #0 /home/aristo91/public_html/levelup.php(75): Member->changecash(false) #1 {main} thrown in /home/aristo91/public_html/classes/class_member.php on line 95
Also, when trying to open mail from SYSTEM, it states that it is not a user and you cannot open it;
Fatal error: Uncaught exception 'Exception' with message 'User SYSTEM does not exist...' in /home/aristo91/public_html/classes/class_member.php:26 Stack trace: #0 /home/aristo91/public_html/classes/class_privatemessage.php(79): Member->__construct('SYSTEM') #1 /home/aristo91/public_html/messages.php(37): PrivateMessage->getpostbar() #2 {main} thrown in /home/aristo91/public_html/classes/class_member.php on line 26
|