PHP Fatal error on role add form.
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3568954. --> Reported by: [dipakmdhrm](https://www.drupal.org/user/1687410) Related to !66 >>> <pre>ArgumentCountError: Too few arguments to function Drupal\og\Form\OgChangeMultipleRolesFormBase::__construct(), 0 passed in /var/www/html/web/core/lib/Drupal/Core/Form/FormBase.php on line 82 and exactly 2 expected in Drupal\og\Form\OgChangeMultipleRolesFormBase-&gt;__construct() (line 39 of /var/www/html/src/Form/OgChangeMultipleRolesFormBase.php).<br><br>Drupal\Core\Form\FormBase::create() (Line: 36)<br>Drupal\Core\DependencyInjection\ClassResolver-&gt;getInstanceFromDefinition() (Line: 100)<br>Drupal\Core\Utility\CallableResolver-&gt;getCallableFromDefinition() (Line: 56)<br>Drupal\Core\Access\CustomAccessCheck-&gt;access()<br>call_user_func_array() (Line: 160)<br>Drupal\Core\Access\AccessManager-&gt;performCheck() (Line: 136)<br>Drupal\Core\Access\AccessManager-&gt;check() (Line: 113)<br>Drupal\Core\Access\AccessManager-&gt;checkRequest() (Line: 106)<br>Drupal\Core\Routing\AccessAwareRouter-&gt;checkAccess() (Line: 91)<br>Drupal\Core\Routing\AccessAwareRouter-&gt;matchRequest() (Line: 101)<br>Symfony\Component\HttpKernel\EventListener\RouterListener-&gt;onKernelRequest() (Line: 246)<br>Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}() (Line: 206)<br>Symfony\Component\EventDispatcher\EventDispatcher-&gt;callListeners() (Line: 56)<br>Symfony\Component\EventDispatcher\EventDispatcher-&gt;dispatch() (Line: 159)<br>Symfony\Component\HttpKernel\HttpKernel-&gt;handleRaw() (Line: 76)<br>Symfony\Component\HttpKernel\HttpKernel-&gt;handle() (Line: 53)<br>Drupal\Core\StackMiddleware\Session-&gt;handle() (Line: 48)<br>Drupal\Core\StackMiddleware\KernelPreHandle-&gt;handle() (Line: 28)<br>Drupal\Core\StackMiddleware\ContentLength-&gt;handle() (Line: 32)<br>Drupal\big_pipe\StackMiddleware\ContentLength-&gt;handle() (Line: 116)<br>Drupal\page_cache\StackMiddleware\PageCache-&gt;pass() (Line: 90)<br>Drupal\page_cache\StackMiddleware\PageCache-&gt;handle() (Line: 48)<br>Drupal\Core\StackMiddleware\ReverseProxyMiddleware-&gt;handle() (Line: 51)<br>Drupal\Core\StackMiddleware\NegotiationMiddleware-&gt;handle() (Line: 53)<br>Drupal\Core\StackMiddleware\AjaxPageState-&gt;handle() (Line: 51)<br>Drupal\Core\StackMiddleware\StackedHttpKernel-&gt;handle() (Line: 715)<br>Drupal\Core\DrupalKernel-&gt;handle() (Line: 19)</pre>
issue