When enabling this module or after clearing the caches this error message appears:

Notice: Undefined variable: view in function node_embed_views_default_views() (line: 168 in file .../node_embed/node_embed.module).

Reproducible in both 7.x-1.1 and 7.x-1.x-dev. (PHP 5.3.15)

Comments

radimklaska’s picture

Status: Active » Needs review
StatusFileSize
new448 bytes

It's caused by include_once. I think the file is probably already included by views or something.
Patch changes include_once to include.

moonray’s picture

Status: Needs review » Reviewed & tested by the community

Similar problem, but $view->name doesn't exist. Patch fixes the problem.

bleen’s picture

RTBC++

siliconmeadow’s picture

Another RTBC here.

siliconmeadow’s picture

Another RTBC here. (double clicked by accident - dang it! Dang it to heck!)

  • MrHaroldA committed 8bc34ae on 7.x-1.x
    Issue #1947006 by radimklaska: include fix + cleanup
    
mrharolda’s picture

Issue summary: View changes
Status: Reviewed & tested by the community » Fixed

Fixed! Only took 1,5 years ;)

Status: Fixed » Closed (fixed)

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