This article will discuss the workaround for your WordPress website if you encounter an issue similar to this one:

The error will begin with:
“Warning: Use of undefined constant WP_CONTENT_DIR – assumed ‘WP_CONTENT_DIR’ (this will throw an Error in a future version of PHP) in”
Followed by a location in your cPanel directory and then:
“Your PHP installation appears to be missing the MySQL extension, which WordPress requires.”