A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: familia/familia.php

Line Number: 89

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: familia/familia.php

Line Number: 136

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: familia/familia.php

Line Number: 149

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: familia/familia.php

Line Number: 150

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: familia/familia.php

Line Number: 151

Database Error

A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') IS NULL AND `co`.`mostrar` = 0 AND `a`.`precio` <= '347.1300048828125' AND `i`' at line 8

SELECT DISTINCT `a`.`idArticulo`, `a`.`nombre`, `a`.`descripcion`, `a`.`idTipoArticulo`, `a`.`precio`, `a`.`precioCoste`, `a`.`precioPvp`, `a`.`existencias`, `a`.`idProveedor`, `an`.`novedad`, `a`.`modelo`, `a`.`tamanio`, `ap`.`peso`, `a`.`color`, `t`.`idMenu`, `a`.`url`, `i`.`rutaImagen` imagen, `t`.`pesoFamilia` FROM (`articulo` a) LEFT JOIN `color` co ON `co`.`original` = `a`.`color` LEFT JOIN `imagen` i ON `i`.`idArticulo`=`a`.`idArticulo` LEFT JOIN `articulo_novedad` an ON `an`.`idArticulo`=`a`.`idArticulo` LEFT JOIN `articulo_peso` ap ON `ap`.`idArticulo`=`a`.`idArticulo` JOIN `tipoarticulo` t ON `t`.`idTipoArticulo`=`a`.`idTipoArticulo` WHERE () IS NULL AND `co`.`mostrar` = 0 AND `a`.`precio` <= '347.1300048828125' AND `i`.`orden` = 1 AND `t`.`idMenu` != 0 ORDER BY `a`.`existencias` ASC, `a`.`tamanio` DESC, `a`.`precio` DESC