Fatal error: Call to undefined function mysqli_connect_error()
The reason is the mysqli.dll is disabled in php.ini file.
Open the phpinfo and find the configuration file
Edit the file and find the following line
Remove the comment. And then restart Apache server. Check the phpinfo again and find mysqli support
The error will not occur again.