Problem/Motivation
Warning message
Steps to reproduce
Just installed it on a client's website and got warning message:
Warning: Undefined array key "translatable" in Drupal\entity_reports\ReportGenerator->generateEntityStatisticsReport() (line 346 of modules/contrib/entity_reports/src/ReportGenerator.php).
Drupal\entity_reports\ReportGenerator->generateEntityStatisticsReport('node', 'album') (Line: 105)
Drupal\entity_reports\ReportGenerator->getEntityTypeStructure('node') (Line: 122)
Drupal\entity_reports\Controller\EntityReportsController->displayReport('node')
call_user_func_array(Array, Array) (Line: 123)
any warnings and exceptions should be handled appropriately
Issue fork entity_reports-3315873
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
jannakha commentedComment #3
gisleSite moderator here. I'v deleted an empty commit to issue fork by shwetaDevkate. Since any commit (including empty ones) provides automatic issue credit, empty commits is recognized as one way top game our issue credit system. For the record: This user has created a lot of such emtpty commits.
Comment #4
sgarsivaz commentedI encountered same problem. every entity I choose this warning comes up!
or
actually this warning comes up in 2.0.0 version for me !
Comment #5
ultimikeI am still seeing the issue in 2.0.0 as well.
-mike
Comment #6
jannakha commentedComment #8
jannakha commentedMR of 3315873-unhandled-warning-undefined-2x for v2.0.x branch
- maintainer - can you please set 2.0.x as default branch on the repo
Comment #11
vladimirausThank you! Committed! 🥂