Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author AITpro

    (@aitpro)

    The MySQLi Extension Function is probably disabled on your Server for some odd reason. This code has been added to BPS .49.3. If you would like to add this code now…

    Edit the options.php file: /wp-content/plugins/bulletproof-security/admin/options.php on line 2253
    and replace this code…

    echo __('MySQL Client Version', 'bulletproof-security').': <strong>'.mysqli_get_client_info().'</strong><br>';

    …with this code…

    function bps_mysqli_get_client_info() {
    	if ( function_exists('mysqli_get_client_info') ) {
    		return mysqli_get_client_info();
    	}
    }
    echo __('MySQL Client Version', 'bulletproof-security').': <strong>'.bps_mysqli_get_client_info().'</strong><br>';

    Or you can just comment this line of code out by adding 2 forward slashes in front of echo as shown below.

    //echo __('MySQL Client Version', 'bulletproof-security').': <strong>'.mysqli_get_client_info().'</strong><br>';

    Thread Starter ise-dvp

    (@ise-dvp)

    ok…

    I added 2 forward slashes

    But when the BPS will be updated again need to put a slashes?

    Plugin Author AITpro

    (@aitpro)

    We have already added the code posted above in BPS .49.3 to check if the mysqli_get_client_info() function is available on a Host/Server/Website. If the function is not available or disabled then nothing will be displayed and a php error will NOT occur. If the function is available/enabled then you will see the MySQL Client Version, which just displays additional/extra information about MySQL – not really important in other words. 😉

    Thread Starter ise-dvp

    (@ise-dvp)

    ok… then resolved ?

    thanks

    Plugin Author AITpro

    (@aitpro)

    Yes, please resolve this Thread. Workaround for now with new code already added in BPS .49.3 to fix this issue – pending release of .49.3. Thanks.

    Thread Starter ise-dvp

    (@ise-dvp)

    gracias 🙂

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Error: mysqli_get_client_info’ is closed to new replies.