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

CommentFileSizeAuthor
#7 3162356-7.patch1.42 KBshaktik
#3 3162356-3.patch518 bytesshaktik

Comments

shaktik created an issue. See original summary.

shaktik’s picture

Issue summary: View changes
shaktik’s picture

Status: Active » Needs review
StatusFileSize
new518 bytes
gauravvvv’s picture

@shaktik patch no. #3 works for me. RTBC +1

gauravvvv’s picture

Status: Needs review » Reviewed & tested by the community
stborchert’s picture

Status: Reviewed & tested by the community » Needs work

Sorry, 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).

shaktik’s picture

Status: Needs work » Needs review
StatusFileSize
new1.42 KB

Hi @stBorchert,

solved the issue, kindly check.

gauravvvv’s picture

Status: Needs review » Reviewed & tested by the community

  • kunalkapoor committed b29c983 on 8.x-1.x authored by shaktik
    Issue #3162356 by shaktik, Gauravmahlawat, stBorchert: Error: Call to...
kunal_kapoor’s picture

Status: Reviewed & tested by the community » Fixed
kunal_kapoor’s picture

Status: Fixed » Closed (fixed)