• Resolved stuartm

    (@therandomagency)


    Im using woocomrece and for some reason im having a product injected into my blog posts at random points.

    Ive done some debugging and found that the only way to stop this happening is to disable woocommerce but I can’t do that as I need the ecommerce facilities.

    I’ve tried switching themes and deactivating all plugins (leaving only woo commerce) but it still happens. Ive checked through all the Woocommerce settings and can’t find anything that would be causing this to happen

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi @therandomagency

    Thank you for reaching out.
    I understand that a product is being displayed at random within posts contents on your site.

    As a first step, please share a copy of your site’s System Status. You can find it via WooCommerce → Status. Select Get system report and then Copy for support.

    Regards

    Thread Starter stuartm

    (@therandomagency)

    
    ### WordPress Environment ###
    
    WordPress address (URL): REMOVED
    Site address (URL): REMOVED
    WC Version: 6.8.0
    REST API Version: ? 6.8.0
    WC Blocks Version: ? 8.0.0
    Action Scheduler Version: ? 3.4.0
    Log Directory Writable: ?
    WP Version: 6.0.1
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: ?
    WP Cron: ?
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.30
    PHP Post Max Size: 4 GB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.58.0
    OpenSSL/1.1.1
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.1.48-MariaDB-0ubuntu0.18.04.1
    Max Upload Size: 4 GB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 6.8.0
    WC Database Prefix: wp_
    Total Database Size: 318.46MB
    Database Data Size: 308.43MB
    Database Index Size: 10.03MB
    wp_woocommerce_sessions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_order_itemmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_actionscheduler_actions: Data: 0.13MB + Index: 0.13MB + 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.06MB + Index: 0.03MB + Engine InnoDB
    wp_cartflows_ca_cart_abandonment: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_cartflows_ca_email_history: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_cartflows_ca_email_templates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_cartflows_ca_email_templates_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_commentmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_comments: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_elfsight_whatsapp_chat_widgets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_options: Data: 8.34MB + Index: 0.11MB + Engine MyISAM
    wp_postmeta: Data: 269.11MB + Index: 4.43MB + Engine MyISAM
    wp_posts: Data: 9.08MB + Index: 0.48MB + Engine MyISAM
    wp_seopress_significant_keywords: Data: 0.16MB + Index: 0.16MB + Engine InnoDB
    wp_termmeta: Data: 0.80MB + Index: 0.55MB + Engine MyISAM
    wp_terms: Data: 0.04MB + Index: 0.10MB + Engine MyISAM
    wp_term_relationships: Data: 0.05MB + Index: 0.11MB + Engine MyISAM
    wp_term_taxonomy: Data: 0.04MB + Index: 0.04MB + Engine MyISAM
    wp_twwr_whatsapp_agent_logs: Data: 0.08MB + Index: 0.00MB + Engine MyISAM
    wp_twwr_whatsapp_chat_logs: Data: 0.07MB + Index: 0.00MB + Engine MyISAM
    wp_usermeta: Data: 0.02MB + Index: 0.02MB + Engine MyISAM
    wp_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_wc_admin_notes: Data: 0.03MB + Index: 0.00MB + Engine MyISAM
    wp_wc_admin_note_actions: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wp_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_customer_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_order_product_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_order_stats: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    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.00MB + Index: 0.01MB + Engine MyISAM
    wp_wc_rate_limits: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfconfig: Data: 1.44MB + Index: 0.00MB + Engine InnoDB
    wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wffilemods: Data: 9.52MB + Index: 0.00MB + Engine InnoDB
    wp_wfhits: Data: 1.02MB + Index: 0.25MB + Engine InnoDB
    wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wfknownfilelist: Data: 4.52MB + Index: 0.00MB + Engine InnoDB
    wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wflogins: Data: 1.02MB + Index: 0.22MB + Engine InnoDB
    wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfstatus: Data: 0.19MB + Index: 0.09MB + Engine InnoDB
    wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine MyISAM
    wp_wpil_broken_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpil_keywords: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpil_keyword_links: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpil_report_links: Data: 0.38MB + Index: 0.34MB + Engine InnoDB
    wp_wpil_urls: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpil_url_links: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wps_hit: Data: 0.02MB + Index: 0.05MB + Engine MyISAM
    wp_wps_index: Data: 0.47MB + Index: 0.66MB + Engine MyISAM
    wp_wps_key: Data: 0.04MB + Index: 0.06MB + Engine MyISAM
    wp_wps_object_term: Data: 1.26MB + Index: 1.74MB + Engine MyISAM
    wp_wps_object_type: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_wps_query: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_wps_uri: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wps_user_agent: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wws_analytics: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    
    ### Post Type Counts ###
    
    acf-field: 113
    acf-field-group: 2
    attachment: 621
    custom_css: 3
    fl-builder-template: 9
    fl-theme-layout: 9
    nav_menu_item: 89
    oembed_cache: 9
    page: 135
    post: 153
    product: 24
    revision: 1087
    seopress_404: 2288
    twwr_whatsapp_agent: 1
    twwr_whatsapp_chat: 1
    wp_global_styles: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?Error messages should not be shown to visitors.
    
    ### Active Plugins (23) ###
    
    ManageWP - Worker: by GoDaddy – 4.9.14
    Advanced Custom Fields PRO: by Delicious Brains – 5.12.3
    Astra Pro: by Brainstorm Force – 3.9.1
    Premium Starter Templates: by Brainstorm Force – 3.1.13
    Beaver Builder Plugin (Agency Version): by The Beaver Builder Team – 2.5.5.3
    Beaver Themer: by The Beaver Builder Team – 1.4.2.2
    Ultimate Addons for Beaver Builder: by Brainstorm Force – 1.34.6
    PowerPack for Beaver Builder: by IdeaBox Creations – 2.24.3
    Better Search Replace: by Delicious Brains – 1.4.1
    Themer Templates for Beaver Themer: by <a href="https://beaver.press">BeaverPress</a> – 1.3
    Duplicate Page: by mndpsingh287 – 4.4.9
    Font Awesome: by Font Awesome – 4.2.0
    List Pages Shortcode: by Ben Huson
    Aaron Harp – 1.7.4
    
    Multiple external product URLs for WooCommerce: by Pawe? ?machowski – 1.3.2
    Search Exclude: by Roman Pronskiy – 1.2.7
    CURCY - WooCommerce Multi Currency Premium: by VillaTheme – 2.1.36
    WooCommerce Product Search: by itthinx – 4.6.0
    WooCommerce: by Automattic – 6.8.0 (update to version 6.8.1 is available)
    WooPack for Beaver Builder: by Team IdeaBox - Beaver Addons – 1.4.5
    Wordfence Security: by Wordfence – 7.6.0
    WordPress WhatsApp Support: by WeCreativez – 2.2.0
    SEOPress PRO: by SEOPress – 5.9
    SEOPress: by SEOPress – 5.9.0.2
    
    ### Inactive Plugins (3) ###
    
    Duplicate Menu: by Jonathan Christopher – 0.2.2
    Epic Social Share: by Jegtheme – 1.0.2
    Link Whisper: by Link Whisper – 1.4.9
    
    ### Must Use Plugins (1) ###
    
    ManageWP - Worker Loader: by GoDaddy – 1.0.0
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: USD ($)
    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: #9004111222002243 - /shop/
    Cart: ? Page not set
    Checkout: ? Page not set
    My account: ? Page not set
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: Astra Child
    Version: 1.0.0
    Author URL: https://wpastra.com/about/
    Child Theme: ?
    Parent Theme Name: Astra
    Parent Theme Version: 3.9.1
    Parent Theme Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
    WooCommerce Support: ?
    
    ### Templates ###
    
    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
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    wc-pay-promotion
    wc-pay-welcome-page
    wc-pay-subscriptions-page
    
    Disabled Features: minified-js
    settings
    
    Daily Cron: ? Next scheduled: 2022-08-22 19:15:19 +00:00
    Options: ?
    Notes: 36
    Onboarding: completed
    
    ### Action Scheduler ###
    
    Complete: 146
    Oldest: 2022-07-22 16:24:56 +0000
    Newest: 2022-08-21 17:19:42 +0000
    
    Pending: 2
    Oldest: 2022-08-22 16:19:47 +0000
    Newest: 2022-08-22 17:19:42 +0000
    
    ### Status report information ###
    
    Generated at: 2022-08-22 16:19:52 +00:00
    
    Thread Starter stuartm

    (@therandomagency)

    @hegenberg do you have an update please?

    Hi @therandomagency

    Thanks for sharing the System Status Report. It does not show any template overrides, so this behavior is likely originating from some plugin or the customized Astra theme (child theme).

    Ive done some debugging

    I’ve tried switching themes and deactivating all plugins (leaving only woo commerce) but it still happens

    The behavior you are experiencing is not default to WooCommerce, so it cannot happen on a site which is running on a basic setup of the latest versions of WordPress, WooCommerce and the Storefront theme as the only enabled software.

    Therefore, we strongly recommend isolating this issue by running a thorough conflict test. The best way to find the culprit is to:

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Check whether the problem persists

    Any custom code added to the site needs to be disabled as well.

    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.

    Instead of running the test on your live production site, you can create a duplicate/staging site. Many hosting providers offer site staging facilities, but if you don’t have such a feature, you can create one with the WP Staging plugin.

    Let us know how it goes.

    Thread Starter stuartm

    (@therandomagency)

    @margaretwporg thank you for your response, as i said in my previous message I’ve tried switching themes and deactivating all plugins (leaving only woo commerce) but it still happens.

    Rynald0s

    (@rynald0s)

    Automattic Happiness Engineer

    Hi @therandomagency

    In order to better understand what exactly that injected product looks like, we will need to ask for a link to where that exhibits.

    Cheers!

    Thread Starter stuartm

    (@therandomagency)

    Hi @rynald0s, that’s no problem how can I send this privately?

    Hi @therandomagency

    This is a public forum, hence, your reply will be accessible to the whole community.

    I recommend sending it using a service like https://pastebin.com/ which you can allow some days for the info to be alive while the issue is being checked. (Once the info is removed or deactivated from Pastebin this will not be accessible).

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Why do i have a random woocommerce product injected into into my blog posts?’ is closed to new replies.