- ๐บ๐ธUnited States yospyn
In Drupal 10 using either 5.4 or 5.5 alpha I'm getting a PHP error using this patch, so had to remove it:
DivisionByZeroError: Modulo by zero in template_preprocess_views_view_grid() (line 720 of /app/web/core/modules/views/views.theme.inc).
Tables work well, but if I was using something besides tables for the view display it would break (such as a grid).
- ๐บ๐ธUnited States j_s
Same issue as reported by 12: patch #11 produces a white-screen fatal error regarding a modulo by zero using Drupal 10.2.3 and Views Bootstrap 5.4.0.
A warning also comes up:
Warning: Undefined array key "alignment" in template_preprocess_views_view_grid() (line 715 of core/modules/views/views.theme.inc).
- ๐ฌ๐งUnited Kingdom joehuggans Harrogate, UK
Do we need the
template_preprocess_views_view_table
preprocessing for theviews_bootstrap_grid
hook?Because it seems to work without these, but I haven't tested with Grids extensively.
Please test this patch - Drupal 10.3.6
- ๐ฎ๐ณIndia ravi kant Jaipur
ravi kant โ made their first commit to this issueโs fork.
- ๐ฎ๐ณIndia ravi kant Jaipur
The patch #14 is working as accepted so crated MR.