Drupal 11 compatibility

Created on 31 March 2025, 6 days ago

Problem/Motivation

Make this module compatible with Drupal 11.

Steps to reproduce

After apply this Automated Drupal 11 compatibility fixes πŸ“Œ Automated Drupal 11 compatibility fixes for views_insert_blocks Needs review core requirements patch, there are thrown the following errors on a D11 installation:

  • ArgumentCountError: Too few arguments to function Drupal\views_insert_blocks\Form\BlockListForm::__construct(), 3 passed in /app/web/modules/contrib/views_insert_blocks/src/Form/BlockListForm.php on line 46 and exactly 4 expected in Drupal\views_insert_blocks\Form\BlockListForm->__construct() (line 26 of /app/web/modules/contrib/views_insert_blocks/src/Form/BlockListForm.php).
  • Error: Call to undefined method Drupal\search_api\Query\Query::countQuery() in views_insert_blocks_views_post_render() (line 38 of /app/web/modules/contrib/views_insert_blocks/views_insert_blocks.module).

Proposed resolution

Review and update the code for make it compatible with D11.

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡΄Colombia carma03

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024