On trying to add a view pane to a panel...

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /panels/ajax/editor/add-pane/3/middle/views_panes/test_view-panel_pane-one
StatusText: OK
ResponseText: 
Fatal error:  Call to undefined method views_plugin_display_default::get_argument_input() in ..snip../drupal/sites/all/modules/ctools/views_content/plugins/content_types/views_panes.inc on line 363

Comments

merlinofchaos’s picture

Hmm. This indicates that you have a content pane display listed and it's trying to use it; when it tries to set the view to that display, it fails, and it gets the default display instead. This is pretty much a fatal error, and while I should put in some code to make the error a little more graceful, it's still going to be broken.

So that leads us to the question of...how did you actually get into this situation? I have been playing with content panes for a bit and it hasn't happened for me. It's possible there's some caching issue going on. Did you change/modify/delete the view that this is working on prior to making this edit?

merlinofchaos’s picture

Status: Active » Fixed

I've gone ahead and committed to fix to make this failure more graceful, at least. I'm not sure I'm going to be able to do much better than this. :/

Status: Fixed » Closed (fixed)

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

zarudnyi’s picture

Status: Closed (fixed) » Active

Hi, I got this error after changing machine name for views display. I used "-" as word separator, after replacing "-" with "_" ("recent_books" instead "recent-books") it works fine.
So if hyphens was not allowed in display machine name it should be specified in form help text.
Thank You for help.

merlinofchaos’s picture

Status: Active » Closed (fixed)

Hm. Views should not let you use a - in the display id. Check Views, there may be an issue about that already. That's a Views bug, though.