A Tutorial guide on how you can fix the Error when You Update PHP version or Installing new WordPress from your Server.
"Warning: Use of undefined constant WP_CONTENT_DIR - assumed 'WP_CONTENT_DIR' (this will throw an Error in a future version of PHP) in /home1/tahirk/staging.savingthepoor.com/wp-includes/load.php on line 115
Your PHP installation appears to be missing the MySQL extension which is required by WordPress."
You can also see a reference of Hostgator guide here:
If you previously used PHP Selector to change your PHP version, there may be a handler in your .htaccess file that needs to be removed. For assistance, please follow the instructions at https://www.hostgator.com/help/article/php-configuration-plugin, or contact our support team. 1 (866) 964-2867 | helpchat.hostgator.com