compitable with simpleoauth

Created on 2 July 2024, 5 months ago

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):
🐛 Bug report
Status

Needs work

Version

7.1

Component

Code

Created by

🇨🇳China zterry95

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024