MYSQL-ERROR:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 5
SQL:
SELECT D.id,DU.id_usuario,DU.empresa,DU.admin,DU.persona_contacto,DU.telefono,DU.fax,DU.email,DU.ciudad,DU.provincia,DU.direccion,D.incremento,D.tipo_incremento, D.label_albaran_text
FROM distribuidor D
INNER JOIN (SELECT * FROM distribuidor_usuario UNION SELECT * FROM distribuidor_usuario_posible) DU ON DU.id_distribuidor=D.id
INNER JOIN distribuidor_login DL ON DL.id_usuario=DU.id_usuario
WHERE DL.tiempo=
Fatal error: Uncaught Error: Call to a member function close() on bool in /home/servidro/public_html/vendor/s24h/core/class/mysqli.class.php:63
Stack trace:
#0 /home/servidro/public_html/actions/datos_distribuidor.action.php(177): DBMysql->query_row('\n\t\tSELECT D.id,...')
#1 /home/servidro/public_html/actions/datos_distribuidor.action.php(14): load_configuracion(Object(DBMysql), Object(template), false)
#2 /home/servidro/public_html/index.php(67): run_action(Object(DBMysql), Object(DBMysql), NULL, Array)
#3 {main}
thrown in /home/servidro/public_html/vendor/s24h/core/class/mysqli.class.php on line 63