We are having an issue with our OJS New Submissions page after upgrading to 3.0.2. The Submissions page show up blank.
I checked my PHP log and it shows:
[Wed Aug 09 10:55:25 2017] [error] [client 10.25.8.2] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/xxx/lib/pkp/classes/submission/form/PKPSubmissionSubmitStep1Form.inc.php on line 133, referer:http://xxx/index.php/jms/submission/wizard
Thanks for your help
There are two things happening here:
- Your list of submission locales may be unset/empty. Check your journal’s language settings page to ensure that at least one language is checked under the Submissions column.
- Errors and warnings should not be directed to the browser. The warning message arising from the first point is being sent to the browser in what’s supposed to be a JSON message, resulting in a parsing error. Warnings should not be sent to the browser in a production environment. This will be configured in your PHP settings.
Public Knowledge Project Team
thanks much Alec, that solved my problem.!!