Authenticated users can not see own Ubercart order detail
I found the offending code. It was the code for a block to display a link to "My Orders" if the user had any orders. I removed this code from the block, and the order detail now displays for authenticated user.

The offending code:

global $user;

$uid = $user-&gt;uid;

// print 'This is my user id ' . $uid;

        $count = 0;
        $args = array($uid);
        $view = views_get_view('uc_orders_user');
        $view-&gt;preview('page', $args);
        $count = sizeof($view-&gt;result);

// drupal_set_message($count);

  if ($count &gt; 0) {
    return TRUE;
  } else {
    return FALSE;
  }


Do not know why this code causes the error, but it does.  If I find a way to tweak it to work, I'll post it here.