GAIAEH-262 $params->pid error