• Resolved Dede

    (@rokann)


    Hello,

    I see the following warning in my php errors log file;

    “Attempt to read property “order_awaiting_payment” on null in /home/akdenizecza/htdocs/akdenizecza.com/wp-content/plugins/woocommerce/includes/wc-cart-functions.php on line 187″

    My woocommerce system report is as below.

    WordPress Environment<br><br>WordPress address (URL): https://akdenizecza.com<br>Site address (URL): https://akdenizecza.com<br>WC Version: 9.1.4<br>Legacy REST API Package Version: Eski REST API eklentisi bu sitede kurulu değil.<br>Action Scheduler Version: ✔ 3.8.1<br>Log Directory Writable: ✔<br>WP Version: 6.6.1<br>WP Multisite: –<br>WP Memory Limit: 1 GB<br>WP Debug Mode: –<br>WP Cron: ✔<br>Language: tr_TR<br>External object cache: – Server Environment<br><br>Server Info: nginx/1.26.1<br>PHP Version: 8.2.21<br>PHP Post Max Size: 64 MB<br>PHP Time Limit: 300<br>PHP Max Input Vars: 10000<br>cURL Version: 7.88.1<br>OpenSSL/3.0.13<br><br>SUHOSIN Installed: –<br>MySQL Version: 10.11.6-MariaDB-0+deb12u1<br>Max Upload Size: 64 MB<br>Default Timezone is UTC: ✔<br>fsockopen/cURL: ✔<br>SoapClient: ✔<br>DOMDocument: ✔<br>GZip: ✔<br>Multibyte String: ✔<br>Remote Post: ✔<br>Remote Get: ✔ Database<br><br>WC Database Version: 9.1.4<br>WC Database Prefix: wp_<br>Toplam veritabanı boyutu: 72.00MB<br>Veritabanı veri boyutu: 53.36MB<br>Veritabanı indis boyutu: 18.64MB<br>wp_woocommerce_sessions: Veriler: 0.11 MB + Dizin: 0.02 MB + Motor InnoDB<br>wp_woocommerce_api_keys: Veriler: 0.02 MB + Dizin: 0.03 MB + Motor InnoDB<br>wp_woocommerce_attribute_taxonomies: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB<br>wp_woocommerce_downloadable_product_permissions: Veriler: 0.02 MB + Dizin: 0.06 MB + Motor InnoDB<br>wp_woocommerce_order_items: Veriler: 0.17 MB + Dizin: 0.16 MB + Motor InnoDB<br>wp_woocommerce_order_itemmeta: Veriler: 3.02 MB + Dizin: 1.91 MB + Motor InnoDB<br>wp_woocommerce_tax_rates: Veriler: 0.02 MB + Dizin: 0.06 MB + Motor InnoDB<br>wp_woocommerce_tax_rate_locations: Veriler: 0.02 MB + Dizin: 0.03 MB + Motor InnoDB<br>wp_woocommerce_shipping_zones: Veriler: 0.02 MB + Dizin: 0.00 MB + Motor InnoDB<br>wp_woocommerce_shipping_zone_locations: Veriler: 0.02 MB + Dizin: 0.05 MB + Motor InnoDB<br>wp_woocommerce_shipping_zone_methods: Veriler: 0.02 MB + Dizin: 0.00 MB + Motor InnoDB<br>wp_woocommerce_payment_tokens: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB<br>wp_woocommerce_payment_tokenmeta: Veriler: 0.02 MB + Dizin: 0.03 MB + Motor InnoDB<br>wp_woocommerce_log: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB<br>wp_actionscheduler_actions: Veriler: 0.09 MB + Dizin: 0.13 MB + Motor InnoDB<br>wp_actionscheduler_claims: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB<br>wp_actionscheduler_groups: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB<br>wp_actionscheduler_logs: Veriler: 0.33 MB + Dizin: 0.25 MB + Motor InnoDB<br>wp_commentmeta: Veriler: 0.13 MB + Dizin: 0.14 MB + Motor InnoDB<br>wp_comments: Veriler: 2.52 MB + Dizin: 1.80 MB + Motor InnoDB<br>wp_cr_local_forms: Veriler: 0.06 MB + Dizin: 0.02 MB + Motor InnoDB<br>wp_cr_reminders_log: Veriler: 0.02 MB + Dizin: 0.08 MB + Motor InnoDB<br>wp_e_events: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB<br>wp_fsmpt_email_logs: Veriler: 0.11 MB + Dizin: 0.02 MB + Motor InnoDB<br>wp_gpos_redirect: Veriler: 0.02 MB + Dizin: 0.00 MB + Motor InnoDB<br>wp_gpos_session: Veriler: 0.02 MB + Dizin: 0.00 MB + Motor InnoDB<br>wp_gpos_transaction_action_log: Veriler: 0.02 MB + Dizin: 0.00 MB + Motor InnoDB<br>wp_gpos_transaction_log: Veriler: 1.52 MB + Dizin: 0.00 MB + Motor InnoDB<br>wp_intense_sozlesmeler: Veriler: 28.52 MB + Dizin: 0.00 MB + Motor InnoDB<br>wp_links: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB<br>wp_options: Veriler: 4.05 MB + Dizin: 0.25 MB + Motor InnoDB<br>wp_postmeta: Veriler: 4.44 MB + Dizin: 7.28 MB + Motor InnoDB<br>wp_posts: Veriler: 1.41 MB + Dizin: 1.17 MB + Motor InnoDB<br>wp_rank_math_404_logs: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB<br>wp_rank_math_internal_links: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB<br>wp_rank_math_internal_meta: Veriler: 0.02 MB + Dizin: 0.00 MB + Motor InnoDB<br>wp_rank_math_redirections: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB<br>wp_rank_math_redirections_cache: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB<br>wp_termmeta: Veriler: 0.05 MB + Dizin: 0.03 MB + Motor InnoDB<br>wp_terms: Veriler: 0.02 MB + Dizin: 0.05 MB + Motor InnoDB<br>wp_term_relationships: Veriler: 0.02 MB + Dizin: 0.03 MB + Motor InnoDB<br>wp_term_taxonomy: Veriler: 0.02 MB + Dizin: 0.08 MB + Motor InnoDB<br>wp_usermeta: Veriler: 0.20 MB + Dizin: 0.27 MB + Motor InnoDB<br>wp_users: Veriler: 0.02 MB + Dizin: 0.06 MB + Motor InnoDB<br>wp_wc_admin_notes: Veriler: 0.05 MB + Dizin: 0.00 MB + Motor InnoDB<br>wp_wc_admin_note_actions: Veriler: 0.05 MB + Dizin: 0.02 MB + Motor InnoDB<br>wp_wc_category_lookup: Veriler: 0.02 MB + Dizin: 0.00 MB + Motor InnoDB<br>wp_wc_customer_lookup: Veriler: 0.02 MB + Dizin: 0.03 MB + Motor InnoDB<br>wp_wc_download_log: Veriler: 0.02 MB + Dizin: 0.03 MB + Motor InnoDB<br>wp_wc_orders: Veriler: 0.31 MB + Dizin: 0.44 MB + Motor InnoDB<br>wp_wc_orders_meta: Veriler: 1.25 MB + Dizin: 2.63 MB + Motor InnoDB<br>wp_wc_order_addresses: Veriler: 0.34 MB + Dizin: 0.39 MB + Motor InnoDB<br>wp_wc_order_coupon_lookup: Veriler: 0.02 MB + Dizin: 0.03 MB + Motor InnoDB<br>wp_wc_order_operational_data: Veriler: 0.19 MB + Dizin: 0.11 MB + Motor InnoDB<br>wp_wc_order_product_lookup: Veriler: 0.02 MB + Dizin: 0.06 MB + Motor InnoDB<br>wp_wc_order_stats: Veriler: 0.02 MB + Dizin: 0.05 MB + Motor InnoDB<br>wp_wc_order_tax_lookup: Veriler: 0.02 MB + Dizin: 0.03 MB + Motor InnoDB<br>wp_wc_product_attributes_lookup: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB<br>wp_wc_product_download_directories: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB<br>wp_wc_product_meta_lookup: Veriler: 0.02 MB + Dizin: 0.14 MB + Motor InnoDB<br>wp_wc_rate_limits: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB<br>wp_wc_reserved_stock: Veriler: 0.02 MB + Dizin: 0.00 MB + Motor InnoDB<br>wp_wc_tax_rate_classes: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB<br>wp_wc_webhooks: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB<br>wp_wdp_orders: Veriler: 0.02 MB + Dizin: 0.05 MB + Motor InnoDB<br>wp_wdp_order_items: Veriler: 0.02 MB + Dizin: 0.06 MB + Motor InnoDB<br>wp_woocommerce_gpf_google_taxonomy: Veriler: 3.52 MB + Dizin: 0.22 MB + Motor InnoDB<br>wp_woodmart_wishlists: Veriler: 0.02 MB + Dizin: 0.00 MB + Motor InnoDB<br>wp_woodmart_wishlist_products: Veriler: 0.02 MB + Dizin: 0.02 MB + Motor InnoDB Post Type Counts<br><br>attachment: 211<br>cms_block: 5<br>custom_css: 1<br>elementor_library: 2<br>gpos_account: 1<br>gpos_t_line: 182<br>gpos_transaction: 116<br>mss: 3<br>nav_menu_item: 50<br>oembed_cache: 1<br>page: 20<br>post: 3<br>product: 60<br>product_variation: 2<br>shop_order_placehold: 917<br>whatsapp-accounts: 1<br>woodmart_layout: 5<br>woodmart_woo_fbt: 1<br>wp_navigation: 1 Security<br><br>Secure connection (HTTPS): ✔<br>Hide errors from visitors: ✔ Active Plugins (21)<br><br>FluentSMTP: (FluentSMTP & WPManageNinja Team) – 2.2.80<br>Advanced Database Cleaner PRO: (Younes JFR.) – 3.2.9<br>Antispam Bee: (pluginkollektiv) – 2.11.6<br>Customer Reviews for WooCommerce: (CusRev) – 5.58.1<br>Elementor: (Elementor.com) – 3.23.3<br>FlyingPress: (FlyingWeb) – 4.14.4<br>Google Tag Manager for WooCommerce PRO: (Tag Concierge) – 1.12.0<br>POS Entegratör Pro: (GurmeHub) – 2.6.40<br>Intense Mesafeli Satış Sözl. & Ön Bilg. Formu Eklentisi: (Intense Yazılım) – 2.0.0<br>Netgsm: (Netgsm) – 2.9.22<br>Perfmatters: (forgemedia) – 2.3.2<br>POS Entegratör: (GurmeHub) – 3.7.50<br>Safe SVG: (10up) – 2.2.5<br>Rank Math SEO PRO: (Rank Math) – 3.0.67<br>Rank Math SEO: (Rank Math) – 1.0.224<br>Simple Cloudflare Turnstile: (Elliot Sowersby<br>RelyWP) – 1.26.6<br><br>WooCommerce Dynamic Pricing & Discounts: (RightPress) – 2.4.6<br>WhatsApp Chat by NinjaTeam: (NinjaTeam) – 3.6.8<br>Checkout Field Editor for WooCommerce: (ThemeHigh) – 2.0.3<br>WooCommerce: (Automattic) – 9.1.4<br>Woodmart Core: () – 1.0.43 Inactive Plugins (0) Dropin Plugins ()<br><br>advanced-cache.php: advanced-cache.php Settings<br><br>API Enabled: –<br>Force SSL: –<br>Currency: TRY (TL)<br>Currency Position: right<br>Thousand Separator: .<br>Decimal Separator: ,<br>Number of Decimals: 2<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable)<br><br>Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)<br><br>Connected to WooCommerce.com: –<br>Enforce Approved Product Download Directories: ✔<br>HPOS feature enabled: ✔<br>Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore<br>HPOS data sync enabled: – Logging<br><br>Enabled: ✔<br>Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2<br>Retention period: 30 gün<br>Level threshold: –<br>Log directory size: 13 B WC Pages<br><br>Mağaza giriş sayfası: #9877 - /magaza<br>Sepet sayfası: #13 - /sepet - [woocommerce_cart] kısa kodunu içerir<br>Ödeme sayfası: #14 - /odeme - [woocommerce_checkout] kısa kodunu içerir<br>Hesabım sayfası: #15 - /hesabim<br>Şartlar ve koşullar: ❌ Sayfa ayarlanmamış Theme<br><br>Name: Woodmart Child<br>Version: 1.0.0<br>Author URL: http://xtemos.com<br>Child Theme: ✔<br>Parent Theme Name: Woodmart<br>Parent Theme Version: 7.5.2<br>Parent Theme Author URL: http://themeforest.net/user/xtemos<br>WooCommerce Support: ✔ Templates<br><br>Overrides: woodmart/woocommerce/archive-product.php<br>woodmart/woocommerce/cart/cart-item-data.php<br>woodmart/woocommerce/cart/cart.php<br>woodmart/woocommerce/cart/cross-sells.php<br>woodmart/woocommerce/cart/mini-cart.php<br>woodmart/woocommerce/checkout/form-checkout.php<br>woodmart/woocommerce/checkout/thankyou.php<br>woodmart/woocommerce/content-product-cat.php<br>woodmart/woocommerce/content-product.php<br>woodmart/woocommerce/content-single-product.php<br>woodmart/woocommerce/content-widget-product.php<br>woodmart/woocommerce/global/breadcrumb.php<br>woodmart/woocommerce/global/form-login.php<br>woodmart/woocommerce/global/quantity-input.php<br>woodmart/woocommerce/loop/add-to-cart.php<br>woodmart/woocommerce/loop/loop-end.php<br>woodmart/woocommerce/loop/loop-start.php<br>woodmart/woocommerce/loop/no-products-found.php<br>woodmart/woocommerce/loop/orderby.php<br>woodmart/woocommerce/loop/pagination.php<br>woodmart/woocommerce/loop/sale-flash.php<br>woodmart/woocommerce/myaccount/form-login.php<br>woodmart/woocommerce/product-searchform.php<br>woodmart/woocommerce/single-product/add-to-cart/grouped.php<br>woodmart/woocommerce/single-product/add-to-cart/variable.php<br>woodmart/woocommerce/single-product/meta.php<br>woodmart/woocommerce/single-product/product-attributes.php<br>woodmart/woocommerce/single-product/product-image.php<br>woodmart/woocommerce/single-product/product-thumbnails.php<br>woodmart/woocommerce/single-product/rating.php<br>woodmart/woocommerce/single-product/related.php<br>woodmart/woocommerce/single-product/sale-flash.php<br>woodmart/woocommerce/single-product/tabs/description.php<br>woodmart/woocommerce/single-product/tabs/tabs.php<br>woodmart/woocommerce/single-product/title.php<br>woodmart/woocommerce/single-product/up-sells.php<br>woodmart/woocommerce/single-product-reviews.php<br>woodmart/woocommerce/single-product.php Admin<br><br>Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customize-store<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>navigation<br>onboarding<br>onboarding-tasks<br>product-custom-fields<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page<br>launch-your-store<br><br>Disabled Features: experimental-blocks<br>minified-js<br>pattern-toolkit-full-composability<br>product-pre-publish-modal<br>printful<br>settings<br>async-product-editor-category-field<br>product-editor-template-system<br><br>Daily Cron: ✔ Next scheduled: 2024-08-02 13:34:21 +03:00<br>Options: ✔<br>Notes: 50<br>Onboarding: skipped Action Scheduler<br><br>Complete: 180<br>Oldest: 2024-07-01 19:42:30 +0000<br>Newest: 2024-08-01 11:01:10 +0000<br><br>Pending: 2<br>Oldest: 2024-08-01 20:45:14 +0000<br>Newest: 2024-08-02 11:01:10 +0000 Status report information<br><br>Generated at: 2024-08-01 17:31:40 +03:00<br>

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @rokann,

    Thank you for reaching out.

    I understand that you’re experiencing an issue with an error message in your PHP log file related to the “order_awaiting_payment” property.

    This error usually occurs when the system tries to access a property on something that isn’t an object or is null. It could be that the order object isn’t being correctly initialized before this line of code is being run.

    To troubleshoot this, you might want to consider disabling all other plugins temporarily to see if there’s a conflict somewhere. If the issue disappears, you can re-enable the plugins one by one to identify the problematic plugin. Please be sure to have a full site backup in place.

    I hope this helps.

    Thread Starter Dede

    (@rokann)

    Hi @ckadenge,

    It is not possible for me to disable all plugins and test it because it is a site where I actively advertise 24 hours a day and receive orders constantly. As far as my observations, there seems to be no obstacle to customers placing orders.

    If you have any other advice, I would be happy to apply it.

    Thank you for your support.

    Hi again @rokann,

    The alternative way to troubleshoot without affecting the live site is by creating a staging site, which is a clone of your live site. This allows you to test any changes or updates without disrupting your live site.

    If you are not experiencing any issues with customers placing orders, it seems your site is functioning as it should. However, if you notice any issues in the future, creating and using a staging site for testing would be my recommendation.

    Cheers.

    Thread Starter Dede

    (@rokann)

    Hi @ckadenge,

    I appreciate your quick response and support. As you said, I will create a staging site and do the necessary tests.

    Have a nice day, thank you.

    I appreciate your quick response and support. As you said, I will create a staging site and do the necessary tests.

    Sounds like a plan @rokann.

    You can find the steps to creating a staging site from our detailed guide here.

    Let us know how this goes.

    Have a happy weekend.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Woocommerce Attempt to read property “order_awaiting_payment”’ is closed to new replies.