I am having problem login in to my database in my local xampp server

Fatal error: Uncaught Error: Call to undefined method DB::worong_attempts_count() in C:\xampp\htdocs\login.php:136 Stack trace: #0 {main} thrown in C:\xampp\htdocs\login.php on line 136

I guess you have a method called wrong_attempts_count in your PHP in one place, then you are trying to call worong_attempts_count somewhere else, which won’t work.

It’s telling you what is wrong in the error message, you are trying to call a method that has no definition on line 136 of login.php