DECUPAS-129: Fix PHP notices regarding undefined variable promotions