Error Warning: uasort(): Array was modified
Warning: uasort(): Array was modified by the user comparison function in Drupal\Core\Config\Entity\ConfigEntityListBuilder->load() (line 24 of core/lib/Drupal/Core/Config/Entity/ConfigEntityListBuilder.php).
This suddenly appeared in Drupal 8 in the Blocks section.
And since then the reports are full of:
Notice: Undefined index: #tag in Drupal\Core\Render\Element\HtmlTag::preRenderHtmlTag() (line 86 of ...
Notice: Undefined offset: 1 in Drupal\Core\Render\HtmlResponseAttachmentsProcessor->processHtmlHead() (line 375 of ...
and other similar errors.
According to the log, it started with this:
Notice: Trying to get property of non-object in Drupal\views\ManyToOneHelper->addTable() (line 87 of ...../core/includes/bootstrap.inc(548): _drupal_error_handler_real(8, 'Trying to get p...', '*****', 87, Array) #1 /*****/core/modules/views/src/ManyToOneHelper.php(87): _drupal_error_handler(8, 'Trying to get p...', '*****', 87, Array) #2 ...../core/modules/views/src/ManyToOneHelper.php(219): Drupal\views\ManyToOneHelper->addTable(Object(stdClass), 'taxonomy_term_f...') #3
Could you advise how to fix this?