Hi,
I'm trying to patch up db cache reloaded fix to work on php7, and with the latest WordPress, but I'm having a small issue. So far, the issues I've encountered (and fixed) have been relatively minor (ancient) deprications that were removed in php7. However, now that I've changed these, I'm having a problem where php claims that wp-db.php is calling mysql_connect, which from all that I can tell should not be happening, as 1. without db cache reloaded fix, mysqli_connect works, 2. mysql_connect is not available, and 3. I've changed all instances of mysql_* to mysqli_*. The error I get is below:
2016/05/08 06:04:15 [error] 9496#9496: *34288 FastCGI sent in stderr: "PHP message: PHP Fatal error:Uncaught Error: Call to undefined function mysql_connect()
in /storage/websites/test/public_html/wp-includes/wp-db.php:1522
Stack trace:
#0 /storage/websites/test/public_html/wp-content/plugins/db-cache-reloaded-fix/db-module.php(206): wpdb->db_connect()
#1 /storage/websites/test/public_html/wp-content/db.php(96): dbrc_wpdb->__construct('testblog', 'LiLMikERocks2', 'testblog', 'localhost')
#2 /storage/websites/test/public_html/wp-includes/load.php(366): require_once('/storage/websit...')
#3 /storage/websites/test/public_html/wp-settings.php(88): require_wp_db()
#4 /storage/websites/test/public_html/wp-config.php(90): require_once('/storage/websit...')
#5 /storage/websites/test/public_html/wp-load.php(37): require_once('/storage/websit...')
#6 /storage/websites/test/public_html/wp-admin/admin-ajax.php(22): require_once('/storage/websit...')
#7 {main}
thrown in /storage/websites/test/public_html/wp-includes/wp-db.php on line 1522" while reading response header from upstream, client: 68.106.163.191,
server: mywebsite, request: "POST /wp-admin/admin-ajax.php HTTP/1.1", upstream: "
fastcgi://127.0.0.1:9000", host: "mywebsite", referrer: "http://mywebsite/wp-admin/options-general.php?page=db-cache-reloaded-fix%2Fdb-cache-reloaded.php"
Thanks for any help,
-Michael.