Getting the following errors on the settings page and elsewhere.


    Notice: Undefined index: #description in BackupMigrate\Drupal\Config\DrupalConfigHelper::addFieldsFromSchema() (line 116 of modules/backup_migrate/src/Config/DrupalConfigHelper.php).

    BackupMigrate\Drupal\Config\DrupalConfigHelper::addFieldsFromSchema(Array, Array, Object, Array) (Line: 39)
    BackupMigrate\Drupal\Config\DrupalConfigHelper::buildAllPluginsForm(Object, 'backup', Array) (Line: 49)
    Drupal\backup_migrate\Form\SettingsProfileForm->form(Array, Object) (Line: 115)
    Drupal\Core\Entity\EntityForm->buildForm(Array, Object)
    call_user_func_array(Array, Array) (Line: 514)
    Drupal\Core\Form\FormBuilder->retrieveForm('backup_migrate_settings_form', Object) (Line: 271)
    Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 74)
    Drupal\Core\Controller\FormController->getContentResult(Object, Object)
    call_user_func_array(Array, Array) (Line: 123)
    Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 574)
    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}()
    call_user_func_array(Object, Array) (Line: 144)
    Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 64)
    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: 99)
    Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 78)
    Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47)
    Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 50)
    Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
    Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 652)
    Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

    Notice: Undefined index: #description in BackupMigrate\Drupal\Config\DrupalConfigHelper::addFieldsFromSchema() (line 116 of modules/backup_migrate/src/Config/DrupalConfigHelper.php).

    BackupMigrate\Drupal\Config\DrupalConfigHelper::addFieldsFromSchema(Array, Array, Object, Array) (Line: 39)
    BackupMigrate\Drupal\Config\DrupalConfigHelper::buildAllPluginsForm(Object, 'backup', Array) (Line: 49)
    Drupal\backup_migrate\Form\SettingsProfileForm->form(Array, Object) (Line: 115)
    Drupal\Core\Entity\EntityForm->buildForm(Array, Object)
    call_user_func_array(Array, Array) (Line: 514)
    Drupal\Core\Form\FormBuilder->retrieveForm('backup_migrate_settings_form', Object) (Line: 271)
    Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 74)
    Drupal\Core\Controller\FormController->getContentResult(Object, Object)
    call_user_func_array(Array, Array) (Line: 123)
    Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 574)
    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}()
    call_user_func_array(Object, Array) (Line: 144)
    Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 64)
    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: 99)
    Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 78)
    Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47)
    Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 50)
    Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
    Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 652)
    Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rsbecker created an issue. See original summary.

szeidler’s picture

Status: Active » Needs review
FileSize
737 bytes

Attached patch will fix the notice and ensure, that the property is set before string concat.

  • ronan committed 3b8c399 on 8.x-4.x authored by szeidler
    Issue #2826107 by szeidler: Error msgs on settings page
    
ronan’s picture

Status: Needs review » Fixed

Applied, thanks.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.