Category: Errors

How To: Fix Uncaught Error: Call to undefined function mysql_connect() in /wp-includes/wp-db.php

How To: Fix Uncaught Error: Call to undefined function mysql_connect() in /wp-includes/wp-db.php

If you see something like this error in your logs it means your WordPress site is calling a deprecated function: According to the PHP Manual: WarningThis extension was deprecated in PHP 5.5.0, and it was removed in PHP 7.0.0. Instead, the MySQLi or PDO_MySQL extension should be used. See also MySQL: choosing an API guide and related FAQ for more information. Alternatives to […]

Continue Reading