OJS 3.1.2 export issue error

  • Application Version - OJS 3.1.2
    While I try to export issue using nativeXmlPlugin, a black page shown without any error or warning.

  • Error log messages are given below:

[22-Jul-2019 11:17:07 UTC] PHP Fatal error: Uncaught Error: Call to a member function getUsername() on null in /home/user/public_html/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php:108
Stack trace:
#0 /home/user/public_html/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php(54): SubmissionFileNativeXmlFilter->createSubmissionFileNode(Object(DOMDocument), Object(SubmissionFile))
#1 /home/user/public_html/lib/pkp/classes/filter/Filter.inc.php(449): SubmissionFileNativeXmlFilter->process(Object(SubmissionFile))
#2 /home/user/public_html/lib/pkp/plugins/importexport/native/filter/SubmissionNativeXmlFilter.inc.php(292): Filter->execute(Object(SubmissionFile))
#3 /home/user/public_html/lib/pkp/plugins/importexport/native/filter/SubmissionNativeXmlFilter.inc.php(107): SubmissionNativeXmlFilter->addFiles(Object(DOMDocument), Object(DOMElement), Object(PublishedArticle))
#4 /home/user/public_html/plugins/importexport/native/filter/ArticleNativeXmlFilt in /home/oxhl82qbkwyo/public_html/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php on line 108

1 Like

Hi @navmalik,

How did you solve the error?

Hi!

I have the same error in OJS 3.1.2-1

Uncaught Error: Call to a member function getUsername() on null in /lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php:108\nStack trace:\n#0 /lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php(54): SubmissionFileNativeXmlFilter->createSubmissionFileNode(Object(DOMDocument), Object(SubmissionFile))\n#1 /lib/pkp/classes/filter/Filter.inc.php(449): SubmissionFileNativeXmlFilter->process(Object(SubmissionFile))\n#2 /lib/pkp/plugins/importexport/native/filter/SubmissionNativeXmlFilter.inc.php(292): Filter->execute(Object(SubmissionFile))\n#3 /lib/pkp/plugins/importexport/native/filter/SubmissionNativeXmlFilter.inc.php(107): SubmissionNativeXmlFilter->addFiles(Object(DOMDocument), Object(DOMElement), Object(Article))\n#4 /plugins/importex in /lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php on line 108,