php no longer breaks, but there is still an error