When enabling the module, you get error. Tried on 8.7.11 and 8.8.2. What I don't understand is how it works on simplytest.me
The website encountered an unexpected error. Please try again later.
Error: Cannot pass parameter 1 by reference in high_contrast_install() (line 18 of modules/contrib/high_contrast/high_contrast.install).
high_contrast_install()
call_user_func_array('high_contrast_install', Array) (Line: 392)
Drupal\Core\Extension\ModuleHandler->invoke('high_contrast', 'install') (Line: 311)
Drupal\Core\Extension\ModuleInstaller->install(Array, 1) (Line: 83)
Drupal\Core\ProxyClass\Extension\ModuleInstaller->install(Array) (Line: 464)
Drupal\system\Form\ModulesListForm->submitForm(Array, Object)
call_user_func_array(Array, Array) (Line: 111)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object) (Line: 51)
Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object) (Line: 590)
Drupal\Core\Form\FormBuilder->processForm('system_modules', Array, Object) (Line: 319)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 93)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 151)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 85)
Drupal\tekla_login\StackMiddleware\AtcAutologin->handle2(Object, 1, 1) (Line: 69)
Drupal\tekla_login\StackMiddleware\AtcAutologin->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 693)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)| Comment | File | Size | Author |
|---|---|---|---|
| #4 | high_contrast-error-during-install-3113973-4.patch | 790 bytes | hkirsman |
Comments
Comment #2
hkirsman commentedComment #3
hkirsman commentedComment #4
hkirsman commentedAdding patch
Comment #5
hkirsman commentedComment #6
hkirsman commentedComment #7
neograph734That feels safe to commit without extensive testing. If you have tested it, I believe it will work. I will make the same adjustment to update_8001 though to ensure that will work as well.
Comment #9
pifagorgood job
Comment #10
pifagor