Fix #1583 - fix PHP notices + add display output of PHP notices to devel feature