Error Codeigniter 4 when access public folder – We seem to have hit a snag. Please try again later



How to fix issue/error in codeigniter 4.

I get this error when trying to open on browser:
Whoops! We seem to have hit a snag. Please try again later

this video will help you ho to fix the problem

source