order page bug (woocommerce)
-
hello please can someone help me me this error message, my order page from the users setting account is giving me this kind of error
Fatal error: Uncaught ValueError: Path cannot be empty in /home/u737427875/domains/liqwidity.com/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php:53 Stack trace: #0 /home/u737427875/domains/liqwidity.com/public_html/wp-includes/class-wp-hook.php(307): wc_template_redirect() #1 /home/u737427875/domains/liqwidity.com/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #2 /home/u737427875/domains/liqwidity.com/public_html/wp-includes/plugin.php(476): WP_Hook->do_action() #3 /home/u737427875/domains/liqwidity.com/public_html/wp-includes/template-loader.php(13): do_action() #4 /home/u737427875/domains/liqwidity.com/public_html/wp-blog-header.php(19): require_once('/home/u73742787...') #5 /home/u737427875/domains/liqwidity.com/public_html/index.php(17): require('/home/u73742787...') #6 {main} thrown in /home/u737427875/domains/liqwidity.com/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 53
The page I need help with: [log in to see the link]
-
Hi @alpha2022
Thanks for reaching out!
I understand how frustrating this could be.
As a first step I’d like to understand your site properly, can you please share your System Status Report, that will help us further troubleshoot.
You can find it via
WooCommerce > Status
. SelectGet system report
and thenCopy for support
. Once you’ve done that, you can paste it into your reply here.### WordPress Environment ### WordPress address (URL): https://liqwidity.com Site address (URL): https://liqwidity.com WC Version: 7.0.0 REST API Version: ? 7.0.0 WC Blocks Version: ? 8.5.1 Action Scheduler Version: ? 3.4.0 Log Directory Writable: ? WP Version: 6.0.2 WP Multisite: – WP Memory Limit: 1 GB WP Debug Mode: ? WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: LiteSpeed PHP Version: 8.0.23 PHP Post Max Size: 512 MB PHP Time Limit: 300 PHP Max Input Vars: 5000 cURL Version: 7.71.0 OpenSSL/1.1.1d SUHOSIN Installed: – MySQL Version: 10.5.12-MariaDB-cll-lve Max Upload Size: 512 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 6.9.4 WC Database Prefix: wp_ Total Database Size: 33.78MB Database Data Size: 29.24MB Database Index Size: 4.54MB wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_actions: Data: 1.52MB + Index: 0.61MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 0.50MB + Index: 0.42MB + Engine InnoDB wp_aioseo_cache: Data: 0.03MB + Index: 0.03MB + Engine InnoDB wp_aioseo_notifications: Data: 0.03MB + Index: 0.06MB + Engine InnoDB wp_aioseo_posts: Data: 0.06MB + Index: 0.02MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_gla_budget_recommendations: Data: 0.22MB + Index: 0.14MB + Engine InnoDB wp_gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_litespeed_url: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_litespeed_url_file: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_mailpoet_custom_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_dynamic_segment_filters: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_feature_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_newsletter_links: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mailpoet_newsletter_option: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletter_option_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletter_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletter_segment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletter_templates: Data: 2.52MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_scheduled_tasks: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_scheduled_task_subscribers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_segments: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_sending_queues: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_settings: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_statistics_bounces: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_statistics_clicks: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mailpoet_statistics_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_statistics_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_statistics_opens: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_mailpoet_statistics_unsubscribes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mailpoet_statistics_woocommerce_purchases: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_mailpoet_stats_notifications: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_subscribers: Data: 0.02MB + Index: 0.13MB + Engine InnoDB wp_mailpoet_subscriber_custom_field: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_subscriber_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_subscriber_segment: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_subscriber_tag: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_tags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_user_agents: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_user_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_momopay_payments: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_options: Data: 10.50MB + Index: 0.16MB + Engine InnoDB wp_postmeta: Data: 7.52MB + Index: 0.45MB + Engine InnoDB wp_posts: Data: 4.52MB + Index: 0.22MB + Engine InnoDB wp_snippets: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_social_users: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_usermeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wsluserscontacts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wslusersprofiles: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ### Post Type Counts ### attachment: 128 custom_css: 3 custom-css-js: 5 customize_changeset: 121 elementor_library: 2 elementor-hf: 1 hp_listing: 29 hp_listing_attribute: 13 hp_listing_package: 4 hp_vendor: 9 hp_vendor_attribute: 2 mailpoet_page: 1 nav_menu_item: 3 page: 29 post: 8 product: 19 revision: 407 shop_order: 10 watermark: 2 wp_block: 1 wp_global_styles: 2 wpforms: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ?Error messages should not be shown to visitors. ### Active Plugins (21) ### Hostinger: by Hostinger – 1.0 All-in-One WP Migration: by ServMask – 7.64 Code Snippets: by Code Snippets Pro – 3.2.0 Easy Watermark: by BracketSpace – 1.0.11 Elementor: by Elementor.com – 3.7.2 ElementsKit Lite: by Wpmet – 2.7.0 Essential Addons for Elementor: by WPDeveloper – 5.3.1 Google Listings and Ads: by WooCommerce – 2.1.3 Head, Footer and Post Injections: by Stefano Lissa – 3.2.5 HivePress Claim Listings: by HivePress – 1.1.3 HivePress Favorites: by HivePress – 1.2.2 HivePress Geolocation: by HivePress – 1.3.7 HivePress Messages: by HivePress – 1.3.0 HivePress Paid Listings: by HivePress – 1.1.6 HivePress Reviews: by HivePress – 1.3.0 HivePress: by HivePress – 1.6.14 Jetpack: by Automattic – 11.3.2 LiteSpeed Cache: by LiteSpeed Technologies – 5.2 MTN MoMo for WooCommerce: by mstonys – 1.0.5 WooCommerce: by Automattic – 7.0.0 WP Mail SMTP: by WPForms – 3.6.1 ### Inactive Plugins (16) ### Akismet Anti-Spam: by Automattic – 5.0 All in One SEO: by All in One SEO Team – 4.2.4 CartFlows: by CartFlows Inc – 1.10.4 Elementor Header & Footer Builder: by Brainstorm Force Nikhil Chavan – 1.6.13 File Manager Advanced: by modalweb – 4.1.5 Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 8.8.2 Hello Dolly: by Matt Mullenweg – 1.7.2 MailPoet: by MailPoet – 3.99.1 Maintenance: by WebFactory Ltd – 4.06 One Click Demo Import: by OCDI – 3.1.2 OptinMonster: by OptinMonster Popup Builder Team – 2.9.0 Simple Custom CSS and JS: by SilkyPress.com – 3.41 Starter Templates: by Brainstorm Force – 3.1.15 Visualmodo Elements: by Visualmodo – 1.0.2 WooCommerce Payments: by Automattic – 4.8.1 WP Reset: by WebFactory Ltd – 1.95 ### Settings ### API Enabled: – Force SSL: ? Currency: GHS (?) 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) Connected to WooCommerce.com: – Enforce Approved Product Download Directories: ? ### WC Pages ### Shop base: ? Page visibility should be public Cart: ? Page visibility should be public Checkout: #5742 - /index.php/checkout/ My account: #10 - /index.php/my-account/ Terms and conditions: #5710 - /index.php/terms-and-conditions/ ### Theme ### Name: ListingHive Version: 1.2.6 Author URL: https://hivepress.io 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 WooCommerce Support: ? ### Templates ### Archive Template: Your theme has a woocommerce.php file 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: – ### Admin ### Enabled Features: activity-panels analytics coupons customer-effort-score-tracks experimental-products-task experimental-import-products-task experimental-fashion-sample-products experimental-product-tour shipping-smart-defaults shipping-setting-tour homescreen marketing multichannel-marketing mobile-app-banner navigation onboarding onboarding-tasks remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: minified-js new-product-management-experience settings Daily Cron: ? Next scheduled: 2022-10-14 16:40:51 +00:00 Options: ? Notes: 61 Onboarding: completed ### Action Scheduler ### Complete: 2,266 Oldest: 2022-09-18 20:49:28 +0000 Newest: 2022-10-14 11:39:04 +0000 Pending: 8 Oldest: 2022-10-14 12:05:39 +0000 Newest: 2022-10-17 14:57:44 +0000 ### Status report information ### Generated at: 2022-10-14 11:42:06 +00:00
Hello @alpha2022,
Thank you for providing the report!
I tried searching for similar problems and I found most users are using
PHP 8.0
, just like in your case.Can you please ask your host to change your PHP version to
7.4
?If that doesn’t take care of it then the next step would be to run a full conflict test by:
- Temporarily switch your theme to Storefront
- Disable all plugins except for WooCommerce
- Repeat the action that is causing the problem
I understand that your site might be serving customers running a conflict test might not be possible, if that’s the case you can make a clone of your site and run the test in that environment. Here’s a plugin that can help you with this.
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 the conflict. You can find a more detailed explanation of how to do a conflict test here.
Let us know your findings!
after disable all the plugins except woocommerce am facing the same problem, what else can i do to solve that
i changed my php version to 7.4 and my users setting account is displaying this message
Warning: include(): Filename cannot be empty in /home/u737427875/domains/liqwidity.com/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 53Warning: include(): Failed opening ” for inclusion (include_path=’.:/opt/alt/php74/usr/share/pear’) in /home/u737427875/domains/liqwidity.com/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 53
i uninstalled completely the woocommerce plugin
Hello,
I’m sorry to hear about this issue.
WC Version: 7.0.0
WC Database Version: 6.9.4Please head to WooCommerce > status > tools. Look for the option
Update database
.Pending: 8
Also, please navigate to WooCommerce > status > scheduled actions > pending. Run the pending actions and allow some time, then check again if the issue persists.
May I ask when you switch your theme to our default theme Storefront is the issue still present?
Let me know what you find. Thanks.
- The topic ‘order page bug (woocommerce)’ is closed to new replies.