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

bhasselbeck’s picture

Title: Call to view om_show_project_shows but the view doesn't exist » Fatal error: Call to a member function execute_display() on a non-object in
Version: 6.x-2.x-dev » 6.x-2.0-alpha1
Issue tags: +execute_display, +om_show, +member function

function 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!!

lkacenja’s picture

Status: Active » Closed (duplicate)

Pretty 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.