Ghalibra.000webhostapp.com is currently unable to handle this request

hi, I am new to this website, I just uploaded my PHP website here that I learned from a tutorial on youtube. when I try to access my website https://ghalibra.000webhostapp.com/ it shows this error This page isn’t workingghalibra.000webhostapp.com is currently unable to handle this request. I am not sure why am I getting this error. also, the PHP version that I used to develop my website is 7.3.7. and in the 000webhost setting, the latest available PHP version is 7.2. so could this difference of versions caused this problem? thanks.

If the above doesn’t solve it simply delete the .htaccess file altogether.
Or create a fresh one with the line of code above in it instead.

thanks, now it show the error. but again I am not sure why is it trowing this error because it works fine on my localhost, this is the error:
Fatal error: Uncaught Error: Call to a member function fetch_all() on boolean in /storage/ssd3/684/12771684/public_html/app/database/db.php:58 Stack trace: #0 /storage/ssd3/684/12771684/public_html/app/database/db.php(178): selectAll(‘article_all_det…’, Array) #1 /storage/ssd3/684/12771684/public_html/index.php(3): include(’/storage/ssd3/6…’) #2 {main} thrown in /storage/ssd3/684/12771684/public_html/app/database/db.php on line 58

Maybe need to search around for an answer I think.

Or compare the PHP/MYSQL setup between platforms to see where you are going wrong or use alternative hosting.

could the php version difference causes this problem? php version which my website developed on is 7.3.7 but 000webhost’s php version is 7.2

Maybe it just depends what dependencies is required.