Active
Project:
Find Text
Version:
3.0.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Oct 2026 at 17:23 UTC
Updated:
28 Oct 2026 at 22:06 UTC
Jump to comment: Most recent
When using the find_text module to search content on Drupal 11.4.7, if any indexed node has a deleted or missing owner, an AJAX error occurs with a fatal error: "Call to a member function getDisplayName() on null."
Add a null check before calling getDisplayName() on the node owner. If the owner is null, display 'N/A' instead of crashing.
Also update the catch block to handle Throwable in addition to Exception to prevent null dereference errors from crashing the entire request.
| Comment | File | Size | Author |
|---|---|---|---|
| find_text-null-owner-fatal.patch | 695 bytes | uri_frazier |
Comments
Comment #2
cskeers commentedThis should be fixed in #3633967 (c706783a). A missing owner shows a blank author instead of a fatal error.