Skip to content

PHP Fatal Error in settings form #43

Description

@MiguelVale

I get this error in ojs 3.5.0-1 php 8.3.6 when opening the plugin settings form:

PHP Fatal error:  Uncaught TypeError: APP\\plugins\\generic\\customHeader\\CustomHeaderSettingsForm::__construct(): Argument #2 ($contextId) must be of type int, null given, called in /var/www/html/plugins/generic/customHeader/CustomHeaderPlugin.php on line 96 and defined in /var/www/html/plugins/generic/customHeader/CustomHeaderSettingsForm.php:33\nStack trace:\n#0 /var/www/html/plugins/generic/customHeader/CustomHeaderPlugin.php(96): APP\\plugins\\generic\\customHeader\\CustomHeaderSettingsForm->__construct()\n#1 /var/www/html/lib/pkp/classes/controllers/grid/plugins/PluginGridHandler.php(281): APP\\plugins\\generic\\customHeader\\CustomHeaderPlugin->manage()\n#2 [internal function]: PKP\\controllers\\grid\\plugins\\PluginGridHandler->manage()\n#3 /var/www/html/lib/pkp/classes/core/PKPRouter.php(327): call_user_func()\n#4 /var/www/html/lib/pkp/classes/core/PKPComponentRouter.php(265): PKP\\core\\PKPRouter->_authorizeInitializeAndCallRequest()\n#5 /var/www/html/lib/pkp/classes/core/Dispatcher.php(157): PKP\\core\\PKPComponentRouter->route()\n#6 /var/www/html/lib/pkp/classes/core/PKPApplication.php(426): PKP\\core\\Dispatcher->dispatch()\n#7 /var/www/html/index.php(21): PKP\\core\\PKPApplication->execute()\n#8 {main}\n  thrown in /var/www/html/plugins/generic/customHeader/CustomHeaderSettingsForm.php on line 33

Pull Requests

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions