
Whenever you got this types of error go to your Route/web.php file and checkout your Controller class is mention there or not.

Next Go to PostController file and copy your controller class

Now go to Routes/web.php and class this class
use App\Http\Controllers\PostController;

php artisan serve
Now its working properly

Thanks.
Latest posts by rajeshkumar (see all)
- WordPress Error: Is its parent directory writable by the server - November 2, 2022
- PHP Error: Warning: mysqli::__construct(): (HY000/1044): Access denied for user - October 25, 2022
- WordPress Error: llegal mix of collations - October 14, 2022