I am getting the following error message while updating modules. Currently, I am running 8.7.4 version. Please help if possible so that I can ultimately upgrade to Drupal 9
An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /batch?id=73&op=do_nojs&op=do
StatusText: 500 Service unavailable (with message)
ResponseText: The website encountered an unexpected error. Please try again later.
I have a plan that involves using the new Media Types in Drupal 8/9 tat would allow me to create a Media Type and display templates and options for additional assets such as ZIP archives, Google Maps KML/KMZ files, Word Documents and Excel Spreadsheets, etc.
Each Media Type would have its own fields and Metadata that could be used as text renderable output when items are to be embedded within content nodes along with templates that would format the links using Display/View Modes and templates to control the output.
In block layout, the place block buttons have stopped working. the loading icon appears next to the button after clicking for a moment and then nothing happens. I can right-click them and open them in a new tab, but there is no longer a popup like there used to be. I thought it had something to do with an error I was getting in regards to a custom block. After fixing it, the place button issue still exists. It's such a strange error I'm unsure where to go next to troubleshoot the issue. any recommendations?
I am planning to use hunspell spell checker that is built into a web-assembly .wasm file that is accessed/downloaded via a web-worker though a JavaScript.
I want to know, how can I do such a thing on Drupal? Where to put the required JavaScript and wasm files? Will it be usual library way or there has to be some other method?
Please let me know how can I proceed to achieve this.
I have string that I want to pass to a Drupal block that I need to use in a contextual filter. In a twig template I have a view that creates a simple list of the terms to use, extract the string from the result array as I loop around these results, mapping the required string to a variable that I pass as a parameter to another view block
{% set view-output = drupal_block('views_block:view1-block_1') %}
{% for item in view-output.content['#view'].result %}