Fix warning thrown by error with add_body_classes