Fatal error on importexport plugin

Hi there!
I recently upgraded to 3.2 version and now I’m trying to export issues using native XML plugin but getting the HTTP ERROR 500 on some of them.

This is the error log:

PHP Fatal error:
Uncaught TypeError: Argument 1 passed to DOMDocument::importNode() must be an instance of DOMNode, null given in /var/www/html/lib/pkp/plugins/importexport/native/filter/PKPPublicationNativeXmlFilter.inc.php:253\nStack trace:\n#0 /var/www/html/lib/pkp/plugins/importexport/native/filter/PKPPublicationNativeXmlFilter.inc.php(253): DOMDocument->importNode(NULL, true)\n#1 /var/www/html/lib/pkp/plugins/importexport/native/filter/PKPPublicationNativeXmlFilter.inc.php(98): PKPPublicationNativeXmlFilter->addRepresentations(Object(DOMDocument), Object(DOMElement), Object(Publication))\n#2 /var/www/html/plugins/importexport/native/filter/PublicationNativeXmlFilter.inc.php(54): PKPPublicationNativeXmlFilter->createEntityNode(Object(DOMDocument), Object(Publication))\n#3 /var/www/html/lib/pkp/plugins/importexport/native/filter/PKPPublicationNativeXmlFilter.inc.php(52): PublicationNativeXmlFilter->createEntityNode(Object(DOMDocument), Object(Publication))\n#4 /var/www/html/lib/pkp/classes/filter/Filter.inc.php(449): PKPPublicat in /var/www/html/lib/pkp/plugins/importexport/native/filter/PKPPublicationNativeXmlFilter.inc.php on line 253, referer: https://incubadora-docker.sites.ufsc.br/index.php/saudeetransformacao/management/importexport/plugin/NativeImportExportPlugin

PHP Warning:
DOMElement::setAttribute() expects parameter 2 to be string, array given in /var/www/html/lib/pkp/plugins/importexport/native/filter/PKPPublicationNativeXmlFilter.inc.php on line 89, referer: .......management/importexport/plugin/NativeImportExportPlugin

PHP Notice:

Trying to get property 'documentElement' of non-object in /var/www/html/lib/pkp/plugins/importexport/native/filter/PKPPublicationNativeXmlFilter.inc.php on line 253, referer: ........ /management/importexport/plugin/NativeImportExportPlugin

Any fix for this?

Hi @melise

Given you have recently it is possible that some info on DB might need be normalized.
Have you tried to unpublish and publish the issue you want to export?
This is an approach that solved a similar issue another user has posted on this thread:

Best,
Israel