Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2009
    Location
    Essex, UK
    Posts
    446
    Plugin Contributions
    0

    Default Can't see order list in Admin

    Hi all

    I have just upgraded our website on XAMPP from 1.5.4 to 1.5.6C and I have a pretty major issue:

    in the back end, I go to Customers > Orders and I am greeted with a blank screen

    The error log reads

    Code:
    [29-Jan-2020 16:13:42 Europe/Berlin] PHP Fatal error:  Uncaught Error: Call to a member function get_content_type() on null in \mypath\includes\classes\order.php:281
    Stack trace:
    #0 \mypath\includes\classes\order.php(50): order->cart()
    #1 \mypath\myadmin\orders.php(90): order->__construct(false)
    #2 {main}
      thrown in \mypath\includes\classes\order.php on line 281
    
    
    [29-Jan-2020 16:13:42 Europe/Berlin] Request URI: \mypath\myadmin\orders.php, IP address: ::1
    --> PHP Fatal error: Uncaught Error: Call to a member function get_content_type() on null in \mypath\includes\classes\order.php:281
    Stack trace:
    #0 \mypath\includes\classes\order.php(50): order->cart()
    #1 \mypath\myadmin\orders.php(90): order->__construct(false)
    #2 {main}
      thrown in \mypath\includes\classes\order.php on line 281.
    \mypath\includes\classes\order.php:281 read

    Code:
       $this->content_type = $_SESSION['cart']->get_content_type();
    \includes\classes\order.php(50) reads (in red)

    Code:
     $this->notify('NOTIFY_ORDER_INSTANTIATE', array(), $order_id);
        if (zen_not_null($order_id)) {
          $this->query($order_id);
        } else {
          $this->cart();
        }
      }
    And \mypath\myadmin\ line 90 reads in red

    Code:
     $jsweb_sage_pay_admin_module = null;
      
      if (isset($oID) && (!isset($order) || !isset($order->info['payment_module_code']))) {
        $order = new order($oID);
      }
    I have asked Sagepay as well, I was just wondering if it was anyhting obvious?

    I welcome any help.
    Debbie Harrison
    DVH Design | Web Design blog

  2. #2
    Join Date
    Mar 2009
    Location
    Essex, UK
    Posts
    446
    Plugin Contributions
    0

    Default Re: Can't see order list in Admin

    I have disabled the SagePay module but am still getting errors

    Code:
    [29-Jan-2020 16:29:07 Europe/Berlin] Request URI: \mypath\myadmin\orders.php, IP address: ::1
    --> PHP Fatal error: Uncaught Error: Call to a member function get_content_type() on null in \mypath\includes\classes\order.php:281
    Stack trace:
    #0 \mypath\includes\classes\order.php(50): order->cart()
    #1 \mypath\myadmin\orders.php(90): order->__construct(false)
    #2 {main}
      thrown in \mypath\includes\classes\order.php on line 281.
    Debbie Harrison
    DVH Design | Web Design blog

  3. #3
    Join Date
    Mar 2009
    Location
    Essex, UK
    Posts
    446
    Plugin Contributions
    0

    Default Re: Can't see order list in Admin

    Actually sorted. I uploaded the fresh copies and now I can see it again.

    Feel free to delete this post if its of no benefit. :)
    Debbie Harrison
    DVH Design | Web Design blog

 

 

Similar Threads

  1. user setting - some see call for price - some see price and can order online
    By bagadowe in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 1 Dec 2009, 11:14 PM
  2. Can I change admin list of orders to sort by date-purchased instead of by order num?
    By absoluteblock in forum Managing Customers and Orders
    Replies: 0
    Last Post: 17 Nov 2009, 11:32 PM
  3. If I delete order can customer see it in order history?
    By krazykev in forum Managing Customers and Orders
    Replies: 3
    Last Post: 22 Jun 2009, 01:26 PM
  4. Why can't I see my new template in the Admin Template-Select list?
    By cthatche in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 Apr 2009, 05:50 PM
  5. how to add note to an order that only admin can see
    By stog in forum General Questions
    Replies: 0
    Last Post: 23 Aug 2008, 09:26 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR