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)
- Sonarqube: java.lang.IllegalStateException: Error status returned by url 401 - September 9, 2024
- SonarQube Error: Error status returned by url [https://api.sonarcloud.io - September 5, 2024
- AWS SES Errors and Solution - September 2, 2024