Error with views

Created on 23 January 2023, over 1 year ago
Updated 3 June 2023, about 1 year ago

Problem/Motivation

Drupal version 9.5.2
Mysql 5.37
PHP 8.1

Error display is:
Warning: foreach() argument must be of type array|object, null given in Drupal\Component\Utility\NestedArray::mergeDeepArray() (line 327 of core/lib/Drupal/Component/Utility/NestedArray.php).
Drupal\Component\Utility\NestedArray::mergeDeepArray(Array) (Line: 295)
Drupal\Component\Utility\NestedArray::mergeDeep(Array, NULL) (Line: 370)
Drupal\Core\Asset\LibraryDiscoveryParser->parseLibraryInfo('mason', 'modules/contrib/mason') (Line: 126)
Drupal\Core\Asset\LibraryDiscoveryParser->buildByExtension('mason') (Line: 87)
Drupal\Core\Asset\LibraryDiscoveryCollector->getLibraryDefinitions('mason') (Line: 66)
Drupal\Core\Asset\LibraryDiscoveryCollector->resolveCacheMiss('mason') (Line: 149)
Drupal\Core\Cache\CacheCollector->get('mason') (Line: 44)
Drupal\Core\Asset\LibraryDiscovery->getLibrariesByExtension('mason') (Line: 58)
Drupal\Core\Asset\LibraryDiscovery->getLibraryByName('mason', 'load') (Line: 68)
Drupal\Core\Asset\LibraryDependencyResolver->doGetDependencies(Array) (Line: 41)
Drupal\Core\Asset\LibraryDependencyResolver->getLibrariesWithDependencies(Array) (Line: 104)
Drupal\Core\Asset\AssetResolver->getLibrariesToLoad(Object) (Line: 116)
Drupal\Core\Asset\AssetResolver->getCssAssets(Object, 1) (Line: 144)
Drupal\Core\Ajax\AjaxResponseAttachmentsProcessor->buildAttachmentsCommands(Object, Object) (Line: 113)
Drupal\Core\Ajax\AjaxResponseAttachmentsProcessor->processAttachments(Object) (Line: 62)
Drupal\Core\EventSubscriber\AjaxResponseSubscriber->onResponse(Object, 'kernel.response', Object)
call_user_func(Array, Object, 'kernel.response', Object) (Line: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.response') (Line: 652)
Drupal\big_pipe\Render\BigPipe->filterResponse(Object, 2, Object) (Line: 630)
Drupal\big_pipe\Render\BigPipe->filterEmbeddedResponse(Object, Object) (Line: 580)
Drupal\big_pipe\Render\BigPipe->sendPlaceholders(Array, Array, Object) (Line: 305)
Drupal\big_pipe\Render\BigPipe->sendContent(Object) (Line: 112)
Drupal\big_pipe\Render\BigPipeResponse->sendContent() (Line: 381)
Symfony\Component\HttpFoundation\Response->send() (Line: 20)

🐛 Bug report
Status

Fixed

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024