Warning: Attempt to read property "type" on bool in references_dialog_node_reference_add_link() (line 140 of /app/modules/contrib/references_dialog/references_dialog.dialog_widgets.inc).
This is probably an edge error, but can be easily avoided by checking if node_type_load() returns an actual object and not FALSE. In my case, someone had created a content type, it got referenced in a reference field with a dialog, and then later the content type was deleted.
This is probably an edge error, but can be easily avoided by checking if
node_type_load()
returns an actual object and not FALSE. In my case, someone had created a content type, it got referenced in a reference field with a dialog, and then later the content type was deleted.