Hello all !
I’m trying to export issues from OJS 3.3.0.8, using the NativeImportExportPlugin and the CLI. This installation has a single journal configured with the English and Italian languages. Soon after I run the command I have the following kind of warnings:
PHP Warning:
DOMElement::setAttribute() expects parameter 2 to be string, array given
in /lib/pkp/plugins/importexport/native/filter/PKPPublicationNativeXmlFilter.inc.php
on line 96
I’ve checked the line and what I see is that OJS is trying to pass this:
Array
(
[it_IT] => Array
(
[0] => en
)
)
to the method ‘setAttribute’. Even if the warning is not blocking, when I import the resulting file into another OJS3 of the same version, the user interface can’t show the data in all the configured languages (italian is missed).
I’m looking for help to understand if the warning and the missing lanugage are related, if there is some problems into the DB of the first OJS3 or other.
Thanks you very much!