I created an entity type through ecks ui, added an entityreference field to article content type and referenced an entity of the newly created type. Using 'Rendered entity' display formatter I get the following warnings:

Notice: Undefined variable: url in include() (line 35 of /home/xpete/public_html/commerce/profiles/commerce_kickstart/modules/entity/entity.tpl.php).
Notice: Undefined variable: url in include() (line 35 of /home/xpete/public_html/commerce/profiles/commerce_kickstart/modules/entity/entity.tpl.php).
Notice: Undefined variable: url in include() (line 35 of /home/xpete/public_html/commerce/profiles/commerce_kickstart/modules/entity/entity.tpl.php).
Notice: Undefined variable: url in include() (line 35 of /home/xpete/public_html/commerce/profiles/commerce_kickstart/modules/entity/entity.tpl.php).

Comments

acrazyanimal’s picture

Status: Active » Closed (duplicate)

This is a problem with Entity api. It happens when you're trying to display an entity with the title, but without displaying it as a page. $page variable in entity_view set to FALSE.

See #1601162: Undefined variable: url in entity.tpl.php.