When i go to site/oai?verb=ListRecords&metadataPrefix=jats i get This page isn’t working and server logs show:
error : PHP Fatal error: Uncaught Error: Call to a member function insertBefore() on null in /storage/www/ejournals/ojsmjm/plugins/oaiMetadataFormats/oaiJats/OAIMetadataFormat_JATS.inc.php:138\nStack trace:\n#0 /storage/www/ejournals/ojsmjm/plugins/oaiMetadataFormats/oaiJats/OAIMetadataFormat_JATS.inc.php(155): OAIMetadataFormat_JATS->_addChildInOrder(NULL, Object(DOMElement))\n#1 /storage/www/ejournals/ojsmjm/plugins/oaiMetadataFormats/oaiJats/OAIMetadataFormat_JATS.inc.php(105): OAIMetadataFormat_JATS->_mungeMetadata(Object(DOMDocument), Object(Journal), Object(Submission), Object(Section), Object(Issue))\n#2 /storage/www/ejournals/ojsmjm/lib/pkp/classes/oai/OAI.inc.php(788): OAIMetadataFormat_JATS->toXml(Object(OAIRecord))\n#3 /storage/www/ejournals/ojsmjm/lib/pkp/classes/oai/OAI.inc.php(531): OAI->formatMetadata(‘jats’, Object(OAIRecord))\n#4 /storage/www/ejournals/ojsmjm/lib/pkp/classes/oai/OAI.inc.php(85): OAI->ListRecords()\n#5 /storage/www/ejournals/ojsmjm/pages/oai/OAIHandler.inc.php(39): OAI->execute()\n#6 /storage/www/ejournals/oj in /storage/www/ejournals/ojsmjm/plugins/oaiMetadataFormats/oaiJats/OAIMetadataFormat_JATS.inc.php on line 138
However when i go to this one : site/oai?verb=ListRecords&metadataPrefix=oai_dc, it shows the records properly.
I have enabled the OAI AND JATS METADATA FORMAT. when i disable JATS METADATA format inside OAI section. it shows this for site/oai?verb=ListRecords&metadataPrefix=jats
The requested metadataPrefix is not supported by this repository
then when i enable JATS METADATA FORMAT it again why doesn’t it work? I even updated this : OAI JATS Plugin to V1.0.4.7 but still it doesn’t work.
Version - OJS 3.3.0.13