OJS 3 CrossRef Xml download or send erro

Hi @asmecher, me again, I try to use DOI, using CrossRefExportPlugin I had this error:

[Tue Feb 19 19:47:12.628449 2019] [:error] [pid 7996] [client] PHP Fatal error: Call to a member function setDeployment() on null in /var/www/html/revistas/classes/plugins/PubObjectsExportPlugin.inc.php on line 347, referer: /index.php/rbagroecologia/management/importexport/plugin/CrossRefExportPlugin

looking the code, the $exporFilters has " , " as value.

function exportXML($objects, $filter, $context) { $xml = ''; $filterDao = DAORegistry::getDAO('FilterDAO'); $exportFilters = $filterDao->getObjectsByGroup($filter); assert(count($exportFilters) == 1); // Assert only a single serialization filter $exportFilter = array_shift($exportFilters); $exportDeployment = $this->_instantiateExportDeployment($context); $exportFilter->setDeployment($exportDeployment); libxml_use_internal_errors(true);
DOI settings it’s ok, you have a tip to me?