CustomHeader plugin 1.0.3.1: error when using PHP 8.1.14

Describe the issue or problem
We updated php to 8.1.14, using OJS 3.3.0.8. When trying to assess the CustomHeader settings page we get a message saying “Failed Ajax request or invalid JSON returned.”.
In the php error log the following is noted:

PHP Fatal error: Declaration of CustomHeaderSettingsForm::execute($request, …$functionArgs) must be compatible with Form::execute(…$functionArgs) in /var/www/html/plugins/generic/customHeader/CustomHeaderSettingsForm.inc.php on line 71

Steps I took leading up to the issue
For example:

  1. Go to Plugins Page
  2. Choose Custom Header Plugion and click “Settings” link
  3. See error

What application are you using?
OJS 3.3.0.8, Custom Header Plugin version 1.0.3.1

Can this be confirmed?

Yours,

Felix

Hi @felixhelix,

There’s a resolution for this over here:

Regards,
Alec Smecher
Public Knowledge Project Team

1 Like