Ha ocurrido un error, por favor, comuniquelo en este momento

Query: SELECT * FROM categorias WHERE id=
Query Num: 5
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 6
Mysql Error NO: 1064
Industrial Controles

Ha ocurrido un error, por favor, comuniquelo en este momento

Query: SELECT * FROM categorias WHERE padre= ORDER BY orden
Query Num: 19
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 'ORDER BY orden' at line 7
Mysql Error NO: 1064

Ha ocurrido un error, por favor, comuniquelo en este momento

Query: SELECT * FROM series WHERE estado="1" and id in (Select id_ser from series_categorias Where id_cat=) ORDER BY orden
Query Num: 20
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 ') ORDER BY orden' at line 6
Mysql Error NO: 1064

No se encontraron series para esta categoría/marca.