09-15-2016, 04:44 PM
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
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