Running Drupal 6.x-dev there's quite a few PHP warnings:

# notice: Undefined variable: allow in /sites/all/modules/panels/panels_views/panels_views.module on line 439.
# notice: Undefined variable: allow in /sites/all/modules/panels/panels_views/panels_views.module on line 448.
# notice: Undefined variable: allow in /sites/all/modules/panels/panels_views/panels_views.module on line 449.
# notice: Undefined property: panels_plugin_display_panel_pane::$get_option in /sites/all/modules/panels/panels_views/panels_views.module on line 449.
# notice: Undefined variable: allow in /sites/all/modules/panels/panels_views/panels_views.module on line 454.
# notice: Undefined variable: allow in /sites/all/modules/panels/panels_views/panels_views.module on line 455.
# notice: Undefined property: panels_plugin_display_panel_pane::$get_option in /sites/all/modules/panels/panels_views/panels_views.module on line 455.
# notice: Undefined variable: allow in /sites/all/modules/panels/panels_views/panels_views.module on line 463.
# notice: Undefined variable: allow in /sites/all/modules/panels/panels_views/panels_views.module on line 467.
# notice: Undefined variable: allow in /sites/all/modules/panels/panels_views/panels_views.module on line 470.
# notice: Undefined property: view::$total_rows in /sites/all/modules/panels/panels_views/panels_views.module on line 478.
# notice: Undefined variable: allow in /sites/all/modules/panels/panels_views/panels_views.module on line 482.
# notice: Undefined variable: allow in /sites/all/modules/panels/panels_views/panels_views.module on line 483.
# notice: Undefined property: panels_plugin_display_panel_pane::$get_option in /sites/all/modules/panels/panels_views/panels_views.module on line 483.

Comments

drewish’s picture

Component: Code » Views panes
drewish’s picture

Status: Active » Needs work
StatusFileSize
new1.05 KB

half the problem is that it was missing:

 $allow = $view->display_handler->get_option('allow');

not sure on the other bit causing:

# notice: Undefined property: panels_plugin_display_panel_pane::$get_option in /sites/all/modules/panels/panels_views/panels_views.module on line 451.
# notice: Undefined property: panels_plugin_display_panel_pane::$get_option in /sites/all/modules/panels/panels_views/panels_views.module on line 457.
# notice: Undefined property: view::$total_rows in /sites/all/modules/panels/panels_views/panels_views.module on line 480.
# notice: Undefined index: feed_icons in /sites/all/modules/panels/panels_views/panels_views.module on line 484.
# notice: Undefined index: feed_icons in /sites/all/modules/panels/panels_views/panels_views.module on line 485.
# notice: Undefined property: panels_plugin_display_panel_pane::$get_option in /sites/all/modules/panels/panels_views/panels_views.module on line 485.
drewish’s picture

StatusFileSize
new2.67 KB

This gets it down to just:

    * notice: Undefined index: feed_icons in sites/all/modules/panels/panels_views/panels_views.module on line 484.
    * notice: Undefined index: feed_icons in sites/all/modules/panels/panels_views/panels_views.module on line 485.

Those seem like they need to have the feed_icons option added to the views_plugin_display class... but I'm not sure that's correct.

drewish’s picture

Status: Needs work » Needs review
StatusFileSize
new2.25 KB

removed some whitespace changes. i guess is ready for review but as i noted in #3 there's more that could be done.

drewish’s picture

StatusFileSize
new4.68 KB

Fixed a few more:

# notice: Undefined variable: items in sites/all/modules/panels/plugins/content_types/profile_fields.inc on line 21.
# notice: Undefined variable: pv in sites/all/modules/panels/panels_views/panels_views.module on line 511.
# notice: Trying to get property of non-object in sites/all/modules/panels/panels_views/panels_views.module on line 511.
# notice: Undefined variable: form in sites/all/modules/panels/panels_views/panels_views.module on line 608.

Still to be addressed:

# notice: Undefined index: context in sites/all/modules/panels/panels_views/panels_views.module on line 134.
# notice: Undefined index: feed_icons in sites/all/modules/panels/panels_views/panels_views.module on line 484.
# notice: Undefined index: feed_icons in sites/all/modules/panels/panels_views/panels_views.module on line 485.
# notice: Undefined index: feed_icons in sites/all/modules/panels/panels_views/panels_views.module on line 548.
# notice: Undefined index: middle in sites/all/modules/panels/includes/display-edit.inc on line 205.
# notice: Undefined property: stdClass::$title in sites/all/modules/panels/includes/display-render.inc on line 187.
drewish’s picture

marked #350997: Undefined property error as a duplicate

drewish’s picture

StatusFileSize
new6.47 KB

Fixed a few more:

# notice: Undefined property: stdClass::$title in sites/all/modules/panels/includes/display-render.inc on line 187.
# notice: Undefined index: context in sites/all/modules/panels/panels_views/panels_views.module on line 134.

Still to be addressed:

# notice: Undefined index: feed_icons in sites/all/modules/panels/panels_views/panels_views.module on line 484.
# notice: Undefined index: feed_icons in sites/all/modules/panels/panels_views/panels_views.module on line 485.
# notice: Undefined index: feed_icons in sites/all/modules/panels/panels_views/panels_views.module on line 548.
# notice: Undefined index: middle in sites/all/modules/panels/includes/display-edit.inc on line 205.
merlinofchaos’s picture

Committed #7. Leaving open as there are a few more to be addressed.

merlinofchaos’s picture

Status: Needs review » Fixed

Of course, reading #8 I'm confused as to what more needs to be addressed. Let's mark this fixed and open new issues for additional notices.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.