Closed (duplicate)
Project:
Open Media Show
Version:
6.x-2.0-alpha1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
25 Jan 2011 at 01:02 UTC
Updated:
19 Sep 2011 at 22:20 UTC
Call to a member function execute_display() on a non-object in om_show/om_show.module on line 538
om_show_project_shows isn't included with the Om_Show module.
Thanks to darrick for pointing out what I missed so quickly.
Comments
Comment #1
bhasselbeck commentedfunction om_show_user_shows($user) {
$args = array($user->uid);
$view = views_get_view('om_show_my_shows');
$output = $view->execute_display('default', $args);
print theme('page', $output);
}
function om_show_my_shows($user) {
//global $user;
$args = array($user->uid);
$view = views_get_view('om_show_my_shows');
$output = $view->execute_display('default', $args);
print theme('page', $output);
}
I'm trying to debug this, needs some help Kevin...
Evidentially execute_display() isn't the right value... please help!!
Comment #2
lkacenjaPretty sure this is due to that view not being installed with the module. Which I think is related to http://drupal.org/node/561478 Need to make sure al proper views come along for the ride. Going to close for now re open if this is incorrect or still applicable.