Forum Replies Created

Viewing 1 replies (of 1 total)
  • Got exactly the same problem few days after upgrading to PHP 8
    wp-login.php shows:
    “`There has been a critical error on this website.
    Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/ndoajyxx/phil.cyou/wp-includes/wp-db.php:1685 Stack trace: #0`

    I could not reach the WP Dashboard, even the WP RESET Emergency login did not work!!!

    MY SOLUTION:
    in my host provider (WebHostFace.com)
    in CPANEL=> PHP SELECTOR => EXTENSIONS
    I activated (I checked the boxes):
    nd_mysqli
    nd_pdo_mysql

    Check PHP VERSION 8! because for each version of PHP, the extensions are different!
    and then IT WORKS, websites came back!!! Not even needed to refresh the tab.
    Do not ask me why. I just read something about mysqli in the thread above and I searched and tried
    26 June 2021
    Michael Web Taiwan

Viewing 1 replies (of 1 total)