[OJS 3.1.2] PKP PN Plugin error - Failed Ajax request or invalid JSON returned [close]

Hi @diegomejia07,

You’ll need to modify the code a little bit to get information about the data error.

In lib/pkp/classes/xslt/XMLTypeDescription.inc.php, you’ll see the following around line 133:

if (!$xmlDom->schemaValidate($this->_validationSource)) return false;

Try changing this to…

if (!$xmlDom->schemaValidate($this->_validationSource)) {
    error_log('Export error: ' . print_r(libxml_get_errors(), true));
    return false;
}

Then trigger the error again by attempting to export the problem submission, and check your PHP error log for details.

Regards,
Alec Smecher
Public Knowledge Project Team