- Issue created by @jajamaru09
- Status changed to RTBC
11 months ago 4:31pm 27 January 2024 - Status changed to Fixed
11 months ago 4:43pm 27 January 2024 Automatically closed - issue fixed for 2 weeks with no activity.
Revision Graph tab is not shown on Drupal10.
Accessing revision graph page directly causes access denied error.
web/node/1/revision_graph > access denied.
Install the module 2.1.0 with composer and enable the module.
Login as a administrator.
Open any node. Revision Graph tab is not shown.
It seems routing.yml needs to be updated after drupal9.3.x.
https://www.drupal.org/node/3161210 →
By changing requirements section, the module started working properly.
But Drupal reported Passing null to parameter #1 ($string) of type string is deprecated error.
I made a slight code change to the src/Controller/RevisionGraphNodeController.php file.
https://www.drupal.org/project/node_read_time/issues/3305744
🐛
Deprecated function: strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in Drupal\node_read_time\Calculate\ReadingTime->calculateReadingTime()
Fixed
I made a patch for fixing these. I'm happy if I can be of some help.
Thank you very much,
Fixed
2.1
Code
Automatically closed - issue fixed for 2 weeks with no activity.