Fixes to PHP Warn and Errors as reported in /v/log/apachc2/error.log