fieldable_panels_panes_preprocess_panels_pane() throws notices if it doesn't get an entity for whatever reason.
Patch forthcoming.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 1766182-fieldable_panels_panes_preprocess_panels_pane.patch | 1.04 KB | webflo |
| #1 | 1766182-fail_gracefully.patch | 659 bytes | cweagans |
Comments
Comment #1
cweagansComment #2
webflo commentedI have the same problem and use this patch.
Comment #3
dave reidMaybe it would be easier/cleaner to wrap the $entity = fieldable_panels_panes_load_entity($vars['pane']->subtype); itself in an if:
Comment #4
dave reidCommitted the version in #3 to Git. Thanks everyone! http://drupalcode.org/project/fieldable_panels_panes.git/commit/eb13aae