The error I was getting was
function upload_jpg($_FILES, $var_name, $file_name, $img_width = 128, $dir = "upload/", $rename = '')

So I looked at the line this is what I got
function upload_jpg($_FILES, $var_name, $file_name, $img_width = 128, $dir = "upload/", $rename = '')

I edited the file to this and it's working

function upload_jpg( $var_name, $file_name, $img_width = 128, $dir = "upload/", $rename = '')

What does the $_FILES code do? by removing is there going to be issues in the future? Or will I be ok running the site without it? This is a fresh install so I wouldn't see and changed until I get to working on it so I wanted to see if I'm causing a problem.