Fix EZP-21332: use field name in warning msg instead of generating a php warning