Problem/Motivation
The website encountered an unexpected error. Please try again later.
Error: Call to undefined function Drupal\mmenu\Form\mmenu_list() in Drupal\mmenu\Form\MmenuSettingsForm->buildForm() (line 37 of modules/contrib/mmenu-3271588/src/Form/MmenuSettingsForm.php).
Drupal\mmenu\Form\MmenuSettingsForm->buildForm(Array, Object, 'mmenu_left')
call_user_func_array(Array, Array) (Line: 531)
Drupal\Core\Form\FormBuilder->retrieveForm('mmenu_settings', Object) (Line: 278)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 564)
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: 158)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 80)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
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: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 708)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Steps to reproduce
Install the module.
Visit From Settings page.
Proposed resolution
Remove unwanted functions
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | mmenu-settings-form-error-3272149-2.patch | 18.94 KB | chakkche |
Comments
Comment #2
chakkche commentedFixed the form settings issue.
Comment #3
chakkche commentedComment #4
afagioliThanks!
Applyed into https://www.drupal.org/project/mmenu/releases/2.1.x-dev
Comment #5
chakkche commentedComment #6
chakkche commentedComment #7
afagioli