Fixing a php error where the error code defines were not surrounded by single quotes