Fatal error: Call to undefined function getContentType() in /var/www/html/api/portlets.php on line 155