Needs work
Project:
SimpleLogin
Version:
7.1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Jul 2024 at 08:03 UTC
Updated:
2 Jul 2024 at 16:29 UTC
Jump to comment: Most recent
when enable simplelogin & simpleoauth together, there is error:
2024/07/02 16:01:37 [error] 2922#2922: *8139 FastCGI sent in stderr: "PHP message: Error: Cannot use object of type Drupal\Core\Render\Markup as array in /var/www/html/docroot/modules/contrib/simplelogin/simplelogin.module on line 222 #0 /var/www/html/docroot/core/lib/Drupal/Core/Extension/ModuleHandler.php(562): simplelogin_form_alter(Array, Object(Drupal\Core\Form\FormState), 'user_login_form')
#1 /var/www/html/docroot/modules/contrib/hook_event_dispatcher/src/HookEventDispatcherModuleHandler.php(87): Drupal\Core\Extension\ModuleHandler->alter('form', Array, Object(Drupal\Core\Form\FormState), 'user_login_form')
#2 /var/www/html/docroot/core/lib/Drupal/Core/Form/FormBuilder.php(840): Drupal\hook_event_dispatcher\HookEventDispatcherModuleHandler->alter(Array, Array, Object(Drupal\Core\Form\FormState), 'user_login_form')
#3 /var/www/html/docroot/core/lib/Drupal/Core/Form/FormBuilder.php(284): Drupal\Core\Form\FormBuilder->prepareForm('user_login_form', Array, Object(Drupal\Core\Form\FormState))
#4 /var/www/html/docroot/core/lib/Drupal/Core/Controller/FormController.php(73): Drupal\Core\Form\FormBuilder->buildForm(Object(Drupal\user\Form\UserLoginForm), Object(Drupal\Core\Form\FormState))
#5 [internal function]: Drupal\Core\Controller\FormController->getContentResult(Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\RouteMatch))
#6 /var/www/html/docroot/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array)
#7 /var/www/html/docroot/core/lib/Drupal/Core/Render/Renderer.php(580): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#8 /var/www/html/docroot/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(121): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#9 /var/www/html/docroot/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97):
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
Comment #5
dbielke1986 commented@zterry95
I closed the MR because you need to create a MR against the 7.1.x branch, please
Comment #6
dbielke1986 commented