• florian385

    (@florian385)


    Hi,

    i’ve got an error, if i call “new WC_Order($order->ID)”; I’ve deactivate all other Plugins, switch to Twenty Seventeen Theme, but the error occured.

    PHP Fatal error: Uncaught exception 'Exception' with message 'Ungültige Bestellung.' in /var/www/aiya/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php:86 
    Stack trace: 
    #0 /var/www/aiya/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(143): Abstract_WC_Order_Data_Store_CPT->read(Object(WC_Order)) 
    #1 /var/www/aiya/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(109): WC_Data_Store->read(Object(WC_Order)) 
    #2 /var/www/aiya/wp-content/themes/aiya/includes/woocommerceSettings.php(197): WC_Abstract_Order->__construct('5793') 
    #3 /var/www/aiya/wp-content/themes/aiya/includes/woocommerceSettings.php(216): exportPendingOrders() 
    #4 /var/www/aiya/wp-content/themes/aiya/functions.php(1291): require_once('/var/www/aiya/w...') 
    #5 /var/www/aiya/wp-settings.php(425): include('/var/www/aiya/w...') 
    #6 /var/www/aiya/wp-config.php(81): require_once('/var/www/aiya/w...') 
    #7 /var/www/aiya/wp-load.php(37): require_once('/var/www/aiya/w...') 
    #8 /var/www/aiya/wp-admin/admin. in /var/www/aiya/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php on line 86
    
    ### WordPress Environment ###
    
    Home URL: http://aiya.herrlich-media.de
    Site URL: http://aiya.herrlich-media.de
    WC Version: 3.0.6
    Log Directory Writable: ✔
    WP Version: 4.7.5
    WP Multisite: –
    WP Memory Limit: 300 MB
    WP Debug Mode: ✔
    WP Cron: ✔
    Language: de_DE
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: ❌ 5.4.45-0+deb7u8 - Wir empfehlen mindestens die PHP Version 5.6. Siehe: So aktualisierst Du Deine PHP-Version
    PHP Post Max Size: 100 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.26.0
    OpenSSL/1.0.1t
    
    SUHOSIN Installed: –
    MySQL Version: ❌ 5.5.55 - Wir empfehlen mindestens MySQL-Version 5.6. Siehe: WordPress-Anforderungen
    Max Upload Size: 100 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 3.0.6
    WC Database Prefix: wp_
    woocommerce_sessions: ✔
    woocommerce_api_keys: ✔
    woocommerce_attribute_taxonomies: ✔
    woocommerce_downloadable_product_permissions: ✔
    woocommerce_order_items: ✔
    woocommerce_order_itemmeta: ✔
    woocommerce_tax_rates: ✔
    woocommerce_tax_rate_locations: ✔
    woocommerce_shipping_zones: ✔
    woocommerce_shipping_zone_locations: ✔
    woocommerce_shipping_zone_methods: ✔
    woocommerce_payment_tokens: ✔
    woocommerce_payment_tokenmeta: ✔
    
    ### Security ###
    
    Secure connection (HTTPS): ❌Dein Shop benutzt kein HTTPS. Erfahre mehr über HTTPS und SSL-Zertifikate.
    Hide errors from visitors: ❌Fehlermeldungen sollten Besuchern nicht angezeigt werden.
    
    ### Active Plugins (1) ###
    
    WooCommerce: von Automattic – 3.0.6 – 3.0.7 ist verfügbar
    
    ### Settings ###
    
    API Enabled: ✔
    Force SSL: –
    Currency: EUR (€)
    Currency Position: left
    Thousand Separator: .
    Decimal Separator: ,
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    ### WC Pages ###
    
    Shop-Basis: #37 - /shop/
    Warenkorb: #38 - /warenkorb/
    Kasse: #39 - /kasse/
    Mein Konto: #40 - /mein-konto/
    
    ### Theme ###
    
    Name: Twenty Seventeen
    Version: 1.2
    Author URL: https://de.wordpress.org/
    Child Theme: ❌ – Wenn du WooCommerce mit einem Theme
    das du nicht selbst entwickelt hast
    an eigene Bedürfnisse anpasst
    dann empfehlen wir die Verwendung eines Child Themes. Siehe Wie du ein Child Theme erstellst (engl.)
    
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: –
    

The topic ‘PHP Fatal error abstract-wc-order-data-store-cpt.php:86’ is closed to new replies.