Esta es la linea 50.
Código PHP:
Ver originalif (!$mysqli->query("SET @msg = ''") || !$mysqli->query("CALL verID_producto($cad_producto,@msg)")) {
Y este es el error:
Catchable fatal error: Object of class mysqli could not by converted to string ( ruta de archivo) on line 50