MakeSubmissionBlockPlugin as included in OJS download is broken

upgrade from to via CLI fails

OJS downloaded from

Steps I took leading up to the issue

# php tools/upgrade.php check
Code version:
Database version:
Latest version:
Database version is older than code version
Run "tools/upgrade.php upgrade" to update

Result of “upgrade”:

Fatal error: Uncaught Error: Class "BlockPlugin" not found in /var/www/html/plugins/blocks/makeSubmission/

Solution: replace the included /var/www/html/plugins/blocks/makeSubmission/ plugin with the latest version from GitHub - pkp/makeSubmission: A sidebar block plugin for Open Journal Systems and Open Monograph Press which adds a link to the submissions page.. Then the error goes away.

Tentative conclusion: the package as offered on is broken in its current form.

Hi @huc-di-infra,

Did you turn on strict mode in

Alec Smecher
Public Knowledge Project Team

Yes @asmecher:
strict = On
Is in

Hi @huc-di-infra,

You’ll need to turn strict to Off. It’s not intended for production use and will disable some backwards-compatibility code that’s currently necessary.

Alec Smecher
Public Knowledge Project Team

Thank you @asmecher , I will do that.
(Intuitively I would think that strict is something that would be intended for production use.)

Jan Pieter

This topic was automatically closed after 6 days. New replies are no longer allowed.