kasus: muncul warning di halaman login wp-admin:
Warning: mysql_connect() [function.mysql-connect]: Headers and client library minor version mismatch. Headers:50542 Library:50626 in /home/******/public_html/wp-includes/wp-db.php on line 1515

Warning: Cannot modify header information – headers already sent by (output started at /home/******/public_html/wp-includes/wp-db.php:1515) in /home/*******/public_html/wp-includes/pluggable.php on line 1171

Solusi
Edit /public_html/wp-includes/wp-db.php baris 1515, tambahkan @ mysql seperti code di bawah ini

$this->dbh = @mysql_connect( $this->dbhost, $this->dbuser, $this->dbpassword, $new_link, $client_flags );

About The Author

Leave a Reply

Your email address will not be published. Required fields are marked *