My Controller cannot find my model. I keep getting an error. I thought the
auto loader was supposed to connect with my models automatically.
keep getting this error. I don't know what is wrong. Please Help me out
Fatal error: Class 'EmailSender' not found in
C:\xampp\htdocs\controllers\ContactController.php on line 15
No one can help you, when you don't share your code where the error occurs +
that model which can't be found. I can just guess that you didn't use namespace
of EmailSender in ContactController.
If you're using our Simple object-oriented CMS in PHP course, you can always
download the source code in the attachment below every article and find your
mistake.