Problem/Motivation
http://127.0.0.1:8888/D9/search/node?keys=test
when search anyting in search box.
The website encountered an unexpected error. Please try again later.
Error: Call to undefined function element_set_attributes() in busy_fieldset() (line 74 of core/themes/busy/busy.theme).
busy_fieldset(Array) (Line: 317)
Drupal\Core\Theme\ThemeManager->render('fieldset', Array) (Line: 487)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 444)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 444)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 444)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 241)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 573)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 242)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 132)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 163)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 80)
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: 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: 706)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 3162356-7.patch | 1.42 KB | shaktik |
| #3 | 3162356-3.patch | 518 bytes | shaktik |
Comments
Comment #2
shaktikComment #3
shaktikComment #4
gauravvvv commented@shaktik patch no. #3 works for me. RTBC +1
Comment #5
gauravvvv commentedComment #6
stborchertSorry, but this doesn't fix the issue. The function is called to add an attribute to the element. If the function is does not exist, there should be a replacement for it.
With the provided patch, the attribute "id" is not added to the fieldset (which causes other issues).
Comment #7
shaktikHi @stBorchert,
solved the issue, kindly check.
Comment #8
gauravvvv commentedComment #10
kunal_kapoor commentedComment #11
kunal_kapoor commented