- 🇮🇹Italy kopeboy Milan
I tried applying the "patch" and using the module on a virgin Drupal 10.0.9
- no errors where given on install or configuration page
- on the entity tab no graph is shown though, only the text version of the Graphviz object (if option enabled)
The error logged is:
Deprecated function: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in Drupal\entity_dependency_visualizer\Controller\Graphviz->getNodeLabel() (line 177 of /var/www/html/web/modules/entity_dependency_visualizer/src/Controller/Graphviz.php)
Can somebody help make this D10 compatible? 🙏🏻 This would be a really useful module.
- Status changed to RTBC
over 1 year ago 7:25pm 19 May 2023 - 🇮🇹Italy kopeboy Milan
Adding
?? ''
afterlabel
at line 177 of /src/Controller/Graphviz.php removed the error in #4The graph instead is probably not showing because I didn't install the js library 😅 cause I can't use
composer require drupal/entity_dependency_visualizer
..
I guess that wouldn't give problems though, since is not PHP nor dependent on Drupal?Could you please provide a new (D10) release with just these 2 tiny changes? Thank you
- First commit to issue fork.
Automatically closed - issue fixed for 2 weeks with no activity.