cssmgr: fix php notices
mpdf: fix most notices (missing var/offsets)