This PHP notice is issued when a renderable has no #markup attribute, but does have a registered render_cache_entity_view_callback function.
Notice: Undefined index: #markup in render_cache_entity_view_callback() (line 165 of sites/all/modules/contrib/render_cache/render_cache.module).
Is this a valid use, and if so, what should render_cache_entity_view_callback() be doing instead?
Comments
Comment #1
fabianx commentedThis is a valid bug. It happens when a post render cache function is set, but the markup has not yet been rendered (render late option). We should not call the render late option in that case.
Comment #2
fabianx commentedWe have taken care of this when committing the right render cache post render patch.
Only thing that might be needed is to add to docs that render_cache_render_late option does not work together with post render callbacks, but as neither is documented so far, this is a rather moot point.