• Resolved tmnewslang

    (@tmnewslang)


    Hi,
    We had some problems with a website’s statistics for the last year, with stuff not updating as it should. And we had to recreate ActionScheduler tables to make it work correctly again.

    This morning, my client told me some orders where not in the websites’ statistics, my first idea was to clear the statistics cache in WooCommerce > Status > Tools tab. And it worked, but there are still inconsistencies I don’t get.

    For example on a given day there was one order of 16K on the website. That’s what I see in the order’s list and also what shows in the order’s analytics view.

    But when I open the income view (I don’t know if I’m using the right terms, the backend is in french), for this date, I get this :

    With a total of 14.2K instead of 16K and some strange voucher calculation (when no voucher had been applied on this order). Here’s the order details :

    Any idea what’s going on ?

    Thanks for your help.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hi,

    Sorry to hear about that discrepancy, this is odd.

    I’ve seen one similar case, where one of our colleagues resolved the issue.

    Please go to your backend, under Analytics > settings.

    Please check if the date type is set to date created and save.

    Then clear the analytics cache (Under WooCommerce > status > tools > clear analytics cache).

    Then you can import the historical data into the analytics.

    Let us know if this worked for you.

    Thread Starter tmnewslang

    (@tmnewslang)

    Hi Igor,

    Thanks for getting back on this ! It worked by simply changing the setting to date created and clearing the cache.

    Regarding Historical data, I was never prompted to do so, I believe. And when I go on the setting page to do so, it’s hanging in the “initialization” phase and nothing happens (I tried leaving the window opened for 2 hours but nothing changed).

    Here’s a screenshot :

    I know it’s not the subject of the topic, but do you have any idea why this is not working ?

    Thanks !

    Hi @tmnewslang ,

    Glad to hear that the initial issue is resolved!

    Regarding Historical data, I was never prompted to do so, I believe. And when I go on the setting page to do so, it’s hanging in the “initialization” phase and nothing happens (I tried leaving the window opened for 2 hours but nothing changed).

    It’s possible that something is interfering with importing Analytics.

    I’d recommend first disabling any caching and/or security plugins you have enabled and re-starting the import of historical data as it’s possible that there may be a caching/security plugin causing an issue here.

    If this makes no difference, would you please share a copy of your sites System Status Report so that we can have a better understanding of your sites current environment.

    You can find this via WooCommerce → Status. Select Get system report and then Copy for support.

    Once you have that, you can share the results in your response here.

    Cheers!

    Thread Starter tmnewslang

    (@tmnewslang)

    Hi Roxy,

    Thanks for getting back to me. I have WP Rocket installed on the website, it’s the only tool I use for caching, no security plugin is installed. I tried deactivating WP Rocket but it did not correct the problem.

    Here’s the system report :

    WordPress Environment

    WordPress address (URL): https://www.thomascrauwels.ch
    Site address (URL): https://www.thomascrauwels.ch
    WC Version: 7.6.0
    REST API Version: ✔ 7.6.0
    WC Blocks Version: ✔ 9.8.4
    Action Scheduler Version: ✔ 3.5.4
    Log Directory Writable: ✔
    WP Version: ❌ 6.1.1 – Une nouvelle version de WordPress est disponible (6.2)
    WP Multisite: –
    WP Memory Limit: 2 Go
    WP Debug Mode: –
    WP Cron: ✔
    Language: fr_FR
    External object cache: ✔

    Server Environment

    Server Info: Apache
    PHP Version: 7.4.33
    PHP Post Max Size: 300 Mo
    PHP Time Limit: 3600
    PHP Max Input Vars: 10000
    cURL Version: 7.74.0
    OpenSSL/1.1.1k

    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.4.17-MariaDB-1:10.4.17+maria~jessie-log
    Max Upload Size: 300 Mo
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔

    Database

    WC Database Version: 7.6.0
    WC Database Prefix: kzu_
    Taille totale de la base de données: 662.98MB
    Taille de la base de données: 494.62MB
    Taille de l’index: 168.36MB
    kzu_woocommerce_sessions: Données : 0.11MB + Index : 0.02MB + Moteur InnoDB
    kzu_woocommerce_api_keys: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    kzu_woocommerce_attribute_taxonomies: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    kzu_woocommerce_downloadable_product_permissions: Données : 0.02MB + Index : 0.17MB + Moteur InnoDB
    kzu_woocommerce_order_items: Données : 0.19MB + Index : 0.16MB + Moteur InnoDB
    kzu_woocommerce_order_itemmeta: Données : 2.52MB + Index : 2.45MB + Moteur InnoDB
    kzu_woocommerce_tax_rates: Données : 0.02MB + Index : 0.08MB + Moteur InnoDB
    kzu_woocommerce_tax_rate_locations: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB
    kzu_woocommerce_shipping_zones: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    kzu_woocommerce_shipping_zone_locations: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    kzu_woocommerce_shipping_zone_methods: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    kzu_woocommerce_payment_tokens: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    kzu_woocommerce_payment_tokenmeta: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB
    kzu_woocommerce_log: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    kzu_actionscheduler_actions: Données : 92.56MB + Index : 68.64MB + Moteur InnoDB
    kzu_actionscheduler_claims: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    kzu_actionscheduler_claims_2023: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    kzu_actionscheduler_groups: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    kzu_actionscheduler_groups_2023: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    kzu_actionscheduler_logs: Données : 12.52MB + Index : 7.84MB + Moteur InnoDB
    kzu_actionscheduler_logs_2023: Données : 36.52MB + Index : 20.56MB + Moteur InnoDB
    kzu_ac_abandoned_cart_history_lite: Données : 2.02MB + Index : 0.00MB + Moteur InnoDB
    kzu_ac_email_templates_lite: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    kzu_ac_guest_abandoned_cart_history_lite: Données : 0.09MB + Index : 0.00MB + Moteur InnoDB
    kzu_ac_sent_history_lite: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    kzu_apcm_details: Données : 1.02MB + Index : 0.00MB + Moteur InnoDB
    kzu_apcm_statistics: Données : 0.45MB + Index : 0.00MB + Moteur InnoDB
    kzu_automatewoo_abandoned_carts: Données : 0.02MB + Index : 0.08MB + Moteur InnoDB
    kzu_automatewoo_customers: Données : 0.09MB + Index : 0.13MB + Moteur InnoDB
    kzu_automatewoo_customer_meta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    kzu_automatewoo_events: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB
    kzu_automatewoo_guests: Données : 0.08MB + Index : 0.09MB + Moteur InnoDB
    kzu_automatewoo_guest_meta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    kzu_automatewoo_logs: Données : 0.13MB + Index : 0.25MB + Moteur InnoDB
    kzu_automatewoo_log_meta: Données : 0.41MB + Index : 0.39MB + Moteur InnoDB
    kzu_automatewoo_queue: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB
    kzu_automatewoo_queue_meta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    kzu_commentmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    kzu_comments: Données : 1.52MB + Index : 1.03MB + Moteur InnoDB
    kzu_dgwt_wcas_index: Données : 1.52MB + Index : 0.05MB + Moteur InnoDB
    kzu_dgwt_wcas_invindex_cache: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    kzu_dgwt_wcas_invindex_doclist: Données : 2.52MB + Index : 4.03MB + Moteur InnoDB
    kzu_dgwt_wcas_invindex_wordlist: Données : 0.41MB + Index : 0.28MB + Moteur InnoDB
    kzu_dgwt_wcas_stats: Données : 0.14MB + Index : 0.00MB + Moteur InnoDB
    kzu_dgwt_wcas_tax_index: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB
    kzu_duplicator_pro_entities: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    kzu_duplicator_pro_packages: Données : 0.06MB + Index : 0.02MB + Moteur InnoDB
    kzu_e_events: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    kzu_e_notes: Données : 0.02MB + Index : 0.17MB + Moteur InnoDB
    kzu_e_notes_users_relations: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB
    kzu_e_submissions: Données : 0.02MB + Index : 0.27MB + Moteur InnoDB
    kzu_e_submissions_actions_log: Données : 0.02MB + Index : 0.11MB + Moteur InnoDB
    kzu_e_submissions_values: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    kzu_ff_scheduled_actions: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    kzu_fluentform_entry_details: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    kzu_fluentform_forms: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    kzu_fluentform_form_analytics: Données : 52.58MB + Index : 0.00MB + Moteur InnoDB
    kzu_fluentform_form_meta: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    kzu_fluentform_logs: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    kzu_fluentform_submissions: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    kzu_fluentform_submission_meta: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    kzu_grp_google_place: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    kzu_grp_google_review: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    kzu_jet_post_types: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    kzu_jet_taxonomies: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    kzu_links: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    kzu_lrsync: Données : 0.13MB + Index : 0.02MB + Moteur InnoDB
    kzu_lrsync_collections: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    kzu_lrsync_meta: Données : 0.38MB + Index : 0.11MB + Moteur InnoDB
    kzu_lrsync_relations: Données : 0.08MB + Index : 0.08MB + Moteur InnoDB
    kzu_mailchimp_carts: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    kzu_mailchimp_jobs: Données : 3.03MB + Index : 0.00MB + Moteur InnoDB
    kzu_mwt_search_history: Données : 0.52MB + Index : 0.00MB + Moteur InnoDB
    kzu_mwt_search_terms: Données : 0.09MB + Index : 0.00MB + Moteur InnoDB
    kzu_options: Données : 13.06MB + Index : 1.53MB + Moteur InnoDB
    kzu_pantheon_sessions: Données : 1.02MB + Index : 0.09MB + Moteur InnoDB
    kzu_pmxi_files: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    kzu_pmxi_hash: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    kzu_pmxi_history: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    kzu_pmxi_images: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    kzu_pmxi_imports: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    kzu_pmxi_posts: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    kzu_pmxi_templates: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    kzu_postmeta: Données : 105.59MB + Index : 34.13MB + Moteur InnoDB
    kzu_posts: Données : 117.20MB + Index : 5.83MB + Moteur InnoDB
    kzu_realmedialibrary: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    kzu_realmedialibrary_meta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    kzu_realmedialibrary_posts: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    kzu_realmedialibrary_tmp: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    kzu_redirection_404: Données : 7.02MB + Index : 2.03MB + Moteur InnoDB
    kzu_redirection_groups: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    kzu_redirection_items: Données : 0.02MB + Index : 0.09MB + Moteur InnoDB
    kzu_redirection_logs: Données : 0.11MB + Index : 0.05MB + Moteur InnoDB
    kzu_shortpixel_folders: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    kzu_shortpixel_meta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    kzu_shortpixel_postmeta: Données : 0.09MB + Index : 0.08MB + Moteur InnoDB
    kzu_shortpixel_queue: Données : 0.02MB + Index : 0.09MB + Moteur InnoDB
    kzu_snippets: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB
    kzu_termmeta: Données : 0.17MB + Index : 0.22MB + Moteur InnoDB
    kzu_terms: Données : 0.05MB + Index : 0.03MB + Moteur InnoDB
    kzu_term_relationships: Données : 2.23MB + Index : 1.47MB + Moteur InnoDB
    kzu_term_taxonomy: Données : 0.08MB + Index : 0.03MB + Moteur InnoDB
    kzu_tm_taskmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    kzu_tm_tasks: Données : 0.03MB + Index : 0.02MB + Moteur InnoDB
    kzu_usermeta: Données : 10.52MB + Index : 0.59MB + Moteur InnoDB
    kzu_users: Données : 0.06MB + Index : 0.05MB + Moteur InnoDB
    kzu_wcpdf_credit_note_number: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    kzu_wcpdf_invoice_number: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    kzu_wcpdf_packing_slip_number: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    kzu_wcpdf_proforma_number: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    kzu_wc_admin_notes: Données : 0.08MB + Index : 0.00MB + Moteur InnoDB
    kzu_wc_admin_note_actions: Données : 0.05MB + Index : 0.02MB + Moteur InnoDB
    kzu_wc_category_lookup: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    kzu_wc_customer_lookup: Données : 0.09MB + Index : 0.09MB + Moteur InnoDB
    kzu_wc_download_log: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB
    kzu_wc_gpf_render_cache: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    kzu_wc_order_coupon_lookup: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    kzu_wc_order_product_lookup: Données : 0.13MB + Index : 0.30MB + Moteur InnoDB
    kzu_wc_order_stats: Données : 0.14MB + Index : 0.17MB + Moteur InnoDB
    kzu_wc_order_tax_lookup: Données : 0.06MB + Index : 0.06MB + Moteur InnoDB
    kzu_wc_postfinancecheckout_attribute_options: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    kzu_wc_postfinancecheckout_completion_job: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    kzu_wc_postfinancecheckout_method_config: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB
    kzu_wc_postfinancecheckout_refund_job: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    kzu_wc_postfinancecheckout_token_info: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB
    kzu_wc_postfinancecheckout_transaction_info: Données : 1.52MB + Index : 0.06MB + Moteur InnoDB
    kzu_wc_postfinancecheckout_void_job: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    kzu_wc_product_attributes_lookup: Données : 1.52MB + Index : 1.52MB + Moteur InnoDB
    kzu_wc_product_download_directories: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    kzu_wc_product_meta_lookup: Données : 1.52MB + Index : 2.22MB + Moteur InnoDB
    kzu_wc_rate_limits: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    kzu_wc_reserved_stock: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    kzu_wc_tax_rate_classes: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    kzu_wc_webhooks: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    kzu_wc_zapier_history: Données : 0.06MB + Index : 0.00MB + Moteur InnoDB
    kzu_woocommerce_gpf_google_taxonomy: Données : 6.02MB + Index : 0.45MB + Moteur InnoDB
    kzu_woof_query_cache: Données : 1.52MB + Index : 1.52MB + Moteur InnoDB
    kzu_wpmailsmtp_debug_events: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    kzu_wpmailsmtp_tasks_meta: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    kzu_wpr_rocket_cache: Données : 1.06MB + Index : 1.28MB + Moteur InnoDB
    kzu_wpr_rucss_used_css: Données : 0.02MB + Index : 0.11MB + Moteur InnoDB
    kzu_wpsr_caches: Données : 0.41MB + Index : 0.00MB + Moteur InnoDB
    kzu_wpsr_reviews: Données : 0.09MB + Index : 0.00MB + Moteur InnoDB
    kzu_wsal_metadata: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    kzu_wsal_occurrences: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    kzu_wsal_options: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    kzu_yith_wcwl: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    kzu_yith_wcwl_lists: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    kzu_yoast_indexable: Données : 9.22MB + Index : 5.30MB + Moteur InnoDB
    kzu_yoast_indexable_hierarchy: Données : 0.09MB + Index : 0.16MB + Moteur InnoDB
    kzu_yoast_migrations: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    kzu_yoast_primary_term: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    kzu_yoast_seo_links: Données : 0.22MB + Index : 0.11MB + Moteur InnoDB
    kzu_yoast_seo_meta: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB

    Post Type Counts

    acf-field: 135
    acf-field-group: 35
    attachment: 9028
    aw_workflow: 8
    customize_changeset: 2
    e-landing-page: 1
    elementor_font: 1
    elementor_library: 50
    elementor_snippet: 1
    encadrements: 2
    frames: 6
    gblocks_global_style: 2
    gblocks_templates: 1
    gp_elements: 28
    jet-engine: 12
    nav_menu_item: 96
    oembed_cache: 11
    page: 31
    post: 53
    product: 1089
    product_variation: 8527
    ratios: 6
    revision: 1814
    saswp: 2
    saswp_reviews: 66
    saswp-collections: 1
    shop_coupon: 86
    shop_order: 1014
    shop_order_refund: 16
    situation: 8
    situation_thumbs: 47
    social_mockups: 216
    testimonial: 4
    works: 12
    wp_block: 17
    wp_global_styles: 1
    wp_navigation: 11
    wp_social_reviews: 3
    wpsr_social_chats: 1

    Security

    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔

    Active Plugins (54)

    ManageWP – Worker: par GoDaddy – 4.9.17
    Advanced Custom Fields PRO: par WP Engine – 6.1.3
    FiboSearch – AJAX Search for WooCommerce (Pro): par L’équipe FiboSearch – 1.23.0
    APCu Manager: par Pierre Lannoy / PerfOps One – 3.5.1
    AutomateWoo: par Woocommerce – 5.5.11
    PublishPress Capabilities: par PublishPress – 2.7.0
    Connects – Mailchimp Addon: par Brainstorm Force – 2.2.4
    Connects – WooCommerce Checkout Form: par Brainstorm Force – 1.1.4
    Convert Plus: par Brainstorm Force – 3.5.24
    Download Plugins and Themes from Dashboard: par WPFactory – 1.8.2
    Duplicate Page: par mndpsingh287 – 4.5.1
    Duplicator Pro: par Snap Creek – 4.5.10
    Facebook for WooCommerce: par Facebook – 3.0.17
    Fluent Forms: par Contact Form – WPManageNinja LLC – 4.3.25
    GenerateBlocks Pro: par Tom Usborne – 1.5.2
    GenerateBlocks: par Tom Usborne – 1.7.3
    GP Premium: par Tom Usborne – 2.3.1
    Mailchimp for WooCommerce: par Mailchimp – 2.8.2
    Pic to Product: par New Slang – 0.1
    Perfmatters: par forgemedia – 2.0.9
    Pinterest pour WooCommerce: par WooCommerce – 1.2.17 (une mise à jour de la version 1.2.20 est disponible)
    Redirection: par John Godley – 5.3.10
    Regenerate Thumbnails: par Alex Mills (Viper007Bond) – 3.1.5
    Reviews for Schema: par Magazine3 – 1.25
    Schema & Structured Data for WP & AMP: par Magazine3 – 1.12
    WP Search Analytics: par Cornel Raiu – 1.4.5
    ShortPixel Image Optimizer: par ShortPixel – Convert WebP/AVIF & Optimize Images – 5.2.1
    SVG Support: par Benbodhi – 2.5.5
    Converter for Media: par matt plugins – 5.8.5
    Weglot – Wooccommerce translate following mail: par Weglot Team –
    Weglot Translate: par L’équipe Weglot Translate – 4.0
    Dernière connexion: par Yoohoo Plugins – 1.2.2
    Advanced Order Export For WooCommerce: par AlgolPlus – 3.4.0
    PostFinance Checkout: par wallee AG – 2.1.13
    WooCommerce Conditional Shipping and Payments: par SomewhereWarm – 1.8.6 (une mise à jour de la version 1.14.5 est disponible)
    PDF Invoices & Packing Slips for WooCommerce: par WP Overnight – 3.5.2
    WooCommerce PDF Invoices & Packing Slips Professional: par Ewout Fernhout – 2.9.2
    WooCommerce PDF Invoices & Packing Slips Premium Templates: par Ewout Fernhout – 2.13.0
    WooCommerce Pre-Orders: par WooCommerce – 1.5.30 (une mise à jour de la version 2.0.1 est disponible)
    WooCommerce Google Product Feed: par Ademti Software Ltd. – 10.5.3 (une mise à jour de la version 10.10.0 est disponible)
    HUSKY – Products Filter Professional for WooCommerce: par realmag777 – 1.3.2
    WooCommerce Shipment Tracking: par WooCommerce – 1.6.26 (une mise à jour de la version 2.3.1 est disponible)
    WooCommerce Zapier: par OM4 Software – 2.3.0 (une mise à jour de la version 2.4.1 est disponible)
    WooCommerce: par Automattic – 7.6.0 (une mise à jour de la version 7.6.1 est disponible)
    Yoast SEO: par L’équipe Yoast – 20.5
    WP Crontrol: par John Blackbourn & contributeurs – 1.15.2
    Custom Body Class: par Andrei Lupu – 0.7.3
    WP Mail SMTP: par WPForms – 3.7.0
    WP Rocket: par WP Media – 3.13.0.1
    WP Social Ninja Pro: par WPManageNinja LLC – 3.9.1
    WP Social Ninja: par WPManageNinja LLC – 3.9.1
    Photo Engine (WP/LR Sync): par Jordy Meow – 6.2.3
    Yoast SEO : WooCommerce: par L’équipe Yoast – 15.6
    YITH WooCommerce Wishlist Premium: par YITH – 3.19.0

    Inactive Plugins (10)

    Abandoned Cart Lite for WooCommerce: par Tyche Softwares – 5.14.1
    CartMagician Woo Connect – API for WooCommerce Augmented Reality: par CartMagician – 3.1.09
    Elementor: par Elementor.com – 3.12.1
    Elementor Pro: par Elementor.com – 3.11.2
    JetElements For Elementor: par Crocoblock – 2.6.9
    JetEngine: par Crocoblock – 3.1.4
    Live Copy Paste: par BdThemes – 1.1.5
    Native PHP Sessions for WordPress: par Pantheon – 1.3.5
    WooCommerce Google Analytics Integration: par WooCommerce – 1.7.0
    WPS Hide Login: par WPServeur
    NicolasKulka
    wpformation – 1.9.8

    Dropin Plugins (2)

    advanced-cache.php: advanced-cache.php
    object-cache.php: APCu Objects Cache Handler

    Must Use Plugins (1)

    ManageWP – Worker Loader: par GoDaddy – 1.0.0

    Settings

    API Enabled: –
    Force SSL: –
    Currency: CHF (CHF)
    Currency Position: right_space
    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: –
    Order datastore: WC_Order_Data_Store_CPT

    WC Pages

    Base de la boutique: #692 – /boutique/
    Panier: ❌ La page ne contient pas le code court [woocommerce_cart] ou le bloc woocommerce/cart.
    Commander: ❌ La page ne contient pas le code court [woocommerce_checkout] ou le bloc woocommerce/checkout.
    Mon compte: ❌ La page ne contient pas le code court [woocommerce_my_account].
    Conditions générales de vente et d’utilisation: #724 – /conditions-generales/

    Theme

    Name: Thomas Crauwels Fine Alpine Photography
    Version: 0.1
    Author URL: https://newslang.ch
    Child Theme: ✔
    Parent Theme Name: GeneratePress
    Parent Theme Version: 3.3.0
    Parent Theme Author URL: https://tomusborne.com
    WooCommerce Support: ✔

    Templates

    Overrides: thomas-crauwels/woocommerce/checkout/form-checkout.php
    thomas-crauwels/woocommerce/checkout/review-order.php
    thomas-crauwels/woocommerce/emails/admin-failed-order.php
    thomas-crauwels/woocommerce/emails/admin-new-order.php
    thomas-crauwels/woocommerce/emails/customer-completed-order.php
    thomas-crauwels/woocommerce/myaccount/orders.php

    WooCommerce Google Product Feed feeds

    google: Google merchant centre product feed
      Type: google
      Category filter: –
      Categories: –
    googlereview: Google merchant centre product review feed
      Type: googlereview
      Category filter: –
      Categories: –
    bing: Bing merchant centre feed
      Type: bing
      Category filter: –
      Categories: –
    googlelocalproductinventory: Google merchant centre local product inventory feed
      Type: googlelocalproductinventory
      Category filter: –
      Categories: –
    googlelocalproducts: Google merchant centre local products feed (legacy)
      Type: googlelocalproducts
      Category filter: –
      Categories: –
    googleinventory: Google merchant centre product inventory feed (legacy)
      Type: googleinventory
      Category filter: –
      Categories: –

    WooCommerce Google Product Feed options

    Include variations in feed: Enabled
    Send “item group ID”: Enabled
    Expanded schema markup: –
    Debug key: e6f57c09-ac3b-4058-abe7-abc9b487e41b

    WooCommerce Google Product Feed fields

    Title: Pre-populates from product product_title.
    Product description: Main product description (full preferred) plus variation description
    Availability (in stock products): Defaults to “in stock”.
    Availability (backordered products): Defaults to “in stock”.
    Availability (out of stock products): Defaults to “out of stock”.
    Condition: Defaults to “new”.
    Brand: Defaults to “Thomas Crauwels Fine Alpine Photography”.
    Product Type: Defaults to “Home & Garden > Decor > Artwork > Posters
    Prints
    & Visual Artwork”.

    Google Product Category: Defaults to “Home & Garden > Decor > Artwork > Posters
    Prints
    & Visual Artwork”.

    Global Trade Item Number (GTIN): Pre-populates from product sku.
    Size system: Defaults to “EU”.
    Identifier exists flag: Defaults to “included”.
    Return policy label: Defaults to “https://thomascrauwels.ch/conditions-generales/”.

    WooCommerce Google Product Feed DB status

    Database version: 15
    Active database version: 15
    wc_gpf_render_cache: Empty
    woocommerce_gpf_google_taxonomy (de-DE): 5595 items
    woocommerce_gpf_google_taxonomy (en-US): 5595 items
    woocommerce_gpf_google_taxonomy (fr-FR): 5595 items
    woocommerce_gpf_google_taxonomy (it-IT): 5595 items

    Admin

    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    import-products-task
    experimental-fashion-sample-products
    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: block-editor-feature-enabled
    minified-js
    new-product-management-experience
    product-variation-management
    settings

    Daily Cron: ✔ Next scheduled: 2023-04-27 14:20:09 +00:00
    Options: ✔
    Notes: 122
    Onboarding: completed

    Action Scheduler

    Complete: 82 720
    Oldest: 2023-03-26 15:51:08 +0000
    Newest: 2023-04-26 15:47:17 +0000

    Pending: 3 137
    Oldest: 2023-04-26 11:39:59 +0000
    Newest: 2023-04-27 06:28:03 +0000

    In-progress: 1
    Oldest: –
    Newest: –

    Failed: 81 247
    Oldest: 2022-11-25 08:46:34 +0000
    Newest: 2023-04-26 15:46:37 +0000

    WooCommerce Zapier

    Database Version: ✔ 14
    Detailed Logging Enabled: Yes
    Legacy Mode Disabled: ✔ Yes
    SSL: ✔ Yes
    REST API Authentication Key(s): ❌ 0
    Task History Record Count: ✔ 359
    Webhook #1: WooCommerce Zapier

    • Status: active
    • Trigger: order.created
    • Delivery Count: 359

    Status report information

    Generated at: 2023-04-26 15:47:28 +00:00
    `

    Hi @tmnewslang

    Thanks for sharing the requested information above.

    I understand that even after disabling the WP Rocket plugin, the issue still exists, correct?

    Pending: 3 137

    Checking your site’s SSR, I can see that you have a lot of pending tasks on your site which may have hampered the importation of historical data on your site. Please try to run them manually by going to WooCommerce > Status > Scheduled Actions > Pending and see if this resolves the issue here?

    Thread Starter tmnewslang

    (@tmnewslang)

    Hi and thanks for getting back to me.

    I checked the pending scheduled actions, we know there are a lot, and we’re currently looking into this to reduce them, but most of them are WP Rocket preloading cache for the numerous pages (we have 1’200 products on the website, 20-30 categories, tags, etc. and multiple languages).

    But I could not find any task in there that would fit the description of “importing historical data”. I tried clicking “stop import” (because it was running non-stop but nothing was happening) in the historical data page, and I re-ran the import.

    Do you confirm that the tasks names are these ones :

    wc-admin_import_batch_init_customers
    wc-admin_import_batch_init_orders

    After clicking the button, I checked to see if any new action had been created, and I was able to find those, in the pending list.

    Is there any way to force them executing above all others ?

    Hi,

    Is there any way to force them executing above all others ?

    First you can check the cron jobs, you can use the WP-Crontrol to monitor the cron jobs, I’ve seen it is one of the plugins installed on your site.

    You can go to WooCommerce > status > scheduled actions > pending, and manually run it.

    If the issue persists, you can switch the site theme to Storefront temporarily, and then disable all plugins except WooCommerce. Check again to see if the issue persists, (I mean you can try to import the historical data) if it works, it means a conflict was affecting the site, and you can then switch back your theme to the original one, and reactivate the rest of the plugins, until you find the culprit (What is stopping the historical data to be imported). More info: https://woocommerce.com/document/how-to-test-for-conflicts/

    Let us know if that makes a difference.

    Thread Starter tmnewslang

    (@tmnewslang)

    Hi and thanks for your answer !

    I was able to clear all pending tasks and run the process. It seems to be alright now, I know I’ll still have to fix other issues with pending tasks to avoid this from happening again.

    But you’ve helped me through the topic’s problem and some more, so I’ll mark this as resolve and keep all this in mind for the future.

    Thread Starter tmnewslang

    (@tmnewslang)

    Hi,

    Regarding this problem, last week my client was surprised not to see his last sales appear in the dashboard widget’s analytics. He’s grown suspicious of this widget because it often seems to be missing orders (and it did not help that we had lots of problems with scheduled actions, not refreshing analytics at all).

    How often does WooCommerce refresh this widget ? Is this normal behavior to have some missing orders on a given day ? The next days the analytics were fine again.

    It might be linked to cron, but I have now setup a cron task executing wp-cron every five minutes and disabled WP-CRON in the wp-config. So it should be ran often enough for the widget to get updated.

    Let me know if you can give me some technical insights on how that works !

    Saif

    (@babylon1999)

    Hello @tmnewslang,

    Regarding this problem, last week my client was surprised not to see his last sales appear in the dashboard widget’s analytics. He’s grown suspicious of this widget because it often seems to be missing orders (and it did not help that we had lots of problems with scheduled actions, not refreshing analytics at all).

    From my testing, the widget order number should update within seconds of placing the order. However, the order status must be set to either processing or complete, on-hold orders will not be counted.


    Link to image: https://d.pr/i/zHesig

    May I ask if you’ve disabled WooCommerce admin with the following filter?

    add_filter( 'woocommerce_admin_disabled', '__return_true' );

    Look forward to hearing back from you.

    Thread Starter tmnewslang

    (@tmnewslang)

    Hi,

    Nope, I did not deactivate WooCommerce Analytics with this hook. But since I had problems with the analytics not being updated because of scheduled tasks being clogged, I assumed a background task was updating the analytics every X minutes or hours.

    I believe WC is keeping a table separate for analytics (for indexing and speed purpose I imagine), so I thought that was causing a delay. It should not be the case ? If the order is in the right status it should show up in the dashboard widget immediately ?

    Thanks for your clarifications !

    Saif

    (@babylon1999)

    It should not be the case ? If the order is in the right status it should show up in the dashboard widget immediately ?

    Yes, the widget should update within seconds of placing the order. In the future, if you encounter any buggy behaviour in analytics, you can try clearing the the cache WooCommerce > Status > Tools.


    Link to image: https://d.pr/i/RHG2Lw

    Cheers!

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

The topic ‘Inconsistencies in statistics’ is closed to new replies.