I have a user entity reference field using this module as the widget. I get the following drupal error message when I am adding or editing the referring node:

Notice :Undefined property: view::$dom_id in template_preprocess_views_view() (line 116 of [path]/sites/all/modules/views/theme/theme.inc

#5 1667296-views-fix.patch742 bytesdawehner


Anonymous’s picture

I have same problem. Could you solve until now your problem?

dgastudio’s picture

same here

spacereactor’s picture

dawehner’s picture

Title:Views theming error» Undefined dom_id because $view->pre_execute didn't runned
Status:Active» Needs review

I didn't tested the patch, so this is just a rough suggestion how to improve the code that the problem
doesn't occur anymore.

dawehner’s picture

742 bytes

Bazinga, here is the patch.

OnkelTem’s picture

Status:Needs review» Reviewed & tested by the community
bojanz’s picture

Status:Reviewed & tested by the community» Fixed

Committed, thanks!

Danny-K’s picture

Had a similar issue on my site:
Undefined property: view::$dom_id in template_preprocess_views_view() (line..........

Manually applied this patch on views 7.x-3.5 and it solved the issue.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.