3.1.2 submission log errors

Hi, just upgraded to 3.1.2 - ran into some problems during installation related to mysqli and upgraded PHP version from 5.6 to 7.1. Seems like installation completed OK, but in testing new submissions, I’m seeing this in the logs, and can’t seem to get passed step (3) of the submission (metadata), though my entries are saved and I can return to them, the submission is just marked incomplete:

[Sun Mar 17 02:15:18 2019] [error] [client ...] PHP Warning: Declaration of SubmissionSubmitStep3Form::fetch($request) should be compatible with PKPSubmissionSubmitStep3Form::fetch($request, $template = NULL, $display = false) in /home/someuser/press.someinstitution.org/ojs/classes/submission/form/SubmissionSubmitStep3Form.inc.php on line 19, referer: https://press.someinstitution.org/ojs/index.php/test/submission/wizard/3?submissionId=106
[Sun Mar 17 02:15:18 2019] [error] [client ...] PHP Warning: Declaration of SubmissionKeywordEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in /home/someuser/press.someinstitution.org/ojs/lib/pkp/classes/submission/SubmissionKeywordEntryDAO.inc.php on line 20, referer: https://press.someinstitution.org/ojs/index.php/test/submission/wizard/3?submissionId=106
[Sun Mar 17 02:15:18 2019] [error] [client ...] PHP Warning: Declaration of SubmissionAgencyEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in /home/someuser/press.someinstitution.org/ojs/lib/pkp/classes/submission/SubmissionAgencyEntryDAO.inc.php on line 44, referer: https://press.someinstitution.org/ojs/index.php/test/submission/wizard/3?submissionId=106
[Sun Mar 17 02:15:18 2019] [error] [client ...] PHP Warning: Declaration of SubmissionDisciplineEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in /home/someuser/press.someinstitution.org/ojs/lib/pkp/classes/submission/SubmissionDisciplineEntryDAO.inc.php on line 44, referer: https://press.someinstitution.org/ojs/index.php/test/submission/wizard/3?submissionId=106
[Sun Mar 17 02:15:18 2019] [error] [client ...] PHP Warning: Declaration of SubmissionLanguageEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in /home/someuser/press.someinstitution.org/ojs/lib/pkp/classes/submission/SubmissionLanguageEntryDAO.inc.php on line 46, referer: https://press.someinstitution.org/ojs/index.php/test/submission/wizard/3?submissionId=106
[Sun Mar 17 02:15:18 2019] [error] [client ...] PHP Warning: Declaration of SubmissionSubjectEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in /home/someuser/press.someinstitution.org/ojs/lib/pkp/classes/submission/SubmissionSubjectEntryDAO.inc.php on line 44, referer: https://press.someinstitution.org/ojs/index.php/test/submission/wizard/3?submissionId=106
[Sun Mar 17 02:15:18 2019] [error] [client ...] ojs2: DB Error: Table ‘ojsdb.submission_categories’ doesn’t exist, referer: https://press.someinstitution.org/ojs/index.php/test/submission/wizard/3?submissionId=106

What concerns me most is the last one - the DB error - which makes me think somehow my DB didn’t quite get fully updated after 3.1.2 - but clearly there’s other weird stuff going on that’s messing with our submission process. Troubleshooting advice is appreciated - is there a way to re-run the install or at least double-check to make sure any DB changes have been made successfully?

Thanks in advance!
-Lauren

Resolved - set installed to Off and re-ran the install through the browser, got a DB error message about duplicate entry but after resetting installed to On all appears to be well. So I think just a routine upgrade error rather than anything specific to 3.1.2.

Thanks!

I present the same error when trying to upload an article, nothing appears in the metadata section.

[Mon Jun 14 17:28:32.927572 2021] [php:error] [pid 2529] [client 127.0.0.1:42588] PHP Fatal error: Uncaught Error: Call to undefined function create_function() in /srv/http/ojs/lib/pkp/classes/submission/PKPSubmissionMetadataFormImplementation.inc.php:73\nStack trace:\n#0 /srv/http/ojs/classes/submission/SubmissionMetadataFormImplementation.inc.php(34): PKPSubmissionMetadataFormImplementation->addChecks()\n#1 /srv/http/ojs/lib/pkp/classes/submission/form/PKPSubmissionSubmitStep3Form.inc.php(34): SubmissionMetadataFormImplementation->addChecks()\n#2 /srv/http/ojs/classes/submission/form/SubmissionSubmitStep3Form.inc.php(27): PKPSubmissionSubmitStep3Form->__construct()\n#3 /srv/http/ojs/lib/pkp/pages/submission/PKPSubmissionHandler.inc.php(130): SubmissionSubmitStep3Form->__construct()\n#4 /srv/http/ojs/lib/pkp/classes/core/PKPRouter.inc.php(395): PKPSubmissionHandler->step()\n#5 /srv/http/ojs/lib/pkp/classes/core/PKPPageRouter.inc.php(246): PKPRouter->_authorizeInitializeAndCallRequest()\n#6 /srv/http/ojs/lib/pkp/classes/core/Dispatcher.inc.php(144): PKPPageRouter->route()\n#7 /srv/http/ojs/lib/pkp/classes/core/PKPApplication.inc.php(362): Dispatcher->dispatch()\n#8 /srv/http/ojs/index.php(68): PKPApplication->execute()\n#9 {main}\n thrown in /srv/http/ojs/lib/pkp/classes/submission/PKPSubmissionMetadataFormImplementation.inc.php on line 73, referer: http://localhost/ojs/index.php/prueba/submission/wizard/2?submissionId=

Hi @Luis_Enrique,

I see you’ve also filed this at https://github.com/pkp/pkp-lib/issues/7121; I’ll follow up there.

Regard,
Alec Smecher
Public Knowledge Project Team