Warning: Declaration of Model::connect() should be compatible with mysqli::connect($host = NULL, $user = NULL, $password = NULL, $database = NULL, $port = NULL, $socket = NULL) in /var/www/vhosts/madenjo.com/httpdocs/system/model.php on line 0

Warning: Declaration of Model::query($query) should be compatible with mysqli::query($query, $resultmode = NULL) in /var/www/vhosts/madenjo.com/httpdocs/system/model.php on line 0

Fatal error: Uncaught Error: Call to a member function fetch_assoc() on boolean in /var/www/vhosts/madenjo.com/httpdocs/application/models/ModelCondiciones.php:15 Stack trace: #0 /var/www/vhosts/madenjo.com/httpdocs/application/controllers/condiciones.php(9): ModelCondiciones->getMenuItems() #1 /var/www/vhosts/madenjo.com/httpdocs/system/core.php(61): Condiciones->index() #2 /var/www/vhosts/madenjo.com/httpdocs/index.php(50): core() #3 {main} thrown in /var/www/vhosts/madenjo.com/httpdocs/application/models/ModelCondiciones.php on line 15