Problem/Motivation

The settings form is incompatible with Drupal 11. Marked as critical as its not possible to use the module UI without it.

The website encountered an unexpected error. Try again later.

ArgumentCountError: Too few arguments to function Drupal\Core\Form\ConfigFormBase::__construct(), 1 passed in /var/www/html/web/modules/contrib/bugherd/src/Form/SettingsForm.php on line 29 and exactly 2 expected in Drupal\Core\Form\ConfigFormBase->__construct() (line 44 of core/lib/Drupal/Core/Form/ConfigFormBase.php).

Steps to reproduce

  1. Install on a new site
  2. Attempt to configure Bugherd

Proposed resolution

Fix the class

Remaining tasks

MR

User interface changes

N/A

API changes

N/A

Data model changes

N/A

CommentFileSizeAuthor
#5 BugHerd-setting-form.png212.99 KBchandansha

Issue fork bugherd-3507118

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

scott_euser created an issue. See original summary.

scott_euser’s picture

Issue summary: View changes
scott_euser’s picture

Status: Active » Needs review

Converted to constructor promotion at the same time for consistency with parent class

chandansha’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new212.99 KB

I have tested MR 7.
Now configure is open without any error.
for reference i attached Screen short.
i move it to RTBC.
Thanks!!

berenddeboer’s picture

Working for me too, thanks!

  • scott_euser committed ba1b19c2 on 8.x-1.x
    fix: #3507118 Fatal error in Drupal 11 on SettingsForm
    
    By: scott_euser
    
scott_euser’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for confirming, merging

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.