Free product order status are pending payment, instead of completed
-
In my website, all of a sudden free products started to cause an error
Their status remains pending payment instead of completedHow I can fix it
-
Hi @faketempl,
Have you removed any checkout fields, such as the Email field, or have you used a plugin to do so? Can you please provide more details about the problem? Additionally, please can you share a copy of the following:
- System Status Report: Navigate to WooCommerce → Status. Select Get System Report and then Download for Support.
- Fatal Error log: Share a copy of any fatal error log found under WooCommerce → Status → Logs.
You could copy and paste your reply or share it via Mozilla Community Pastebin and share the link here. This will help us investigate further and provide you with a more accurate solution.
Looking forward to hearing from you!
Hello,
Thank you for your answer
please check2024-01-14T09:56:33+00:00 CRITICAL Uncaught Exception: Invalid order. in /var/www/www-root/data/www/gotempl.cc/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php:137 Stack trace: #0 /var/www/www-root/data/www/gotempl.cc/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): Abstract_WC_Order_Data_Store_CPT->read(Object(WC_Order)) #1 /var/www/www-root/data/www/gotempl.cc/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(130): WC_Data_Store->read(Object(WC_Order)) #2 /var/www/www-root/data/www/gotempl.cc/wp-content/plugins/manual-payment-gateway-paypal/paypal.php(185): WC_Abstract_Order->__construct(‘89622’) #3 /var/www/www-root/data/www/gotempl.cc/wp-includes/class-wp-hook.php(326): zitengine_paypal->zitengine_paypal_thankyou_page(‘Thank you. Your…’) #4 /var/www/www-root/data/www/gotempl.cc/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘Thank you. Your…’, Array) #5 /var/www/www-root/data/www/gotempl.cc/wp-content/plugins/woocommerce/templates/checkout/order-rec in /var/www/www-root/data/www/gotempl.cc/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php on line 137 2024-01-14T09:57:16+00:00 CRITICAL Uncaught Exception: Invalid order. in /var/www/www-root/data/www/gotempl.cc/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php:137 Stack trace: #0 /var/www/www-root/data/www/gotempl.cc/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): Abstract_WC_Order_Data_Store_CPT->read(Object(WC_Order)) #1 /var/www/www-root/data/www/gotempl.cc/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(130): WC_Data_Store->read(Object(WC_Order)) #2 /var/www/www-root/data/www/gotempl.cc/wp-content/plugins/manual-payment-gateway-paypal/paypal.php(185): WC_Abstract_Order->__construct(‘84623’) #3 /var/www/www-root/data/www/gotempl.cc/wp-includes/class-wp-hook.php(326): zitengine_paypal->zitengine_paypal_thankyou_page(‘Thank you. Your…’) #4 /var/www/www-root/data/www/gotempl.cc/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘Thank you. Your…’, Array) #5 /var/www/www-root/data/www/gotempl.cc/wp-content/plugins/woocommerce/templates/checkout/order-rec in /var/www/www-root/data/www/gotempl.cc/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php on line 137
Dear @faketempl,
Thank you for sharing the error logs. It looks like the issue might be related to the Paypal Manual Payment Gateway plugin that you’re using. The error log indicates an issue with reading the order data.
Could you please try disabling the plugin or using a different one to troubleshoot the issue? Considering the plugin hasn’t seen an update in 2 years, it may not play well with the latest version of WooCommerce.
If the issue persists, perform a conflict test. Deactivate all your plugins except WooCommerce. If the problem is resolved, reactivate your plugins one by one until you find the one causing the problem. More info: https://woo.com/document/how-to-test-for-conflicts/
Please let us know how it goes, and don’t hesitate to ask if you have any further questions.
Hello,
Thank you for your reply
I deactivated the plugin but the issue still remained, as I check the logs it is obvious that the main issue is from woocommerce plugin
Can you please check that part?
Thank you in advance
I tried even deleting the plugin , clearing caches , the error persists
Hello @faketempl,
In this case, I recommend you run a conflict test to help you identify the cause of the issue. More info: https://woo.com/document/how-to-test-for-conflicts/
If the problem still exists, it would be helpful if you could provide us with a more detailed error log. You can do this by enabling
WP_DEBUG
andWP_DEBUG_LOG
in your wp-config.php file. This will create a debug.log file in your wp-content directory. Please share the contents of this file with us.Additionally, could you please share the fatal error log (WooCommerce → Status → Logs) again via https://paste.mozilla.org/ as the previous one seems deleted?
Looking forward to hearing from you soon.
Hello
Thank you for your reply
I deactivated and activated plugins, I am using the default theme and the issue still remains
I really need your help to solve the issue, please check the logs
Hey, @faketempl! We are happy to help you solve this.
I tried checking the logs you shared, but it says:
404 Snippet not found This snippet no longer exists. Snippets are automatically deleted when they reach their expiration date.
Can you please share them again so we can take a look?
Looking forward to your reply.
Have a wonderful day!
` WordPress Environment WordPress address (URL): https://gotempl.cc<br>Site address (URL): https://gotempl.cc<br>WC Version: 8.5.1<br>REST API Version: ? 8.5.1<br>WC Blocks Version: ? 11.8.0-dev<br>Action Scheduler Version: ? 3.7.1<br>Log Directory Writable: ?<br>WP Version: 6.4.2<br>WP Multisite: –<br>WP Memory Limit: 256 MB<br>WP Debug Mode: –<br>WP Cron: ?<br>Language: en_US<br>External object cache: – Server Environment Server Info: Apache/2.4.41 (Ubuntu)<br>PHP Version: 7.4.33<br>PHP Post Max Size: 100 MB<br>PHP Time Limit: 300<br>PHP Max Input Vars: 1000<br>cURL Version: 7.68.0<br>OpenSSL/1.1.1f SUHOSIN Installed: –<br>MySQL Version: 8.0.31-0ubuntu0.20.04.2<br>Max Upload Size: 100 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 WC Database Version: 8.5.1<br>WC Database Prefix: wphs_<br>Total Database Size: 1138.20MB<br>Database Data Size: 868.05MB<br>Database Index Size: 270.15MB<br>wphs_woocommerce_sessions: Data: 375.45MB + Index: 12.08MB + Engine InnoDB<br>wphs_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wphs_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wphs_woocommerce_downloadable_product_permissions: Data: 1.52MB + Index: 3.67MB + Engine InnoDB<br>wphs_woocommerce_order_items: Data: 2.52MB + Index: 0.36MB + Engine InnoDB<br>wphs_woocommerce_order_itemmeta: Data: 8.52MB + Index: 7.98MB + Engine InnoDB<br>wphs_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wphs_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wphs_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wphs_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wphs_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wphs_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wphs_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wphs_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wphs_404_to_301: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wphs_actionscheduler_actions: Data: 4.02MB + Index: 3.39MB + Engine InnoDB<br>wphs_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wphs_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wphs_actionscheduler_logs: Data: 2.08MB + Index: 1.52MB + Engine InnoDB<br>wphs_aioseo_cache: Data: 0.11MB + Index: 0.03MB + Engine InnoDB<br>wphs_aioseo_notifications: Data: 0.03MB + Index: 0.06MB + Engine InnoDB<br>wphs_aioseo_posts: Data: 25.56MB + Index: 0.22MB + Engine InnoDB<br>wphs_aioseo_terms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wphs_ce4wp_abandoned_checkout: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wphs_chaty_contact_form_leads: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wphs_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wphs_comments: Data: 3.50MB + Index: 2.28MB + Engine InnoDB<br>wphs_jetpack_sync_queue: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wphs_layerslider: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wphs_layerslider_revisions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wphs_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wphs_options: Data: 15.22MB + Index: 3.08MB + Engine InnoDB<br>wphs_pmxi_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wphs_pmxi_hash: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wphs_pmxi_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wphs_pmxi_images: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wphs_pmxi_imports: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wphs_pmxi_posts: Data: 0.17MB + Index: 0.00MB + Engine InnoDB<br>wphs_pmxi_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wphs_postmeta: Data: 112.67MB + Index: 70.23MB + Engine InnoDB<br>wphs_posts: Data: 231.73MB + Index: 14.89MB + Engine InnoDB<br>wphs_statistics_exclusions: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wphs_statistics_historical: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wphs_statistics_pages: Data: 19.55MB + Index: 81.98MB + Engine InnoDB<br>wphs_statistics_search: Data: 7.52MB + Index: 7.55MB + Engine InnoDB<br>wphs_statistics_useronline: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wphs_statistics_visit: Data: 0.05MB + Index: 0.02MB + Engine InnoDB<br>wphs_statistics_visitor: Data: 13.52MB + Index: 30.17MB + Engine InnoDB<br>wphs_statistics_visitor_relationships: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wphs_term_relationships: Data: 5.52MB + Index: 1.39MB + Engine InnoDB<br>wphs_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wphs_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wphs_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wphs_usermeta: Data: 2.42MB + Index: 3.03MB + Engine InnoDB<br>wphs_users: Data: 0.19MB + Index: 0.16MB + Engine InnoDB<br>wphs_wc_admin_note_actions: Data: 0.09MB + Index: 0.02MB + Engine InnoDB<br>wphs_wc_admin_notes: Data: 0.11MB + Index: 0.00MB + Engine InnoDB<br>wphs_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wphs_wc_customer_lookup: Data: 0.52MB + Index: 0.53MB + Engine InnoDB<br>wphs_wc_download_log: Data: 1.52MB + Index: 0.66MB + Engine InnoDB<br>wphs_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wphs_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wphs_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wphs_wc_order_product_lookup: Data: 2.52MB + Index: 2.55MB + Engine InnoDB<br>wphs_wc_order_stats: Data: 1.52MB + Index: 0.86MB + Engine InnoDB<br>wphs_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wphs_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wphs_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wphs_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wphs_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wphs_wc_product_meta_lookup: Data: 2.52MB + Index: 3.00MB + Engine InnoDB<br>wphs_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wphs_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wphs_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wphs_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wphs_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wphs_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wphs_wpvivid_scan_result: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wphs_wpvivid_unused_uploads_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wphs_wt_iew_action_history: Data: 1.05MB + Index: 0.00MB + Engine InnoDB<br>wphs_wt_iew_cron: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wphs_wt_iew_ftp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wphs_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wphs_yoast_indexable: Data: 14.52MB + Index: 6.47MB + Engine InnoDB<br>wphs_yoast_indexable_hierarchy: Data: 1.44MB + Index: 1.03MB + Engine InnoDB<br>wphs_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wphs_yoast_primary_term: Data: 0.09MB + Index: 0.11MB + Engine InnoDB<br>wphs_yoast_seo_links: Data: 8.52MB + Index: 8.95MB + Engine InnoDB<br>wphs_zbs_admlog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wphs_zbs_aka: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wphs_zbs_companies: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wphs_zbs_contacts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wphs_zbs_customfields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wphs_zbs_dbmigration_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wphs_zbs_dbmigration_posts: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wphs_zbs_event_reminders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wphs_zbs_events: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wphs_zbs_externalsources: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wphs_zbs_forms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wphs_zbs_invoices: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>wphs_zbs_lineitems: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wphs_zbs_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wphs_zbs_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wphs_zbs_notifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wphs_zbs_object_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wphs_zbs_quotes: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>wphs_zbs_quotes_templates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wphs_zbs_security_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wphs_zbs_segments: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wphs_zbs_segments_conditions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wphs_zbs_settings: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wphs_zbs_sys_cronmanagerlogs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wphs_zbs_sys_email: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wphs_zbs_sys_email_hist: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wphs_zbs_tags: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wphs_zbs_tags_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wphs_zbs_tax_table: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wphs_zbs_temphash: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wphs_zbs_tracking: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wphs_zbs_transactions: Data: 0.02MB + Index: 0.14MB + Engine InnoDB<br>wphs_zbscrm_api_keys: Data: 0.02MB + Index: 0.00MB + Engine InnoDB Post Type Counts attachment: 32544<br>avia_framework_post: 10<br>custom_css: 2<br>custom-css-js: 1<br>elementor_library: 1<br>jp_pay_product: 2189<br>nav_menu_item: 33<br>page: 10<br>post: 52<br>product: 15519<br>revision: 5206<br>shop_order: 9433<br>shop_order_refund: 3<br>woocg-post: 1<br>wp_block: 2<br>wp_global_styles: 1 Security Secure connection (HTTPS): ?<br>Hide errors from visitors: ? Active Plugins (22) Advance Bank Payment Transfer Gateway: by Ramesh Kumar – 6.3<br>Coinbase Commerce: by Coinbase Commerce – 1.3<br>Simple Custom CSS and JS: by SilkyPress.com – 3.45<br>Custom Payment Gateways for WooCommerce: by Imaginate Solutions – 1.8.1<br>Disable Right Click Images: by naa986 – 1.0.1<br>Jetpack: by Automattic – 13.0<br>JivoChat: by JivoChat – 1.3.6.1<br>Paypal Manual Payment Gateway: by Md Zahedul Hoque – 1.1<br>Perfect Money: by – 0.1<br>Product Import Export for WooCommerce: by WebToffee – 2.4.0<br>Woo Custom Gateway: by Richard Muvirimi – 1.6.1<br>Woo Customize: by – 1.0.7<br>Woo Image SEO: by Danail Emandiev – 1.4.2<br>WP Sheet Editor - WooCommerce Products (Premium): by WP Sheet Editor – 1.8.8<br>WooCommerce Random Product Sorting with Pagination: by William Crowley – 0.9.2<br>Extra Product Sorting Options for WooCommerce: by SkyVerge – 2.10.0<br>WooCommerce Custom Payment Gateway: by WPRuby – 1.3.9<br>WooCommerce: by Automattic – 8.5.1<br>Yoast SEO: by Team Yoast – 21.8.1<br>WP File Manager: by mndpsingh287 – 7.2.2<br>WP Statistics: by VeronaLabs – 14.3.5<br>Skrill Manual Payment Gateway: by Md Zahedul Hoque – 1.1 Inactive Plugins (2) Jetpack Boost: by Automattic - Jetpack Site Speed team – 2.2.1<br>NOWPayments for WooCommerce: by CoderPress – 1.1 Must Use Plugins (2) Endurance Page Cache: by Mike Hansen – 2.2<br>SSO: by Garth Mortensen<br>Mike Hansen – 0.3 Settings API Enabled: –<br>Force SSL: –<br>Currency: USD ($)<br>Currency Position: left<br>Thousand Separator:<br>Decimal Separator: .<br>Number of Decimals: 0<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable) 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) Connected to Woo.com: ?<br>Enforce Approved Product Download Directories: –<br>HPOS feature screen enabled: –<br>HPOS feature enabled: –<br>Order datastore: WC_Order_Data_Store_CPT<br>HPOS data sync enabled: – WC Pages Shop base: #5 - /<br>Cart: #6 - /cart/<br>Checkout: #7 - /checkout/<br>My account: #8 - /my-account/<br>Terms and conditions: ? Page not set Theme Name: eCommerce Star<br>Version: 1.3.9<br>Author URL: https://www.ceylonthemes.com<br>Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme<br>WooCommerce Support: ? Templates Archive Template: Your theme has a woocommerce.php file<br>you will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues. Overrides: ecommerce-star/woocommerce/content-product.php Admin Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<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-variation-management<br>product-virtual-downloadable<br>product-external-affiliate<br>product-grouped<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 Disabled Features: customize-store<br>minified-js<br>new-product-management-experience<br>product-linked<br>settings<br>async-product-editor-category-field Daily Cron: ? Next scheduled: 2024-01-25 14:06:44 +04:00<br>Options: ?<br>Notes: 152<br>Onboarding: completed Action Scheduler Complete: 8,144<br>Oldest: 2023-12-25 07:43:53 +0000<br>Newest: 2024-01-25 05:45:31 +0000 Failed: 118<br>Oldest: 2023-02-21 08:56:02 +0000<br>Newest: 2024-01-23 08:17:51 +0000 Pending: 1<br>Oldest: 2024-01-25 22:56:22 +0000<br>Newest: 2024-01-25 22:56:22 +0000 Status report information Generated at: 2024-01-25 10:01:27 +04:00<br>`
please check
Hello faketempl
Thank you for your reply.
What you have shared is the System Status Report. It helps diagnose the issue but we also need to see the log.
You can find the Log under WooCommerce > System Status > Logs.Please share the log in your next reply and I will be happy to assist you further. ??
Looking forward to your response.
these are the logs, I sent them earlier in my messages
I already deleted manual-payment-gateway-paypal plugin, but that didn’t fix the error
2024-01-14T09:56:33+00:00 CRITICAL Uncaught Exception: Invalid order. in /var/www/www-root/data/www/gotempl.cc/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php:137 Stack trace: #0 /var/www/www-root/data/www/gotempl.cc/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): Abstract_WC_Order_Data_Store_CPT->read(Object(WC_Order)) #1 /var/www/www-root/data/www/gotempl.cc/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(130): WC_Data_Store->read(Object(WC_Order)) #2 /var/www/www-root/data/www/gotempl.cc/wp-content/plugins/manual-payment-gateway-paypal/paypal.php(185): WC_Abstract_Order->__construct(‘89622’) #3 /var/www/www-root/data/www/gotempl.cc/wp-includes/class-wp-hook.php(326): zitengine_paypal->zitengine_paypal_thankyou_page(‘Thank you. Your…’) #4 /var/www/www-root/data/www/gotempl.cc/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘Thank you. Your…’, Array) #5 /var/www/www-root/data/www/gotempl.cc/wp-content/plugins/woocommerce/templates/checkout/order-rec in /var/www/www-root/data/www/gotempl.cc/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php on line 137 2024-01-14T09:57:16+00:00 CRITICAL Uncaught Exception: Invalid order. in /var/www/www-root/data/www/gotempl.cc/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php:137 Stack trace: #0 /var/www/www-root/data/www/gotempl.cc/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): Abstract_WC_Order_Data_Store_CPT->read(Object(WC_Order)) #1 /var/www/www-root/data/www/gotempl.cc/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(130): WC_Data_Store->read(Object(WC_Order)) #2 /var/www/www-root/data/www/gotempl.cc/wp-content/plugins/manual-payment-gateway-paypal/paypal.php(185): WC_Abstract_Order->__construct(‘84623’) #3 /var/www/www-root/data/www/gotempl.cc/wp-includes/class-wp-hook.php(326): zitengine_paypal->zitengine_paypal_thankyou_page(‘Thank you. Your…’) #4 /var/www/www-root/data/www/gotempl.cc/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘Thank you. Your…’, Array) #5 /var/www/www-root/data/www/gotempl.cc/wp-content/plugins/woocommerce/templates/checkout/order-rec in /var/www/www-root/data/www/gotempl.cc/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php on line 137Hi @faketempl,
From the logs you’ve shared, it looks like the issue is related to an invalid order exception being thrown, which is causing the critical error. Even though you’ve deleted the manual-payment-gateway-paypal plugin, it seems like there are still references to it in your files.
To resolve this, you need to ensure that all references to the deleted plugin are removed from your files. This includes any shortcodes, hooks, or filters that might be calling the plugin.
If you’re not comfortable doing this yourself, I recommend hiring a developer or reaching out to a service like Codeable.io for assistance.
Let us know if you have any other questions.
Thank you,
Can you suggest me other things because the issue is from woocommerce, please check your system
Hi there @faketempl,
Just to reiterate what my colleague had already shared :
To resolve this, you need to ensure that all references to the deleted plugin are removed from your files. This includes any shortcodes, hooks, or filters that might be calling the plugin.
If you’re not comfortable doing this yourself, I recommend hiring a developer or reaching out to a service like Codeable.io for assistance.
Also, you can update to the latest WooCommerce version 8.5.2 to see if this solves the issue.
Cheers!
- The topic ‘Free product order status are pending payment, instead of completed’ is closed to new replies.