• Resolved benoitfouc

    (@benoitfouc)


    hi there, i’ve see this error on my debug.log

    PHP Notice: Trying to get property ‘order_awaiting_payment’ of non-object in /wp-content/plugins/woocommerce/includes/wc-cart-functions.php on line 184

Viewing 4 replies - 1 through 4 (of 4 total)
  • Mirko P.

    (@rainfallnixfig)

    Hi @benoitfouc,

    Let’s check if you also see an error on the WooCommerce Logs. Kindly provide us the following:

    • System Status: You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.
    • Fatal Error Log: Share a copy of any fatal error log found under WooCommerce > System Status > Logs (if available).

    Thanks!

    Thread Starter benoitfouc

    (@benoitfouc)

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://boutique.nature-partage.com
    Site address (URL): https://boutique.nature-partage.com
    WC Version: 5.5.2
    REST API Version: ? 5.5.2
    WC Blocks Version: ? 5.3.3
    Action Scheduler Version: ? 3.2.1
    WC Admin Version: ? 2.4.4
    Log Directory Writable: ?
    WP Version: 5.8
    WP Multisite: –
    WP Memory Limit: 512 Mo
    WP Debug Mode: ?
    WP Cron: ?
    Language: fr_FR
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.15
    PHP Post Max Size: 130 Mo
    PHP Time Limit: 165
    PHP Max Input Vars: 16000
    cURL Version: 7.64.0
    OpenSSL/1.1.1d
    
    SUHOSIN Installed: –
    MySQL Version: 8.0.23
    Max Upload Size: 128 Mo
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 5.5.2
    WC Database Prefix: wp_
    Taille totale de la base de données: 629.33MB
    Taille de la base de données: 387.92MB
    Taille de l’index: 241.41MB
    wp_woocommerce_sessions: Données?: 3.02MB + Index?: 0.08MB + Moteur InnoDB
    wp_woocommerce_api_keys: Données?: 0.02MB + Index?: 0.03MB + Moteur InnoDB
    wp_woocommerce_attribute_taxonomies: Données?: 0.02MB + Index?: 0.02MB + Moteur InnoDB
    wp_woocommerce_downloadable_product_permissions: Données?: 0.00MB + Index?: 0.00MB + Moteur MyISAM
    wp_woocommerce_order_items: Données?: 7.48MB + Index?: 2.30MB + Moteur InnoDB
    wp_woocommerce_order_itemmeta: Données?: 68.31MB + Index?: 46.73MB + Moteur InnoDB
    wp_woocommerce_tax_rates: Données?: 0.02MB + Index?: 0.06MB + Moteur InnoDB
    wp_woocommerce_tax_rate_locations: Données?: 0.02MB + Index?: 0.05MB + Moteur InnoDB
    wp_woocommerce_shipping_zones: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wp_woocommerce_shipping_zone_locations: Données?: 0.02MB + Index?: 0.05MB + Moteur InnoDB
    wp_woocommerce_shipping_zone_methods: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wp_woocommerce_payment_tokens: Données?: 0.02MB + Index?: 0.02MB + Moteur InnoDB
    wp_woocommerce_payment_tokenmeta: Données?: 0.02MB + Index?: 0.03MB + Moteur InnoDB
    wp_woocommerce_log: Données?: 0.02MB + Index?: 0.02MB + Moteur InnoDB
    cerber_acl: Données?: 0.02MB + Index?: 0.02MB + Moteur InnoDB
    cerber_blocks: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    cerber_countries: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    cerber_lab: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    cerber_lab_ip: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    cerber_lab_net: Données?: 0.02MB + Index?: 0.02MB + Moteur InnoDB
    cerber_log: Données?: 0.34MB + Index?: 0.31MB + Moteur InnoDB
    cerber_qmem: Données?: 0.02MB + Index?: 0.02MB + Moteur InnoDB
    cerber_traffic: Données?: 18.20MB + Index?: 1.47MB + Moteur InnoDB
    wp_actionscheduler_actions: Données?: 1.02MB + Index?: 0.73MB + Moteur InnoDB
    wp_actionscheduler_claims: Données?: 0.02MB + Index?: 0.02MB + Moteur InnoDB
    wp_actionscheduler_groups: Données?: 0.02MB + Index?: 0.02MB + Moteur InnoDB
    wp_actionscheduler_logs: Données?: 1.02MB + Index?: 0.39MB + Moteur InnoDB
    wp_cdi: Données?: 0.02MB + Index?: 0.02MB + Moteur InnoDB
    wp_cerber_files: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wp_cerber_sets: Données?: 13.52MB + Index?: 0.00MB + Moteur InnoDB
    wp_cerber_uss: Données?: 0.05MB + Index?: 0.02MB + Moteur InnoDB
    wp_commentmeta: Données?: 0.13MB + Index?: 0.11MB + Moteur InnoDB
    wp_comments: Données?: 10.96MB + Index?: 4.61MB + Moteur MyISAM
    wp_failed_jobs: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wp_icl_content_status: Données?: 0.02MB + Index?: 0.02MB + Moteur InnoDB
    wp_icl_core_status: Données?: 0.02MB + Index?: 0.02MB + Moteur InnoDB
    wp_icl_flags: Données?: 0.02MB + Index?: 0.02MB + Moteur InnoDB
    wp_icl_languages: Données?: 0.02MB + Index?: 0.03MB + Moteur InnoDB
    wp_icl_languages_translations: Données?: 0.19MB + Index?: 0.08MB + Moteur InnoDB
    wp_icl_locale_map: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wp_icl_message_status: Données?: 0.02MB + Index?: 0.03MB + Moteur InnoDB
    wp_icl_mo_files_domains: Données?: 0.08MB + Index?: 0.02MB + Moteur InnoDB
    wp_icl_node: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wp_icl_reminders: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wp_icl_string_batches: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wp_icl_string_packages: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wp_icl_string_pages: Données?: 0.02MB + Index?: 0.03MB + Moteur InnoDB
    wp_icl_string_positions: Données?: 0.38MB + Index?: 0.06MB + Moteur InnoDB
    wp_icl_string_status: Données?: 0.02MB + Index?: 0.02MB + Moteur InnoDB
    wp_icl_string_translations: Données?: 7.52MB + Index?: 5.02MB + Moteur InnoDB
    wp_icl_string_urls: Données?: 0.02MB + Index?: 0.02MB + Moteur InnoDB
    wp_icl_strings: Données?: 7.52MB + Index?: 12.83MB + Moteur InnoDB
    wp_icl_translate: Données?: 4.48MB + Index?: 0.22MB + Moteur InnoDB
    wp_icl_translate_job: Données?: 0.03MB + Index?: 0.02MB + Moteur MyISAM
    wp_icl_translation_batches: Données?: 0.05MB + Index?: 0.00MB + Moteur InnoDB
    wp_icl_translation_downloads: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wp_icl_translation_status: Données?: 5.30MB + Index?: 0.05MB + Moteur InnoDB
    wp_icl_translations: Données?: 0.22MB + Index?: 0.45MB + Moteur InnoDB
    wp_links: Données?: 0.00MB + Index?: 0.00MB + Moteur MyISAM
    wp_lpc_inward_label: Données?: 0.39MB + Index?: 0.05MB + Moteur InnoDB
    wp_lpc_outward_label: Données?: 14.52MB + Index?: 0.03MB + Moteur InnoDB
    wp_options: Données?: 16.08MB + Index?: 1.20MB + Moteur InnoDB
    wp_postmeta: Données?: 124.58MB + Index?: 107.06MB + Moteur InnoDB
    wp_posts: Données?: 5.13MB + Index?: 1.44MB + Moteur MyISAM
    wp_queue: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wp_sib_model_contact: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wp_smush_dir_images: Données?: 0.02MB + Index?: 0.03MB + Moteur InnoDB
    wp_term_relationships: Données?: 0.17MB + Index?: 0.14MB + Moteur InnoDB
    wp_term_taxonomy: Données?: 0.06MB + Index?: 0.03MB + Moteur InnoDB
    wp_termmeta: Données?: 0.08MB + Index?: 0.11MB + Moteur InnoDB
    wp_terms: Données?: 0.02MB + Index?: 0.03MB + Moteur InnoDB
    wp_usermeta: Données?: 41.56MB + Index?: 34.78MB + Moteur InnoDB
    wp_users: Données?: 1.14MB + Index?: 1.15MB + Moteur MyISAM
    wp_wc_admin_note_actions: Données?: 0.02MB + Index?: 0.02MB + Moteur InnoDB
    wp_wc_admin_notes: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wp_wc_category_lookup: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wp_wc_customer_lookup: Données?: 2.33MB + Index?: 1.73MB + Moteur InnoDB
    wp_wc_download_log: Données?: 0.02MB + Index?: 0.03MB + Moteur InnoDB
    wp_wc_etransactions_cards: Données?: 0.02MB + Index?: 0.02MB + Moteur InnoDB
    wp_wc_etransactions_payment: Données?: 6.52MB + Index?: 0.16MB + Moteur InnoDB
    wp_wc_order_coupon_lookup: Données?: 0.11MB + Index?: 0.14MB + Moteur InnoDB
    wp_wc_order_product_lookup: Données?: 4.44MB + Index?: 5.47MB + Moteur InnoDB
    wp_wc_order_stats: Données?: 2.23MB + Index?: 2.08MB + Moteur InnoDB
    wp_wc_order_tax_lookup: Données?: 3.42MB + Index?: 2.73MB + Moteur InnoDB
    wp_wc_product_meta_lookup: Données?: 0.06MB + Index?: 0.09MB + Moteur InnoDB
    wp_wc_reserved_stock: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wp_wc_tax_rate_classes: Données?: 0.02MB + Index?: 0.02MB + Moteur InnoDB
    wp_wc_webhooks: Données?: 0.02MB + Index?: 0.02MB + Moteur InnoDB
    wp_woo_sales_country_region: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wp_yith_wcaf_affiliates: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wp_yith_wcaf_clicks: Données?: 0.00MB + Index?: 0.00MB + Moteur MyISAM
    wp_yith_wcaf_commission_notes: Données?: 0.27MB + Index?: 0.06MB + Moteur MyISAM
    wp_yith_wcaf_commissions: Données?: 0.70MB + Index?: 0.19MB + Moteur MyISAM
    wp_yith_wcaf_payment_commission: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wp_yith_wcaf_payment_notes: Données?: 0.00MB + Index?: 0.00MB + Moteur MyISAM
    wp_yith_wcaf_payments: Données?: 0.00MB + Index?: 0.00MB + Moteur MyISAM
    wp_yith_wcdn_desktop_notification: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wp_yith_ywpar_points_log: Données?: 2.52MB + Index?: 0.00MB + Moteur InnoDB
    wp_yith_ywrac_email_log: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wp_yoast_indexable: Données?: 6.33MB + Index?: 5.86MB + Moteur InnoDB
    wp_yoast_indexable_hierarchy: Données?: 0.23MB + Index?: 0.30MB + Moteur InnoDB
    wp_yoast_migrations: Données?: 0.02MB + Index?: 0.02MB + Moteur InnoDB
    wp_yoast_primary_term: Données?: 0.02MB + Index?: 0.03MB + Moteur InnoDB
    wp_yoast_seo_links: Données?: 0.39MB + Index?: 0.22MB + Moteur InnoDB
    wp_yoast_seo_meta: Données?: 2.52MB + Index?: 0.00MB + Moteur InnoDB
    wp_ywrr_email_blocklist: Données?: 0.02MB + Index?: 0.00MB + Moteur InnoDB
    wp_ywrr_email_schedule: Données?: 1.20MB + Index?: 0.08MB + Moteur MyISAM
    
    ### Post Type Counts ###
    
    attachment: 1156
    custom_css: 1
    feedback: 1
    jp_img_sitemap: 1
    jp_sitemap: 1
    jp_sitemap_master: 1
    mc4wp-form: 2
    nav_menu_item: 589
    oembed_cache: 6
    page: 64
    post: 1
    product: 369
    product_variation: 1
    question_answer: 1
    revision: 42
    salient_g_sections: 1
    seedprod: 2
    shop_coupon: 91
    shop_order: 9908
    shop_order_refund: 46
    user_request: 14
    vtprd-rule: 1
    wpcf7_contact_form: 3
    yith_popup: 1
    yith_wcdls_offer: 6
    yith-wcbm-badge: 17
    yith-wccos-ostatus: 2
    yith-wcgpf-feed: 1
    ylc-macro: 8
    ywar_reviews: 126
    ywcm_message: 6
    ywcpos_survey_email: 3
    ywdpd_discount: 2
    ywrac_cart: 8
    ywtm_tab: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (42) ###
    
    WPML Multilingual CMS: par OnTheGoSystems – 4.4.11
    WPML SEO: par OnTheGoSystems – 2.0.1
    Admin Menu Editor: par Janis Elsts – 1.9.10
    Akismet Anti-Spam: par Automattic – 4.1.10
    BackWPup: par Inpsyde GmbH – 3.9.0
    Colissimo shipping methods for WooCommerce: par Colissimo – 1.6.3
    Contact Form 7: par Takayuki Miyoshi – 5.4.2
    Cookie Notice & Compliance for GDPR / CCPA: par Hu-manity.co – 2.1.0
    e-Transactions: par e-Transactions – 1.0.1
    Jetpack: par Automattic – 9.9.1
    Salient WPBakery Page Builder: par Michael M - WPBakery.com | Modified by ThemeNectar – 6.6.0
    Boutique Nature et Partage: par Benfou – 2.07
    Salient Core: par ThemeNectar – 1.8.2
    User Role Editor: par Vladimir Garagulya – 4.60.1
    User Switching: par John Blackbourn & les contributeurs – 1.5.7
    WooCommerce Order Navigation: par woosmartcod.com – 1.1
    WooCommerce Cheapest & Most Expensive Product Promotions!: par Lagudi Domenico – 3.3
    WooCommerce Monetico Gateway: par Nicolas Maillard – 2.1.3
    WooCommerce Google Analytics Pro: par SkyVerge – 1.10.0
    WooCommerce Multilingual: par OnTheGoSystems – 4.11.7
    WooCommerce: par Automattic – 5.5.2
    Yoast SEO: par L’équipe Yoast – 16.8
    WP Cerber Security, Anti-spam & Malware Scan: par Cerber Tech Inc. – 8.9
    WP Fastest Cache Premium: par Emre Vona – 1.6.0
    WP Fastest Cache: par Emre Vona – 0.9.2
    WPML String Translation: par OnTheGoSystems – 3.1.9
    WPML Translation Management: par OnTheGoSystems – 2.10.7
    Yoast SEO?: WooCommerce: par L’équipe Yoast – 14.3
    YITH Deals for WooCommerce Premium: par YITH – 1.0.25
    YITH Desktop Notifications for WooCommerce Premium: par YITH – 1.2.25
    YITH Google Product Feed for WooCommerce Premium: par YITH – 1.1.25
    YITH WooCommerce Affiliates Premium: par YITH – 1.8.6
    YITH WooCommerce Ajax Search Premium: par YITH – 1.8.6
    YITH WooCommerce Badge Management Premium: par YITH – 1.4.14
    YITH WooCommerce Cart Messages Premium: par YITH – 1.8.1
    YITH WooCommerce Coupon Email System Premium: par YITH – 1.5.7
    YITH WooCommerce Frequently Bought Together Premium: par YITH – 1.8.14
    YITH WooCommerce PDF Invoice and Shipping List Premium: par YITH – 2.0.30
    YITH WooCommerce Pending Order Survey Premium: par YITH – 1.0.29
    YITH WooCommerce Points et Récompenses Premium: par YITH – 2.1.2
    YITH WooCommerce Review Reminder Premium: par YITH – 1.8.1
    YITH WooCommerce Social Login Premium: par YITH – 1.7.2
    
    ### Inactive Plugins (4) ###
    
    Coming Soon Page, Maintenance Mode & Landing Pages by SeedProd: par SeedProd – 6.6.0
    Content Update Scheduler: par Infinitnet – 1.0
    Sendinblue - WooCommerce Email Marketing: par Sendinblue – 2.0.28
    Trustpilot-reviews: par Trustpilot – 2.5.858
    
    ### Dropin Plugins (1) ###
    
    maintenance.php: maintenance.php
    
    ### Must Use Plugins (1) ###
    
    aaa-wp-cerber.php: par Cerber Tech Inc. – 1.0
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: ?
    Currency: EUR (€)
    Currency Position: right
    Thousand Separator: 
    Decimal Separator: ,
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    gift-card (gift-card)
    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)
    
    Connected to WooCommerce.com: ?
    
    ### WC Pages ###
    
    Base boutique: #11 - /tous-nos-produits/
    Panier: #12 - /panier/
    Commande: #13 - /confirmer/
    Mon compte: #14 - /mon-compte/
    Conditions générales de vente et d’utilisation: #3679 - /conditions-generales-de-vente/
    
    ### Theme ###
    
    Name: Salient Child Theme
    Version: 1.0
    Author URL: https://benfou.fr/
    Child Theme: ?
    Parent Theme Name: Salient
    Parent Theme Version: 13.0.5
    Parent Theme Author URL: https://themeforest.net/user/themenectar
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: salient/woocommerce/cart/mini-cart.php
    salient/woocommerce/checkout/form-checkout.php
    salient/woocommerce/checkout/review-order.php
    salient/woocommerce/checkout/terms.php
    salient/woocommerce/content-product.php
    salient/woocommerce/content-single-product.php
    salient/woocommerce/loop/add-to-cart.php
    salient/woocommerce/loop/loop-start.php
    salient/woocommerce/myaccount/form-login.php
    salient/woocommerce/single-product/product-image.php
    salient/woocommerce/single-product/rating.php
    /home/natureetws/boutique/wp-content/plugins/woocommerce/templates/single-product/tabs/description.php
    salient/woocommerce/single-product/tabs/tabs.php
    salient/woocommerce/single-product/title.php
    salient/woocommerce/single-product-reviews.php
    
    ### Action Scheduler ###
    
    Terminer: 2?349
    Oldest: 2021-07-15 11:50:04 +0200
    Newest: 2021-07-29 10:46:47 +0200
    
    ### Status report information ###
    
    Generated at: 2021-07-29 10:50:24 +02:00
    

    No fatal error

    Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Hi there ??

    This kind of problem is usually caused by a conflict with your theme or with another plugin.
    ?
    The best way to determine this is to:

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.

    This is a fairly complex development topic. I’m going to leave it open for a bit to see if anyone is able to chime in to help you out.

    I can also recommend the WooCommerce Developer Resources Portal for resources on developing for WooCommerce.

    You can also visit the WooCommerce Facebook group or the #developers channel of the WooCommerce Community Slack. We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there, as well.

    Cheers.

    Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    We’ve not seen any activity on this thread for a while, so I’m marking this thread as resolved.

    Hopefully, you were able to find a solution to your problem! If you have further questions, please feel free to open a new topic.

    Cheers!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Trying to get property ‘order_awaiting_payment’ of non-object’ is closed to new replies.