I created a page view of some nodes and added fields:
-Panelizer:Link
-Panelizer:Status
The view works, but shows the following error message.
Warning: Missing argument 3 for PanelizerEntityDefault::panelizer_access(), called in /Users/glenn/websites/7c9d097f-0bc1-457d-8314-1d9e37f102bf/profiles/cmf/modules/contrib/panelizer/plugins/views/panelizer_handler_field_link.inc on line 66 and defined in PanelizerEntityDefault->panelizer_access() (line 1184 of /Users/glenn/websites/7c9d097f-0bc1-457d-8314-1d9e37f102bf/profiles/cmf/modules/contrib/panelizer/plugins/entity/PanelizerEntityDefault.class.php). (x10)
It looks like the panelizer_access function in panelizer_handler_field_link.inc is called without a third parameter which I think is expecting the $view_mode.
Patch is coming shortly
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 2103265-fix-panelizer_access-warnings.patch | 947 bytes | gmclelland |
Comments
Comment #1
gmclelland commentedHere's the simple one line patch that worked for me.
Hope that helps
Comment #2
damienmckennaExcellent catch, thank you gmclelland! Committed!