'get_Magic_Quotes_Gpc() Is Deprecated' Error Makes Our Site Unusable

Edit: Contacted our hosting site and realized they upgraded our php version automatically to one that is not compatible with our old cs-cart version. I guess I'll have to go through the arduous process of upgrading our site. Don't know how to delete this post.

This is the exact error message I'm getting:

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/customer/www/mywebsite.com/public_html/app/Tygh/Bootstrap.php on line 201

I tried commenting out the function in question:

if (get_magic_quotes_gpc()) {
   define('QUOTES_ENABLED', true);

...but that just makes the error message disappear at the top.

Still unable to login to our site or admin area, and customers can't order.

I don't know what CSC version you're using but you can add the following to htaccess to use the compatible php version you need (as long as it's still installed on server).

AddHandler application/x-httpd-php7 .php