Closed (duplicate)
Project:
Views tree
Version:
6.x-1.0
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 May 2010 at 17:47 UTC
Updated:
7 Jun 2010 at 16:01 UTC
I realize this may be more of a concept mod than a full release, but I'd really like it for a project.
When I try this out with Views 6.x-2.10 using a simple example with nodereference & nid fields I get:
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'theme_views_tree' was given in pathto/drupal-6.16/includes/theme.inc on line 656.
and nothing else renders.
Comments
Comment #1
joachim commentedSame here.
The plugin needs a validation method so the view doesn't try to render (and can't be saved) until everything it needs is set up.
Comment #2
joachim commentedI got this initially by selecting the style plugin before there were any fields to pick, though even now I've picked some I still get it.
Comment #3
joachim commentedThe culprit is this commented out line:
'theme file' => 'views_tree.theme.inc',
Comment #4
Crell commented#812070: When using the view no output is shown - looking in the view "Theme: Information" shows no style for "views-tree.tpl.php" - Same issue over here, with more info.