The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Another delete user bug
#1
Hey developers,

After the admin deletes a user from admin_users.php, there is an error on the page saying:


Notice: Undefined variable: validation in D:\wwwroot\SET_Apps\users\admin_users.php on line 176

Fatal error: Uncaught Error: Call to a member function errors() on null in D:\wwwroot\SET_Apps\users\admin_users.php:176 Stack trace: #0 {main} thrown in D:\wwwroot\SET_Apps\users\admin_users.php on line 176

I looked into admin_users.php and changed line 175 from this:

if (!$form_valid && Input::exists()){

to:

if (!$form_valid && Input::exists() && isset($validation)){

Now the error is gone. Please let me know if this is a bad fix.

Thanks
Angel
  Reply


Messages In This Thread
Another delete user bug - by Angel - 09-15-2016, 04:44 PM
Another delete user bug - by Angel - 09-15-2016, 04:50 PM
Another delete user bug - by brian - 09-15-2016, 05:00 PM
Another delete user bug - by Angel - 09-15-2016, 05:02 PM
Another delete user bug - by mudmin - 09-15-2016, 11:57 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)