CI4: class not found error |
Generally with namespacing etc and correct location of your models , declaring in controller something like:
Code: use \App\Models\UsersModel; code works so that you only have to do something along the lines of : Code: $handleName = new UsersModel(); |
Messages In This Thread |
CI4: class not found error - by Ahmed Haroon - 04-07-2022, 12:50 AM
RE: CI4: class not found error - by captain-sensible - 04-07-2022, 01:50 AM
RE: CI4: class not found error - by Ahmed Haroon - 04-07-2022, 04:42 AM
|