Remove php notices about undefined constants (LEV-99)