- Issue created by @primus
- Status changed to Closed: duplicate
over 1 year ago 2:46pm 23 August 2023
When trying to add a custom block for cards in the layout builder I get the following errors:
Uncaught PHP Exception Twig\\Error\\RuntimeError: "The "filter" filter expects an array or "Traversable", got "NULL"." at modules\\contrib\\uswds_paragraph_components\\modules\\uswds_paragraph_components_cards\\templates\\paragraph--uswds-card-group-regular.html.twig line 58
And the ajax error:
Uncaught
Object { message: "\nAn AJAX HTTP error occurred.\nHTTP Result Code: 500\nDebugging information follows.\nPath: /layout_builder/add/block/overrides/node.138676/0/content/inline_block%3Acard_?_wrapper_format=drupal_ajax&ajax_form=1\nStatusText: 500 Service unavailable (with message)\nResponseText: The website encountered an unexpected error. Please try again later.", name: "AjaxError", stack: "@http://hitd8.test/core/misc/ajax.js?v=9.4.10:110:32\n@http://hitd8.test/core/misc/ajax.js?v=9.4.10:676:3\n" }
β
message: "\nAn AJAX HTTP error occurred.\nHTTP Result Code: 500\nDebugging information follows.\nPath: /layout_builder/add/block/overrides/node.138676/0/content/inline_block%3Acard_?_wrapper_format=drupal_ajax&ajax_form=1\nStatusText: 500 Service unavailable (with message)\nResponseText: The website encountered an unexpected error. Please try again later."
I also cannot see any configuration options when I try to add the Card Block.
Closed: duplicate
2.4
Code