Closed Miheix closed 6 years ago
Hi, could you describe what steps you took that led up to this error?
On Wed, Jun 13, 2018 at 12:47 PM, Mihai notifications@github.com wrote:
Fatal error: Uncaught TypeError: Return value of PHPLogin\ProfileData::pullAllUserInfo() must be of the type array, boolean returned in C:\xampp\htdocs\nameapp\login\class\profiledata.php:68 Stack trace: #0 C:\xampp\htdocs\nameapp\user\profileedit.php(6): PHPLogin\ProfileData:: pullAllUserInfo('12343736875b214...') #1 https://github.com/therecluse26/PHP-Login/issues/1 {main} thrown in C:\xampp\htdocs\nameapp\login\class\profiledata.php on line 68
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/therecluse26/PHP-Login/issues/198, or mute the thread https://github.com/notifications/unsubscribe-auth/AH24AjjZUK3s5NAK4QV1vPuI31Mx4t7rks5t8UI-gaJpZM4UmjwO .
Right after making the first login as administrator
Could you give me some more detail about what OS you're running and version of PHP?
PHP Version 7.2.5
I've already tried it in two different places !
I do not know if I'm doing something wrong
Windows 10
Okay, I believe I got this sorted out. Try running a git pull
and reload the page and you should be golden (fingers crossed)
Okay, it works. Another error is when I try to register the clients.
I'm not sure how I missed that... got that taken care of as well, so go ahead and do another pull. Thanks for pointing these out! This helps a lot
@Miheix I think some of these issues were due to me not fully testing enough on various versions of PHP (I'm the primary developer doing it in my spare time, so it's tough to catch everything) and on all major systems, so I'm sorry about that. I'm going to comb through and see if I can track down similar little bugs today, and I'll let you know if I find anything.
@Miheix I found and scrubbed out a few more similar return type bugs, so if you wanna do another git pull, it should all be in order now.
Fatal error: Uncaught TypeError: Return value of PHPLogin\ProfileData::pullAllUserInfo() must be of the type array, boolean returned in C:\xampp\htdocs\nameapp\login\class\profiledata.php:68 Stack trace: #0 C:\xampp\htdocs\nameapp\user\profileedit.php(6): PHPLogin\ProfileData::pullAllUserInfo('12343736875b214...') #1 {main} thrown in C:\xampp\htdocs\nameapp\login\class\profiledata.php on line 68