Filter By Type dropdown not working

Created on 12 January 2022, about 3 years ago
Updated 6 September 2024, 5 months ago

Problem/Motivation

The "Filter By Type" dropdown no longer works either due to an update of the module or a core update (both were updated recently). I get tons of "Notice" messages on the main Paragraphs Report page complaining about "Undefined index".

Steps to reproduce

* Go to /admin/reports/paragraphs-report
* Note all the "Notice: Undefined index: [paragraph-type] in Drupal\paragraphs_report\ParagraphsReport->getParaUseCounts() (line 670 of modules/contrib/paragraphs_report/src/ParagraphsReport.php)." notices
* Note that the "Filter By Type" dropdown only has the "All" option

Partial resolution

* Uninstalling the module and then reinstalling the module makes the "Filter By Type" dropdown work again, but the Notices still show up if such information is visible to the current user (eg. I see it on dev, but not on prod).

Remaining tasks

* Fix Notices that appear on the main Paragraphs Report page (/admin/reports/paragraphs-report)

πŸ› Bug report
Status

Closed: outdated

Version

1.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mjchadwick

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States generalredneck Texas, USA πŸ‡ΊπŸ‡Έ

    I'm marking this one as outdated since it's for an old version and there hasn't been any movement here. I suspect that there wasn't an update to the configuration via an update hook given that it looks like this may be related to checking settings

  • πŸ‡ΊπŸ‡ΈUnited States generalredneck Texas, USA πŸ‡ΊπŸ‡Έ
Production build 0.71.5 2024