add error_reporting=E_ALL to build.sh upgrade_db.php and catching warnings in patch_417

Ghislain Loas requested to merge hotline into master

Merge request reports