Ajax errors when switching to table w/ aggregation options

Created on 20 February 2024, 10 months ago
Updated 5 March 2024, 10 months ago

Drupal core 10.2.3
Storage Entities 1.3.1
Views Aggregator Plus 2.0.2

Problem/Motivation

Use a table with aggregation options via https://www.drupal.org/project/views_aggregator with fields of storage entities. Upon the settings window opening when first choosing table with aggregation options there's an error message. Going back to a plain table view things work fine.

Steps to reproduce

I'm unsure, as the two work well together in some other views. This is what shows up in console. I'm assuming this is either a storage issue, or a views aggregator one.

/admin/structure/views/view/MY_VIEW/preview/page_1?_wrapper_format=drupal_ajax:1 
        
        
       Failed to load resource: the server responded with a status of 500 ()
js_66Gn4eCXTv6oQjyax50zDtYmNM2GL0bzq5WTc5myPHs.js?scope=footer&delta=0&language=en&theme=claro&include=eJx9UNFuwyAM_CEG39AviRxiEVY3jmyTdfv6EZp0Yqr6gs_n8yGfcZFg9XGRF8O7FaAwSVmB_B_zQXm5apUIhoXlBpR_0EUC4ZCIx6pQ-66i9NAcBhAtb9iWO37KQJw8fMK949XAUDvKYCScBJLbMn7pUHI4gYfplpdOHZkIVkWnM4vFYk_no3fGTCPsJ7fqmsdwdIMiSJzDo7iiKKfBjn2uiej7oF777lXPP5tNL3iOTBDfjPzMG8r_IzxqhBUvLY4xp2HNK4YT_AIEybu_:394 Uncaught Drupal.AjaxError
/admin/structure/views/view/MY_VIEW/preview/page_1?_wrapper_format=drupal_ajax:1 
        
        
       Failed to load resource: the server responded with a status of 500 ()
js_66Gn4eCXTv6oQjyax50zDtYmNM2GL0bzq5WTc5myPHs.js?scope=footer&delta=0&language=en&theme=claro&include=eJx9UNFuwyAM_CEG39AviRxiEVY3jmyTdfv6EZp0Yqr6gs_n8yGfcZFg9XGRF8O7FaAwSVmB_B_zQXm5apUIhoXlBpR_0EUC4ZCIx6pQ-66i9NAcBhAtb9iWO37KQJw8fMK949XAUDvKYCScBJLbMn7pUHI4gYfplpdOHZkIVkWnM4vFYk_no3fGTCPsJ7fqmsdwdIMiSJzDo7iiKKfBjn2uiej7oF777lXPP5tNL3iOTBDfjPzMG8r_IzxqhBUvLY4xp2HNK4YT_AIEybu_:394 Uncaught Drupal.AjaxErrormessage: "\nAn AJAX HTTP error occurred.\nHTTP Result Code: 500\nDebugging information follows.\nPath: /admin/structure/views/view/MY_VIEW/preview/page_1\nStatusText: error\nResponseText: The website encountered an unexpected error. Try again later.Error: Call to a member function getValue() on null in Drupal\\views\\Plugin\\views\\style\\StylePluginBase->getFieldValue() (line 801 of core/modules/views/src/Plugin/views/style/StylePluginBase.php)."name: "AjaxError"stack: "Error\n    at https://dev-FOO.pantheonsite.io/sites/default/files/js/js_66Gn4eCXTv6oQjyax50zDtYmNM2GL0bzq5WTc5myPHs.js?scope=footer&delta=0&language=en&theme=claro&include=eJx9UNFuwyAM_CEG39AviRxiEVY3jmyTdfv6EZp0Yqr6gs_n8yGfcZFg9XGRF8O7FaAwSVmB_B_zQXm5apUIhoXlBpR_0EUC4ZCIx6pQ-66i9NAcBhAtb9iWO37KQJw8fMK949XAUDvKYCScBJLbMn7pUHI4gYfplpdOHZkIVkWnM4vFYk_no3fGTCPsJ7fqmsdwdIMiSJzDo7iiKKfBjn2uiej7oF777lXPP5tNL3iOTBDfjPzMG8r_IzxqhBUvLY4xp2HNK4YT_AIEybu_:394:2411\n    at https://dev-FOO.pantheonsite.io/sites/default/files/js/js_66Gn4eCXTv6oQjyax50zDtYmNM2GL0bzq5WTc5myPHs.js?scope=footer&delta=0&language=en&theme=claro&include=eJx9UNFuwyAM_CEG39AviRxiEVY3jmyTdfv6EZp0Yqr6gs_n8yGfcZFg9XGRF8O7FaAwSVmB_B_zQXm5apUIhoXlBpR_0EUC4ZCIx6pQ-66i9NAcBhAtb9iWO37KQJw8fMK949XAUDvKYCScBJLbMn7pUHI4gYfplpdOHZkIVkWnM4vFYk_no3fGTCPsJ7fqmsdwdIMiSJzDo7iiKKfBjn2uiej7oF777lXPP5tNL3iOTBDfjPzMG8r_IzxqhBUvLY4xp2HNK4YT_AIEybu_:394:19721"[[Prototype]]: Error
    at https://dev-FOO.pantheonsite.io/sites/default/files/js/js_66Gn4eCXTv6oQjyax50zDtYmNM2GL0bzq5WTc5myPHs.js?scope=footer&delta=0&language=en&theme=claro&include=eJx9UNFuwyAM_CEG39AviRxiEVY3jmyTdfv6EZp0Yqr6gs_n8yGfcZFg9XGRF8O7FaAwSVmB_B_zQXm5apUIhoXlBpR_0EUC4ZCIx6pQ-66i9NAcBhAtb9iWO37KQJw8fMK949XAUDvKYCScBJLbMn7pUHI4gYfplpdOHZkIVkWnM4vFYk_no3fGTCPsJ7fqmsdwdIMiSJzDo7iiKKfBjn2uiej7oF777lXPP5tNL3iOTBDfjPzMG8r_IzxqhBUvLY4xp2HNK4YT_AIEybu_:394:2411
    at https://dev-FOO.pantheonsite.io/sites/default/files/js/js_66Gn4eCXTv6oQjyax50zDtYmNM2GL0bzq5WTc5myPHs.js?scope=footer&delta=0&language=en&theme=claro&include=eJx9UNFuwyAM_CEG39AviRxiEVY3jmyTdfv6EZp0Yqr6gs_n8yGfcZFg9XGRF8O7FaAwSVmB_B_zQXm5apUIhoXlBpR_0EUC4ZCIx6pQ-66i9NAcBhAtb9iWO37KQJw8fMK949XAUDvKYCScBJLbMn7pUHI4gYfplpdOHZkIVkWnM4vFYk_no3fGTCPsJ7fqmsdwdIMiSJzDo7iiKKfBjn2uiej7oF777lXPP5tNL3iOTBDfjPzMG8r_IzxqhBUvLY4xp2HNK4YT_AIEybu_:394:19721constructor: ƒ (xmlhttp,uri,customMessage)messages: Drupal.MessagemessageWrapper: div.messages__wrapper[[Prototype]]: Objectadd: ƒ add(message,options={})clear: clear(){Array.prototype.forEach.call(this.messageWrapper.querySelectorAll('[data-drupal-message-id]'),(message)=> {…}constructor: class remove: ƒ remove(id)select: ƒ select(id)[[Prototype]]: Objectarguments: nullcaller: nulllength: 3name: ""prototype: Error
    at https://dev-FOO.pantheonsite.io/sites/default/files/js/js_66Gn4eCXTv6oQjyax50zDtYmNM2GL0bzq5WTc5myPHs.js?scope=footer&delta=0&language=en&theme=claro&include=eJx9UNFuwyAM_CEG39AviRxiEVY3jmyTdfv6EZp0Yqr6gs_n8yGfcZFg9XGRF8O7FaAwSVmB_B_zQXm5apUIhoXlBpR_0EUC4ZCIx6pQ-66i9NAcBhAtb9iWO37KQJw8fMK949XAUDvKYCScBJLbMn7pUHI4gYfplpdOHZkIVkWnM4vFYk_no3fGTCPsJ7fqmsdwdIMiSJzDo7iiKKfBjn2uiej7oF777lXPP5tNL3iOTBDfjPzMG8r_IzxqhBUvLY4xp2HNK4YT_AIEybu_:394:2411
    at https://dev-FOO.pantheonsite.io/sites/default/files/js/js_66Gn4eCXTv6oQjyax50zDtYmNM2GL0bzq5WTc5myPHs.js?scope=footer&delta=0&language=en&theme=claro&include=eJx9UNFuwyAM_CEG39AviRxiEVY3jmyTdfv6EZp0Yqr6gs_n8yGfcZFg9XGRF8O7FaAwSVmB_B_zQXm5apUIhoXlBpR_0EUC4ZCIx6pQ-66i9NAcBhAtb9iWO37KQJw8fMK949XAUDvKYCScBJLbMn7pUHI4gYfplpdOHZkIVkWnM4vFYk_no3fGTCPsJ7fqmsdwdIMiSJzDo7iiKKfBjn2uiej7oF777lXPP5tNL3iOTBDfjPzMG8r_IzxqhBUvLY4xp2HNK4YT_AIEybu_:394:19721[[FunctionLocation]]: js_66Gn4eCXTv6oQjyax50zDtYmNM2GL0bzq5WTc5myPHs.js?scope=footer&delta=0&language=en&theme=claro&include=eJx9UNFuwyAM_CEG39AviRxiEVY3jmyTdfv6EZp0Yqr6gs_n8yGfcZFg9XGRF8O7FaAwSVmB_B_zQXm5apUIhoXlBpR_0EUC4ZCIx6pQ-66i9NAcBhAtb9iWO37KQJw8fMK949XAUDvKYCScBJLbMn7pUHI4gYfplpdOHZkIVkWnM4vFYk_no3fGTCPsJ7fqmsdwdIMiSJzDo7iiKKfBjn2uiej7oF777lXPP5tNL3iOTBDfjPzMG8r_IzxqhBUvLY4xp2HNK4YT_AIEybu_:394[[Prototype]]: ƒ ()apply: ƒ apply()arguments: (...)bind: ƒ bind()call: ƒ call()caller: (...)constructor: ƒ Function()length: 1name: "Function"prototype: ƒ ()arguments: (...)caller: (...)[[Prototype]]: ƒ ()[[Scopes]]: Scopes[0]length: 0name: ""toString: ƒ toString()Symbol(Symbol.hasInstance): ƒ [Symbol.hasInstance]()get arguments: ƒ ()set arguments: ƒ ()get caller: ƒ ()set caller: ƒ ()[[FunctionLocation]]: [[Prototype]]: Object[[Scopes]]: Scopes[0][[Scopes]]: Scopes[3]stack: "Error\n    at https://dev-FOO.pantheonsite.io/sites/default/files/js/js_66Gn4eCXTv6oQjyax50zDtYmNM2GL0bzq5WTc5myPHs.js?scope=footer&delta=0&language=en&theme=claro&include=eJx9UNFuwyAM_CEG39AviRxiEVY3jmyTdfv6EZp0Yqr6gs_n8yGfcZFg9XGRF8O7FaAwSVmB_B_zQXm5apUIhoXlBpR_0EUC4ZCIx6pQ-66i9NAcBhAtb9iWO37KQJw8fMK949XAUDvKYCScBJLbMn7pUHI4gYfplpdOHZkIVkWnM4vFYk_no3fGTCPsJ7fqmsdwdIMiSJzDo7iiKKfBjn2uiej7oF777lXPP5tNL3iOTBDfjPzMG8r_IzxqhBUvLY4xp2HNK4YT_AIEybu_:394:2411\n    at https://dev-FOO.pantheonsite.io/sites/default/files/js/js_66Gn4eCXTv6oQjyax50zDtYmNM2GL0bzq5WTc5myPHs.js?scope=footer&delta=0&language=en&theme=claro&include=eJx9UNFuwyAM_CEG39AviRxiEVY3jmyTdfv6EZp0Yqr6gs_n8yGfcZFg9XGRF8O7FaAwSVmB_B_zQXm5apUIhoXlBpR_0EUC4ZCIx6pQ-66i9NAcBhAtb9iWO37KQJw8fMK949XAUDvKYCScBJLbMn7pUHI4gYfplpdOHZkIVkWnM4vFYk_no3fGTCPsJ7fqmsdwdIMiSJzDo7iiKKfBjn2uiej7oF777lXPP5tNL3iOTBDfjPzMG8r_IzxqhBUvLY4xp2HNK4YT_AIEybu_:394:19721"[[Prototype]]: Objectconstructor: ƒ Error()message: ""name: "Error"toString: ƒ toString()length: 0name: "toString"arguments: (...)caller: (...)[[Prototype]]: ƒ ()[[Scopes]]: Scopes[0][[Prototype]]: Objectconstructor: ƒ Object()hasOwnProperty: ƒ hasOwnProperty()isPrototypeOf: ƒ isPrototypeOf()propertyIsEnumerable: ƒ propertyIsEnumerable()toLocaleString: ƒ toLocaleString()toString: ƒ toString()valueOf: ƒ valueOf()__defineGetter__: ƒ __defineGetter__()__defineSetter__: ƒ __defineSetter__()__lookupGetter__: ƒ __lookupGetter__()__lookupSetter__: ƒ __lookupSetter__()__proto__: (...)get __proto__: ƒ __proto__()set __proto__: ƒ __proto__()
page_1:1 [Deprecation] The keyword 'push-button' specified to an 'appearance' property is not standardized. It will be removed in the future.

Drupal log messages:

Location: https://dev-FOO.pantheonsite.io/admin/structure/views/view/MY_VIEW/previ...
Referrer: https://dev-FOO.pantheonsite.io/admin/structure/views/view/MY_VIEW/edit/...

Undefined array key "has_aggr"

Warning: Undefined array key "has_aggr" in Drupal\views_aggregator\Plugin\views\style\Table->buildSortPost() (line 1375 of /code/web/modules/contrib/views_aggregator/src/Plugin/views/style/Table.php)
#0 /code/web/core/includes/bootstrap.inc(164): _drupal_error_handler_real(2, 'Undefined array...', '/code/web/modul...', 1375)
#1 /code/web/modules/contrib/views_aggregator/src/Plugin/views/style/Table.php(1375): _drupal_error_handler(2, 'Undefined array...', '/code/web/modul...', 1375)
#2 /code/web/core/modules/views/src/ViewExecutable.php(1307): Drupal\views_aggregator\Plugin\views\style\Table->buildSortPost()
#3 /code/web/core/modules/views/src/ViewExecutable.php(1406): Drupal\views\ViewExecutable->build(NULL)
#4 /code/web/core/modules/views/src/ViewExecutable.php(1469): Drupal\views\ViewExecutable->execute(NULL)
#5 /code/web/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php(2464): Drupal\views\ViewExecutable->render()
#6 /code/web/core/modules/views/src/ViewExecutable.php(1677): Drupal\views\Plugin\views\display\DisplayPluginBase->preview()
#7 /code/web/core/modules/views_ui/src/ViewUI.php(612): Drupal\views\ViewExecutable->preview('page_1', Array)
#8 /code/web/core/modules/views_ui/src/ViewPreviewForm.php(62): Drupal\views_ui\ViewUI->renderPreview('page_1', Array)
#9 /code/web/core/lib/Drupal/Core/Entity/EntityForm.php(107): Drupal\views_ui\ViewPreviewForm->form(Array, Object(Drupal\Core\Form\FormState))
#10 /code/web/core/modules/views_ui/src/ViewFormBase.php(41): Drupal\Core\Entity\EntityForm->buildForm(Array, Object(Drupal\Core\Form\FormState))
#11 [internal function]: Drupal\views_ui\ViewFormBase->buildForm(Array, Object(Drupal\Core\Form\FormState), 'page_1')
#12 /code/web/core/lib/Drupal/Core/Form/FormBuilder.php(536): call_user_func_array(Array, Array)
#13 /code/web/core/lib/Drupal/Core/Form/FormBuilder.php(375): Drupal\Core\Form\FormBuilder->retrieveForm('view_preview_fo...', Object(Drupal\Core\Form\FormState))
#14 /code/web/core/lib/Drupal/Core/Form/FormBuilder.php(633): Drupal\Core\Form\FormBuilder->rebuildForm('view_preview_fo...', Object(Drupal\Core\Form\FormState), Array)
#15 /code/web/core/lib/Drupal/Core/Form/FormBuilder.php(325): Drupal\Core\Form\FormBuilder->processForm('view_preview_fo...', Array, Object(Drupal\Core\Form\FormState))
#16 /code/web/core/lib/Drupal/Core/Controller/FormController.php(73): Drupal\Core\Form\FormBuilder->buildForm(Object(Drupal\views_ui\ViewPreviewForm), Object(Drupal\Core\Form\FormState))
#17 /code/web/core/modules/layout_builder/src/Controller/LayoutBuilderHtmlEntityFormController.php(39): Drupal\Core\Controller\FormController->getContentResult(Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\RouteMatch))
#18 [internal function]: Drupal\layout_builder\Controller\LayoutBuilderHtmlEntityFormController->getContentResult(Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\RouteMatch))
#19 /code/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array)
#20 /code/web/core/lib/Drupal/Core/Render/Renderer.php(627): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#21 /code/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(121): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#22 /code/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array)
#23 /code/vendor/symfony/http-kernel/HttpKernel.php(181): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#24 /code/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#25 /code/web/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#26 /code/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#27 /code/web/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#28 /code/web/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#29 /code/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#30 /code/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#31 /code/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#32 /code/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#33 /code/web/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#34 /code/web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#35 /code/web/core/lib/Drupal/Core/DrupalKernel.php(704): Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#36 /code/web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#37 {main}

Undefined array key "storage"

Warning: Undefined array key "storage" in Drupal\views\Plugin\views\style\StylePluginBase->getFieldValue() (line 801 of /code/web/core/modules/views/src/Plugin/views/style/StylePluginBase.php)
#0 /code/web/core/includes/bootstrap.inc(164): _drupal_error_handler_real(2, 'Undefined array...', '/code/web/core/...', 801)
#1 /code/web/core/modules/views/src/Plugin/views/style/StylePluginBase.php(801): _drupal_error_handler(2, 'Undefined array...', '/code/web/core/...', 801)
#2 /code/web/modules/contrib/views_aggregator/src/Plugin/views/style/Table.php(1445): Drupal\views\Plugin\views\style\StylePluginBase->getFieldValue(0, 'storage')
#3 [internal function]: Drupal\views_aggregator\Plugin\views\style\Table->compareResultRows(Object(Drupal\views\ResultRow), Object(Drupal\views\ResultRow))
#4 /code/web/modules/contrib/views_aggregator/src/Plugin/views/style/Table.php(406): uasort(Array, Array)
#5 /code/web/core/modules/views/src/ViewExecutable.php(1523): Drupal\views_aggregator\Plugin\views\style\Table->preRender(Array)
#6 /code/web/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php(2464): Drupal\views\ViewExecutable->render()
#7 /code/web/core/modules/views/src/ViewExecutable.php(1677): Drupal\views\Plugin\views\display\DisplayPluginBase->preview()
#8 /code/web/core/modules/views_ui/src/ViewUI.php(612): Drupal\views\ViewExecutable->preview('page_1', Array)
#9 /code/web/core/modules/views_ui/src/ViewPreviewForm.php(62): Drupal\views_ui\ViewUI->renderPreview('page_1', Array)
#10 /code/web/core/lib/Drupal/Core/Entity/EntityForm.php(107): Drupal\views_ui\ViewPreviewForm->form(Array, Object(Drupal\Core\Form\FormState))
#11 /code/web/core/modules/views_ui/src/ViewFormBase.php(41): Drupal\Core\Entity\EntityForm->buildForm(Array, Object(Drupal\Core\Form\FormState))
#12 [internal function]: Drupal\views_ui\ViewFormBase->buildForm(Array, Object(Drupal\Core\Form\FormState), 'page_1')
#13 /code/web/core/lib/Drupal/Core/Form/FormBuilder.php(536): call_user_func_array(Array, Array)
#14 /code/web/core/lib/Drupal/Core/Form/FormBuilder.php(375): Drupal\Core\Form\FormBuilder->retrieveForm('view_preview_fo...', Object(Drupal\Core\Form\FormState))
#15 /code/web/core/lib/Drupal/Core/Form/FormBuilder.php(633): Drupal\Core\Form\FormBuilder->rebuildForm('view_preview_fo...', Object(Drupal\Core\Form\FormState), Array)
#16 /code/web/core/lib/Drupal/Core/Form/FormBuilder.php(325): Drupal\Core\Form\FormBuilder->processForm('view_preview_fo...', Array, Object(Drupal\Core\Form\FormState))
#17 /code/web/core/lib/Drupal/Core/Controller/FormController.php(73): Drupal\Core\Form\FormBuilder->buildForm(Object(Drupal\views_ui\ViewPreviewForm), Object(Drupal\Core\Form\FormState))
#18 /code/web/core/modules/layout_builder/src/Controller/LayoutBuilderHtmlEntityFormController.php(39): Drupal\Core\Controller\FormController->getContentResult(Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\RouteMatch))
#19 [internal function]: Drupal\layout_builder\Controller\LayoutBuilderHtmlEntityFormController->getContentResult(Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\RouteMatch))
#20 /code/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array)
#21 /code/web/core/lib/Drupal/Core/Render/Renderer.php(627): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#22 /code/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(121): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#23 /code/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array)
#24 /code/vendor/symfony/http-kernel/HttpKernel.php(181): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#25 /code/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#26 /code/web/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#27 /code/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#28 /code/web/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#29 /code/web/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#30 /code/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#31 /code/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#32 /code/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#33 /code/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#34 /code/web/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#35 /code/web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#36 /code/web/core/lib/Drupal/Core/DrupalKernel.php(704): Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#37 /code/web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#38 {main}

Error: Call to a member function getValue() on null in Drupal\views\Plugin\views\style\StylePluginBase->getFieldValue() (line 801 of /code/web/core/modules/views/src/Plugin/views/style/StylePluginBase.php).

#0 /code/web/modules/contrib/views_aggregator/src/Plugin/views/style/Table.php(1445): Drupal\views\Plugin\views\style\StylePluginBase->getFieldValue(0, 'storage')
#1 [internal function]: Drupal\views_aggregator\Plugin\views\style\Table->compareResultRows(Object(Drupal\views\ResultRow), Object(Drupal\views\ResultRow))
#2 /code/web/modules/contrib/views_aggregator/src/Plugin/views/style/Table.php(406): uasort(Array, Array)
#3 /code/web/core/modules/views/src/ViewExecutable.php(1523): Drupal\views_aggregator\Plugin\views\style\Table->preRender(Array)
#4 /code/web/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php(2464): Drupal\views\ViewExecutable->render()
#5 /code/web/core/modules/views/src/ViewExecutable.php(1677): Drupal\views\Plugin\views\display\DisplayPluginBase->preview()
#6 /code/web/core/modules/views_ui/src/ViewUI.php(612): Drupal\views\ViewExecutable->preview('page_1', Array)
#7 /code/web/core/modules/views_ui/src/ViewPreviewForm.php(62): Drupal\views_ui\ViewUI->renderPreview('page_1', Array)
#8 /code/web/core/lib/Drupal/Core/Entity/EntityForm.php(107): Drupal\views_ui\ViewPreviewForm->form(Array, Object(Drupal\Core\Form\FormState))
#9 /code/web/core/modules/views_ui/src/ViewFormBase.php(41): Drupal\Core\Entity\EntityForm->buildForm(Array, Object(Drupal\Core\Form\FormState))
#10 [internal function]: Drupal\views_ui\ViewFormBase->buildForm(Array, Object(Drupal\Core\Form\FormState), 'page_1')
#11 /code/web/core/lib/Drupal/Core/Form/FormBuilder.php(536): call_user_func_array(Array, Array)
#12 /code/web/core/lib/Drupal/Core/Form/FormBuilder.php(375): Drupal\Core\Form\FormBuilder->retrieveForm('view_preview_fo...', Object(Drupal\Core\Form\FormState))
#13 /code/web/core/lib/Drupal/Core/Form/FormBuilder.php(633): Drupal\Core\Form\FormBuilder->rebuildForm('view_preview_fo...', Object(Drupal\Core\Form\FormState), Array)
#14 /code/web/core/lib/Drupal/Core/Form/FormBuilder.php(325): Drupal\Core\Form\FormBuilder->processForm('view_preview_fo...', Array, Object(Drupal\Core\Form\FormState))
#15 /code/web/core/lib/Drupal/Core/Controller/FormController.php(73): Drupal\Core\Form\FormBuilder->buildForm(Object(Drupal\views_ui\ViewPreviewForm), Object(Drupal\Core\Form\FormState))
#16 /code/web/core/modules/layout_builder/src/Controller/LayoutBuilderHtmlEntityFormController.php(39): Drupal\Core\Controller\FormController->getContentResult(Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\RouteMatch))
#17 [internal function]: Drupal\layout_builder\Controller\LayoutBuilderHtmlEntityFormController->getContentResult(Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\RouteMatch))
#18 /code/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array)
#19 /code/web/core/lib/Drupal/Core/Render/Renderer.php(627): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#20 /code/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(121): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#21 /code/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array)
#22 /code/vendor/symfony/http-kernel/HttpKernel.php(181): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#23 /code/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#24 /code/web/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#25 /code/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#26 /code/web/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#27 /code/web/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#28 /code/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#29 /code/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#30 /code/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#31 /code/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#32 /code/web/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#33 /code/web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#34 /code/web/core/lib/Drupal/Core/DrupalKernel.php(704): Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#35 /code/web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#36 {main}
🐛 Bug report
Status

Closed: works as designed

Version

1.3

Component

Code

Created by

🇺🇸United States erutan

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

Comments & Activities

Production build 0.71.5 2024