[OJS 3.2.1.4] JATSParser plugin not work

Hi,

Install the JatsParser plugin inside my OJS and I’m using the Manuscript theme, but it doesn’t show the side menu with the article items. It also generates the galley proof PDF, but it is empty.

image

Hi @diegomejia07,

What version of the JATS Parser Plugin are you using?
Are there any relevant errors in the PHP log?

Hi @Vitaliy,

The version I am using is 2.1.9-1.

The plugin was working and configured normally, like this in the documentation.

image

No errors are recorded in the logs.

As I mentioned, I installed the JatsParser plugin inside my OJS and I’m using the Manuscript theme, but it doesn’t show the side menu with the article elements. It also generates the galley proof PDF, but it is empty.

When I try to change the XML file in the production item, when choosing it in Create full text, it shows me the following error:

image

And the error log show me:

Slim Application Error:\nType: TypeError\nMessage: Argument 1 passed to JatsParserPlugin::getFullTextFromJats() must be an instance of SubmissionFile, null given, called in /plugins/generic/jatsParser/JatsParserPlugin.inc.php on line 407\nFile: /plugins/generic/jatsParser/JatsParserPlugin.inc.php\nLine: 644\nTrace: #0 /plugins/generic/jatsParser/JatsParserPlugin.inc.php(407): JatsParserPlugin->getFullTextFromJats(NULL)\n#1 /lib/pkp/classes/plugins/HookRegistry.inc.php(107): JatsParserPlugin->editPublicationFullText('Publication::ed...', Array)\n#2 /lib/pkp/classes/services/PKPPublicationService.inc.php(524): .....