API: Removed 500 error on local machine (PHP version issue)