- 🇧🇬Bulgaria yivanov
Closing it, as it is an old issue and not related to the Node read time itself.
I'm using node_read_time.reading_time service in my custom module. When I try to add paragraphs and save. It thows an error like a the ones below. It was working totally fine until, I upgraded Drupal core to 9.4.1
The website encountered an unexpected error. Please try again later.
AssertionError: Cannot load the "paragraph" entity with NULL ID. in assert() (line 295 of core/lib/Drupal/Core/Entity/EntityStorageBase.php).
assert(, 'Cannot load the "paragraph" entity with NULL ID.') (Line: 295)
Drupal\Core\Entity\EntityStorageBase->load(NULL) (Line: 167)
Drupal\corp_api\Calculate\ReadTime->collectWords(Object) (Line: 37)
Looking at the bit more in detail, I've found that issue is coming from line 165 of ReadingTime.php file. It might not be issue with module but as I metioned it works fine on Drupal 9.3.16
Any idea or suggestions?
Closed: outdated
1.6
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Closing it, as it is an old issue and not related to the Node read time itself.