Fix PHP syntax errors for DEV environment