Author Requirements OJS 3.3.0-14 and PHP8 problem

When we try to access the plugin settings we get the following
Failed Ajax request or invalid JSON returned.
[Thu Mar 16 08:55:49.871218 2023] [proxy_fcgi:error] [pid 330462:tid 330641] [client] AH01071: Got error 'PHP message: PHP Fatal error: Declaration of AuthorRequirementsSettingsForm::fetch($request) must be compatible with Form::fetch($request, $template = null, $display = false) in []/public_html/plugins/generic/authorRequirements/ on line 63’, referer: []/index.php/pis/management/settings/website
On a server with php73 and php74 everything works fine

Are you familiar with this problem and it may depend on php8?


Hi @karwas,

This is a minor issue with the author requirements plugin; the fix has already been made in Github, but not yet released in the Plugin Gallery. In the meantime you can apply the change yourself if you like.

Alec Smecher
Public Knowledge Project Team

Thanks Alec. It works!

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