My routes are returning http error 500. They were working normal and now they do not work anymore
You haven’t provided your 000webhostapp URL?
Yes, I put it, my friend.
Where?
Sorry, I had misunderstood the question.
The url where the routes meet, is this one.
http://minhazoras.000webhostapp.com/admin/public/
http://minhazoras.000webhostapp.com/admin/public/user/session
will return
I’ve enabled errors to show.
/admin/public
**Fatal error** : Uncaught Error: Class 'Slim\Http\Body' not found in /storage/ssd1/288/6754288/public_html/admin/vendor/slim/slim/Slim/Http/Response.php:141 Stack trace: #0 /storage/ssd1/288/6754288/public_html/admin/vendor/slim/slim/Slim/DefaultServicesProvider.php(73): Slim\Http\Response->__construct(200, Object(Slim\Http\Headers)) #1 /storage/ssd1/288/6754288/public_html/admin/vendor/pimple/pimple/src/Pimple/Container.php(118): Slim\DefaultServicesProvider->Slim\{closure}(Object(Slim\Container)) #2 /storage/ssd1/288/6754288/public_html/admin/vendor/slim/slim/Slim/Container.php(123): Pimple\Container->offsetGet('response') #3 /storage/ssd1/288/6754288/public_html/admin/vendor/slim/slim/Slim/App.php(309): Slim\Container->get('response') #4 /storage/ssd1/288/6754288/public_html/admin/public/index.php(216): Slim\App->run() #5 {main} thrown in **/storage/ssd1/288/6754288/public_html/admin/vendor/slim/slim/Slim/Http/Response.php** on line **141**
Oops, that had not turned up yet. Since yesterday I was getting the 500 error.
**Fatal error** : Class 'Pimple\Container' not found in **/storage/ssd1/288/6754288/public_html/admin/vendor/slim/slim/Slim/Container.php** on line **45**
Sorted out. I uploaded the project again and it worked. Thank you!
1 Like