Author Requirements OJS 3.3.0-14 and PHP8 problem

Hi,
When we try to access the plugin settings we get the following
Failed Ajax request or invalid JSON returned.
Log:
[Thu Mar 16 08:55:49.871218 2023] [proxy_fcgi:error] [pid 330462:tid 330641] [client 188.47.119.63:0] 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/AuthorRequirementsSettingsForm.inc.php 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?

Regards
Peter

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.

Regards,
Alec Smecher
Public Knowledge Project Team

Thanks Alec. It works!

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