Warning: Undefined constant MYSQLI_OPT_INT_AND_FLOAT_NATIVE

LiteCart Fan
Lähettäjä United Kingdom
Jäsen alkaen heinäk. 2020

Hi all,

Just set up a new Lite cart install have have this error 

Warning: Undefined constant MYSQLI_OPT_INT_AND_FLOAT_NATIVE. Make sure you enabled the PHP extension mysqlnd which is the recommended driver since PHP 5.4 instead of libmysql. in ~/includes/library/lib_database.inc.php (Line 23)

But looking at the file lib_database.inc.php i can't make head or tales ?

Is there something i don't know about ?

This is what i'm seeing on line 23 

if (defined('MYSQLI_OPT_INT_AND_FLOAT_NATIVE')) {
          self::set_option(MYSQLI_OPT_INT_AND_FLOAT_NATIVE, 1, $link);
        } else {
          trigger_error('Undefined constant MYSQLI_OPT_INT_AND_FLOAT_NATIVE. Make sure you enabled the PHP extension mysqlnd which is the recommended driver since PHP 5.4 instead of libmysql.', E_USER_WARNING);
Sinä
This website uses no cookies and no third party tracking technology. We think we can do better than others and really think about your privacy.