MakeSubmissionBlockPlugin as included in OJS 3.4.0.1 download is broken

upgrade from 3.3.0.7 to 3.4.0.1 via CLI fails

OJS 3.4.0.1 downloaded from https://pkp.sfu.ca/software/ojs/download/

Steps I took leading up to the issue

# php tools/upgrade.php check
Code version:      3.4.0.1
Database version:  3.3.0.7
Latest version:    3.4.0.1
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/MakeSubmissionBlockPlugin.inc.php:20

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 3.4.0.1 package as offered on https://pkp.sfu.ca/software/ojs/download/ is broken in its current form.

Hi @huc-di-infra,

Did you turn on strict mode in config.inc.php?

Regards,
Alec Smecher
Public Knowledge Project Team

Yes @asmecher:
strict = On
Is in config.inc.php.

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.

Regards,
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.)

Regards,
Jan Pieter
KNAW-HuC

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