Skip to content

FATAL ERROR on import: Call to a member function setDeployment() on null #28

@bolelligallevi

Description

@bolelligallevi

Hi, we obtained a working export after having solved problems in this issue
We are trying to import but the process stops with a FATAL ERROR.
We tried successfully to export and import an issue with the native XML import/export, no problem, it works.
The fullJournalTransfer processing gives a bunch of warnings, and then the error Call to a member function setDeployment() on null
We launched the following command from the document root of our OJS:
php tools/importExport.php FullJournalImportExportPlugin import ../digitcult/dc-export.gz galimberti > log.txt 2>&1
Here is the summary of the log of the command:

Importing journal...
Importing users...
PHP Warning:  Undefined variable $userId in /var/www/html/ojstest/lib/pkp/plugins/importexport/users/filter/UserXmlPKPUserFilter.inc.php on line 251
...
PHP Warning:  Undefined variable $userId in /var/www/html/ojstest/lib/pkp/plugins/importexport/users/filter/UserXmlPKPUserFilter.inc.php on line 251
Importing sections...
Exception: Filter output validation failed, expected "lib.pkp.classes.reviewForm.ReviewForm", but found "array" in /var/www/html/ojstest/lib/pkp/classes/filter/Filter.inc.php:459
Stack trace:
#0 /var/www/html/ojstest/plugins/importexport/fullJournalTransfer/filter/import/NativeXmlJournalFilter.inc.php(387): Filter->execute(Object(DOMDocument))...
Importing issues...
PHP Fatal error:  Uncaught Error: Call to a member function setDeployment() on null in /var/www/html/ojstest/plugins/importexport/native/filter/NativeXmlIssueFilter.inc.php:221
Stack trace:
#0 /var/www/html/ojstest/plugins/importexport/fullJournalTransfer/filter/import/NativeXmlExtendedIssueFilter.inc.php(136): NativeXmlIssueFilter->parseIssueGalley(Object(DOMElement), Object(Issue))

Could you please be so kind to address us to the cause of the problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions