I'm getting a Error: Call to a member function getFileUri() on null in Drupal\linkit\Plugin\Linkit\Substitution\Media->getUrl() (line 82 of /var/www/tiu/htdocs/modules/contrib/linkit/src/Plugin/Linkit/Substitution/Media.php) #0 error. I assume because the file has been removed but the reference to the file is still there.
Attached patch checks for this.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2942438-check-file-existance.patch | 906 bytes | Johnny vd Laar |
Comments
Comment #2
Johnny vd Laar commentedComment #4
anonThen I see this as a "work as designed". Linkit shouldn't cover up others mistakes.
Comment #5
anon