“No Data Received” error in Chrome every time i try to update the theme functions file

I contacted GoDaddy support and they advised me to login to the hosting manager and make the edits to the functions.php file from there. That way it worked !

Though i still couldn’t figure out why i was getting that problem when i tried to edit it from within my WordPress dashboard, but anyways the problem is solved now.

Thank you @ialocin and @s_ha_dum for your help !