Thanks requinix for your detailed reply.
I am 100% agree with your reply, i think i can't able to describe my problem properly, Basically i am learning php i have great knowledge about procedural PHP, now i am using "Udemy.com" tutorials to learn OOPS and work with Framework, so i am following my Udemy teacher what he is doing, and i think the tutor is doing perfect coding because when i run that coding on my hosting that works fine, so i am sharing my whole coding please check and tell me the solution, The only problem is that when i tried to access my index.php file the following error occurs.
My Project Path: C://xampp/htdocs/project-name
Project Coding:
1. /inc/autoload.php
2. /inc/config.php
3. /classes/Core.php
4. /classes/Url.php
5. /pages/index.php
6. /pages/error.php
6. index.php
Above are the codes for whole project when i run this i got following error, How can i resolve, Kindly Help.
Thanks