OJS 3: New Submission hangs


I upgraded OJS from to 3.0.2, everything worked fine.
I’d like to have some more metadata fields, so I searched the forum and found the (unfinished) Custom Metadata Plugin.
I installed this and after that OpenAIRE, to try it out.
Now when I click New Submission, OJS hangs. The error log says:

PHP Warning: Invalid argument supplied for foreach() in …/lib/pkp/classes/submission/form/PKPSubmissionSubmitStep1Form.inc.php
on line 36, referer: http://…/submission/wizard

I deleted the plugins, but is has no effect.
Can anyone help me?



The error you are getting is related to an empty submission checklist. That error is resolved here: [OJS] OJS3.0.2. empty submission checklist results to PHP warnings · Issue #2331 · pkp/pkp-lib · GitHub

The custom metadata plugin is just a concept and I have not had time to test it that much.

However, both the customMetadata plugin and the OpenAIRE plugin are using hooks in PKPSubmissionSubmitStep3Form so it is unlikely that they are causing any trouble in step 1?

Hi @habib,

The OpenAIRE plugin has not been rewritten yet for OJS 3.x, so it won’t work. I’d suggest disabling it for now.

Alec Smecher
Public Knowledge Project Team

Hi @ajnyga,

it solved my problem, thank you very much.