Closed (fixed)
Project:
Teka Theme
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Jan 2017 at 14:51 UTC
Updated:
27 Feb 2017 at 12:24 UTC
Jump to comment: Most recent
Error: Notice: Undefined index: type in teka_preprocess_node() (line 34 of themes/contrib/teka/teka.theme).
In Drupal 8 we need to use $vars['node']->getType() instead of $vars['type'] in template_preprocess_node.
Here's a patch attached.
| Comment | File | Size | Author |
|---|---|---|---|
| fixes-node-tpl-suggestion-D8.patch | 490 bytes | brunorios1 |
Comments
Comment #3
adrianopulzPatch applied to development branch. Will be added to the next release.
Thanks.