udpate of functions.php in findByType, $row[1] must be different of "Title" and not of "Type"