An uncaught Exception was encountered

Type: Error

Message: Call to a member function real_escape_string() on bool

Filename: /var/www/nextiendas/system/database/drivers/mysqli/mysqli_driver.php

Line Number: 393

Backtrace:

File: /var/www/nextiendas/application/core/MY_Controller.php
Line: 40
Function: where

File: /var/www/nextiendas/application/controllers/Sudaca_errores.php
Line: 6
Function: __construct

File: /var/www/nextiendas/index.php
Line: 293
Function: require_once