Correcting the cause of many PHP notices and warnings clogging up my log files.
Merge branch 'develop' of github.com:meedan/meedan-checkdesk into develop