• Resolved nrtdesign

    (@nrtdesign)


    When viewing the invoice, I get a Fatal Error call where it should be displaying the order items. Below is the error:

    Fatal error: Uncaught Error: Call to a member function get_id() on boolean in /home/bigtensu/public_html/wp-content/plugins/woo-invoices/includes/output-filters.php:431 Stack trace: #0 /home/bigtensu/public_html/wp-includes/class-wp-hook.php(286): sliced_display_woocommerce_line_items(‘<table class=”t…’) #1 /home/bigtensu/public_html/wp-includes/plugin.php(203): WP_Hook->apply_filters(‘<table class=”t…’, Array) #2 /home/bigtensu/public_html/wp-content/plugins/sliced-invoices/includes/template-tags/sliced-tags-display-modules.php(210): apply_filters(‘sliced_invoice_…’, ‘<table class=”t…’) #3 /home/bigtensu/public_html/wp-content/plugins/sliced-invoices/public/templates/sliced-invoice-display.php(90): sliced_display_line_items() #4 /home/bigtensu/public_html/wp-includes/template-loader.php(74): include(‘/home/bigtensu/…’) #5 /home/bigtensu/public_html/wp-blog-header.php(19): require_once(‘/home/bigtensu/…’) #6 /home/bigtensu/public_html/index.php(17): require(‘/home/bigtensu/…’) #7 {main} thrown in /home/bigtensu/public_html/wp-content/plugins/woo-invoices/includes/output-filters.php on line 431

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author SlicedInvoices

    (@slicedinvoices)

    Can you please paste in your system info from Sliced Invoices > Tools > System Info? Feel free to remove anything that would identify the site or domain if you’d like.

    ### Begin System Info ###

    /////– Site Info

    Multisite: No

    /////– Hosting Provider

    Host:

    /////– User Browser

    Platform:
    Browser Name:
    Browser Version:
    User Agent String:

    /////– WordPress Configuration

    Version: 4.9.5
    Language: en_US
    Permalink Structure: /%year%/%monthnum%/%day%/%postname%/
    Active Theme: Avada 5.4.2
    Show On Front: page
    Page On Front: Home (#1124)
    Page For Posts: Unset
    Remote Post: wp_remote_post() works
    Table Prefix: Length: 5 Status: Acceptable
    WP_DEBUG: Disabled
    Memory Limit: 128M
    Registered Post Status: publish, future, draft, pending, private, trash, auto-draft, inherit, wc-quote, wc-invoice, wc-pending, wc-processing, wc-on-hold, wc-completed, wc-cancelled, wc-refunded, wc-failed

    /////– Sliced Invoices Configuration

    Version: 3.7.2

    General Settings:
    year_start: 07
    year_end: 06
    pre_defined:
    1 | Web Design | 85 | Design work on the website
    1 | Web Development | 95 | Back end development of website
    footer:
    db_version: 7

    Business Settings:
    name:
    address:

    extra_info:

    website:
    logo_id: 4663
    logo:

    Payment Settings:
    currency_symbol: $
    currency_pos: left
    thousand_sep: ,
    decimal_sep: .
    decimals: 2
    tax: 10
    tax_name: Tax
    payment_page: 1138
    footer:

    Invoices Settings:
    terms: Payment is due within 30 days from date of invoice. Late payment is subject to fees of 5% per month.
    css: body {}
    number: 0002
    prefix: INV-
    increment: on
    template: template1
    invoice_admin_notices: Array
    footer:

    Quotes Settings:
    terms: This is a fixed price quote. If accepted, we require a 25% deposit upfront before work commences.
    css: body {}
    number: 0001
    prefix: QUO-
    increment: on
    template: template1
    accept_quote: on
    accept_quote_text: **Please Note: After accepting this Quote an Invoice will be automatically generated. This will then become a legally binding contract.
    footer:

    Email Settings:
    from:
    name:
    bcc: on
    footer:
    quote_available_subject: New quote %number% available
    invoice_available_subject: New invoice %number% available
    payment_received_client_subject: Thanks for your payment!
    payment_reminder_subject: A friendly reminder
    quote_available_content: Hi %client_first_name%,

    You have a new quote available ( %number% ) which can be viewed at %link%.
    invoice_available_content: Hi %client_first_name%,

    You have a new invoice available ( %number% ) which can be viewed at %link%.
    payment_received_client_content: Thanks for your payment, %client_first_name%.

    Your recent payment for %total% on invoice %number% has been successful.
    payment_reminder_content: Hi %client_first_name%,

    Just a friendly reminder that your invoice %number% for %total% %is_was% due on %due_date%.
    quote_available_button: View this quote online
    invoice_available_button: View this invoice online
    payment_reminder_days: Array

    /////– Must-Use Plugins

    /////– WordPress Active Plugins

    Better Search Replace: 1.3.2
    Contact Form 7: 5.0.1
    Essential Grid: 2.2.4
    Fusion Builder: 1.4.2
    Fusion Core: 3.4.2
    SG Optimizer: 4.0.5
    Sliced Invoices: 3.7.2
    UPS (BASIC) WooCommerce Shipping: 1.2.11
    WooCommerce: 3.3.5
    Woocommerce All Discounts: 2.1.1 (needs update – 2.1.2)
    WooCommerce Stripe Gateway: 4.1.0 (needs update – 4.1.1)
    Woo Invoices: 1.1.3
    WP All Import – WooCommerce Add-On Pro: 2.3.9
    WP All Import Pro: 4.5.1
    WP Private Content Pro: 1.12.1

    /////– WordPress Inactive Plugins

    /////– Webserver Configuration

    PHP Version: 7.0.29
    MySQL Version: 5.6.36
    Webserver Info: Apache

    /////– PHP Configuration

    Safe Mode: Disabled
    Memory Limit: 768M
    Upload Max Size: 128M
    Post Max Size: 128M
    Upload Max Filesize: 128M
    Time Limit: 120
    Max Input Vars: 3000
    Display Errors: On (1)

    /////– PHP Extensions

    cURL: Supported
    fsockopen: Supported
    SOAP Client: Installed
    Suhosin: Not Installed
    Mbstring: Installed

    /////– Session Configuration

    Session: Enabled
    Session Name: PHPSESSID
    Cookie Path: /
    Save Path: /tmp
    Use Cookies: On
    Use Only Cookies: Off

    ### End System Info ###

    Plugin Author SlicedInvoices

    (@slicedinvoices)

    Great, thank you. We’ll do some testing on our end to try and reproduce the issue. Will let you know what we find out.

    Plugin Author SlicedInvoices

    (@slicedinvoices)

    Hi @nrtdesign,

    Is it possible that one of the products on the order in question no longer exists? In other words does the order include a product that was later removed from your WooCommerce product catalog?

    That is possible. I’ll try a new invoice. Thanks for looking into this. I really appreciate it.

    Plugin Author SlicedInvoices

    (@slicedinvoices)

    In the next Woo Invoices update I’ll change the code to handle this possibility more gracefully… and not just throw an error. Thanks for reporting this!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fatal Error’ is closed to new replies.