BUG Undefined var

Getting the curl error.