Fix PhpWrapper log object.