Assuming the oil is coming from the filter again...it likely simply backed off the screw on fitting which can happen and is a mess when it does!
Suggest you double check your filter number again:
Yanmar part number 129150-35152 replacement Oil Filter. Old part numbers: 129150-35150 and 129150-35151.
Other than that...just reinstall a new one, lubricate the rubber gasket then screw it on by hand pretty tight but not as tight as you could make it. If this continues to happen I would suspect some deformation in the engine seat for the filter and you might be better off getting a remote oil filter ket for the engine from your Yanmar Dealer (check mackboring.com). good luck.