Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi Jaideep,
    We are also having the same problem on one of our woocommerce stores and have had to temporarily deactivate the rank math plugin, along with the pro version. We are running woocommerce 9.7.2 with rank math 1.0.261.

    Here is the system info requested:



    rank-math

    version: 1.0.261
    database_version: 1
    plugin_plan: Free
    active_modules: link-counter, analytics, seo-analysis, sitemap, rich-snippet, woocommerce, acf, content-ai, instant-indexing, role-manager, redirections, local-seo
    refresh_token: No token
    permissions: Search Console: Not Given
    rank_math_404_logs: Not found
    rank_math_redirections: 32 KB
    rank_math_redirections_cache: 2 MB
    rank_math_internal_links: 112 KB
    rank_math_internal_meta: 48 KB
    rank_math_analytics_gsc: 80 KB
    rank_math_analytics_objects: 3 MB
    rank_math_analytics_inspections: 112 KB wp-core

    version: 6.7.4
    site_language: en_GB
    user_language: en_GB
    timezone: Europe/London
    permalink: /%year%/%monthnum%/%day%/%postname%/
    https_status: true
    multisite: false
    user_registration: 0
    blog_public: 1
    default_comment_status: open
    environment_type: production
    user_count: 489
    dotorg_communication: true wp-active-theme

    name: Understrap Child (mdhteamwear)
    version: 1.2.0
    author: the Understrap Contributors
    author_website: https://github.com/understrap/understrap-child/graphs/contributors
    parent_theme: Understrap (understrap)
    theme_features: core-block-patterns, widgets-block-editor, post-thumbnails, automatic-feed-links, title-tag, menus, html5, customize-selective-refresh-widgets, post-formats, custom-background, custom-logo, responsive-embeds, editor-styles, align-wide, editor-color-palette, woocommerce, wc-product-gallery-lightbox, wc-product-gallery-zoom, wc-product-gallery-slider, widgets
    theme_path: /home/mdhtw/web/mdhteamwear.co.uk/public_html/wp-content/themes/mdhteamwear
    auto_update: Disabled wp-parent-theme

    name: Understrap (understrap)
    version: 1.2.4
    author: Howard Development & Consulting
    author_website: https://howarddc.com
    theme_path: /home/mdhtw/web/mdhteamwear.co.uk/public_html/wp-content/themes/understrap
    auto_update: Disabled wp-mu-plugins (1)

    WP Umbrella: version: 1.0.0, author: WP Umbrella wp-plugins-active (59)

    Advanced Custom Fields: ACF Code Field: version: 1.8, author: Peter Tasker, Auto-updates disabled
    Advanced Custom Fields PRO: version: 6.5.1, author: WP Engine (latest version: 6.7.0.2), Auto-updates disabled
    Advanced Notifications: version: 1.2.9, author: Yehi, Auto-updates disabled
    Akismet Anti-spam: Spam Protection: version: 5.6, author: Automattic - Anti-spam Team, Auto-updates enabled
    Better Search Replace: version: 1.4.10, author: WP Engine, Auto-updates enabled
    Big File Uploads: version: 2.1.6, author: Infinite Uploads (latest version: 2.1.7), Auto-updates disabled
    Bootstrap Blocks: version: 5.2.1, author: Jürg Hunziker, Auto-updates disabled
    Britweb Teamwear Products: version: 0.1, author: Britweb, Auto-updates disabled
    Categories Images: version: 3.1.0, author: Muhammad El Zahlan (latest version: 3.3.1), Auto-updates disabled
    CoCart API - Decoupling WooCommerce Made Easy: version: 3.10.3, author: CoCart Headless, LLC (latest version: 4.8.1), Auto-updates disabled
    Complianz | GDPR/CCPA Cookie Consent: version: 7.4.2, author: Complianz (latest version: 7.4.4.2), Auto-updates disabled
    Converter for Media: version: 6.4.0, author: matt plugins, Auto-updates disabled
    Custom Post Type UI: version: 1.18.0, author: WebDevStudios (latest version: 1.18.2), Auto-updates disabled
    Custom Twitter Feeds: version: 2.3.1, author: Smash Balloon, Auto-updates disabled
    Disable Comments: version: 2.6.1, author: WPDeveloper, Auto-updates enabled
    Dojo for WooCommerce: version: 2.0.15, author: Dojo, Auto-updates disabled
    DPD UK & DPD Local Labels and Tracking: version: 2.1.12, author: Octolize (latest version: 2.1.14), Auto-updates disabled
    Duplicate Page: version: 4.5.6, author: mndpsingh287, Auto-updates enabled
    Export Media URLs: version: 2.2, author: Atlas Gondal, Auto-updates disabled
    Extra Product Sorting Options for WooCommerce: version: 2.11.0, author: SkyVerge, Auto-updates disabled
    Feeds for YouTube: version: 2.4.0, author: Smash Balloon YouTube Team (latest version: 2.6.2), Auto-updates disabled
    Flexible Printing: version: 1.6.12, author: Octolize (latest version: 1.6.14), Auto-updates disabled
    Flexible Shipping: version: 6.4.1, author: Octolize (latest version: 6.5.2), Auto-updates disabled
    Flexible Shipping Locations Add-on: version: 3.0.8, author: Octolize (latest version: 3.0.10), Auto-updates disabled
    Gravity Forms: version: 2.9.24, author: Gravity Forms, Auto-updates enabled
    Gravity Forms CLI: version: 1.7, author: Rocketgenius, Auto-updates disabled
    Gravity Forms reCAPTCHA Add-On: version: 2.1.0, author: Gravity Forms, Auto-updates disabled
    HUSKY - Products Filter Professional for WooCommerce: version: 3.3.6.4, author: realmag777, Auto-updates enabled
    Invoice My Club - WooCommerce Gateway: version: 1.0.0, author: Britweb, Auto-updates disabled
    Lazy Blocks: version: 4.2.0, author: Lazy Blocks Team, Auto-updates disabled
    List Custom Taxonomy Widget: version: 4.2, author: Nick Halsey, Auto-updates disabled
    Media Cleaner: version: 6.9.3, author: Jordy Meow (latest version: 7.0.1), Auto-updates disabled
    Media Deduper: version: 1.5.9, author: Cornershop Creative, Auto-updates disabled
    Payment Gateways by User Roles for WooCommerce: version: 1.3.0, author: Imaginate Solutions (latest version: 1.4.0), Auto-updates disabled
    Pickup Points PRO: version: 1.10.2, author: Octolize (latest version: 1.10.5), Auto-updates disabled
    Preview E-mails for WooCommerce: version: 2.2.14, author: Digamber Pradhan, Auto-updates disabled
    Rank Math SEO: version: 1.0.261, author: Rank Math SEO, Auto-updates enabled
    Regenerate Thumbnails: version: 3.1.6, author: Alex Mills (Viper007Bond), Auto-updates enabled
    Relevanssi: version: 4.24.6, author: Mikko Saari (latest version: 4.26.0), Auto-updates disabled
    Reusable Blocks Extended: version: 0.9.1, author: audrasjb, Auto-updates disabled
    Reviews Feed: version: 2.1.1, author: Smash Balloon, Auto-updates disabled
    Safe SVG: version: 2.4.0, author: 10up, Auto-updates enabled
    Simple History: version: 5.22.0, author: Pär Thernström, Auto-updates enabled
    Smash Balloon Custom Facebook Feed: version: 4.3.4, author: Smash Balloon, Auto-updates disabled
    Smash Balloon Instagram Feed: version: 6.9.1, author: Smash Balloon (latest version: 6.10.0), Auto-updates disabled
    Subaccounts for WooCommerce: version: 1.6.7, author: Mediaticus (latest version: 1.9.2), Auto-updates disabled
    Subaccounts for WooCommerce: Order Approval Add-On: version: 1.0.9, author: Mediaticus (latest version: 1.1.1), Auto-updates disabled
    Subaccounts for WooCommerce Pro: version: 1.6.6, author: Mediaticus (latest version: 1.9.0), Auto-updates disabled
    User Role Editor: version: 4.64.5, author: Vladimir Garagulya (latest version: 4.64.6), Auto-updates disabled
    WooCommerce: version: 9.7.2, author: Automattic, Auto-updates disabled
    WooCommerce Coupon Generator: version: 1.3.0, author: Jeroen Sormani, Auto-updates disabled
    WooCommerce Stripe Gateway: version: 9.0.0, author: Stripe (latest version: 10.2.0), Auto-updates disabled
    WooCommerce Weight Based Shipping: version: 6.2.0, author: weightbasedshipping.com (latest version: 6.12.1), Auto-updates disabled
    Wordfence Security: version: 8.1.4, author: Wordfence, Auto-updates enabled
    WP All Import - WooCommerce Import Add-On Pro: version: 4.0.4, author: Soflyy (latest version: 4.0.6), Auto-updates disabled
    WP All Import Pro: version: 4.11.3, author: Soflyy (latest version: 5.0.3), Auto-updates disabled
    WP Fastest Cache: version: 1.4.3, author: Emre Vona (latest version: 1.4.4), Auto-updates disabled
    WP Mail SMTP: version: 4.7.1, author: WP Mail SMTP, Auto-updates enabled
    WP Umbrella: version: 2.20.0, author: WP Umbrella - Backup & Manage WordPress, Auto-updates enabled wp-server

    server_architecture: Linux 5.10.0-35-cloud-amd64 x86_64
    httpd_software: Apache/2.4.63 (Debian) mod_fcgid/2.3.9 OpenSSL/1.1.1w
    php_version: 8.4.10 64bit
    php_sapi: fpm-fcgi
    max_input_variables: 5000
    time_limit: 60
    memory_limit: 1024M
    max_input_time: 60
    upload_max_filesize: 100M
    php_post_max_size: 100M
    curl_version: 7.74.0 OpenSSL/1.1.1w
    suhosin: false
    imagick_availability: true
    pretty_permalinks: true
    htaccess_extra_rules: true
    current: 2026-01-02T10:43:09+00:00
    utc-time: Friday, 02-Jan-26 10:43:09 UTC
    server-time: 2026-01-02T10:43:07+00:00 wp-database

    extension: mysqli
    server_version: 10.6.21-MariaDB-deb11
    client_version: mysqlnd 8.4.10
    max_allowed_packet: 16777216
    max_connections: 151 wp-constants

    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /home/mdhtw/web/mdhteamwear.co.uk/public_html/wp-content
    WP_PLUGIN_DIR: /home/mdhtw/web/mdhteamwear.co.uk/public_html/wp-content/plugins
    WP_MEMORY_LIMIT: 40M
    WP_MAX_MEMORY_LIMIT: 1024M
    WP_DEBUG: false
    WP_DEBUG_DISPLAY: false
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: false
    WP_CACHE: false
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_ENVIRONMENT_TYPE: undefined
    WP_DEVELOPMENT_MODE: undefined
    DB_CHARSET: utf8mb4
    DB_COLLATE: undefined wp-filesystem

    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    fonts: not writable
    mu-plugins: writable

    Please advise if you're able to replicate the issue and provide a fix. Thank you.



    Thread Starter garryknapper

    (@garryknapper)

    @sebd86 Thank you for your reply. I have read the changelogs but I’m still unsure what I need to do in order for the native Woocommerce cart page to display my products added via the CoCart API. In my React front-end I have created a Woocommerce session cookie whose value matches that of the cocart-api-cart-key. My understanding is that the cart page would use this session cookie to load the correct cart. However, the cart still displays as empty.

    Could you explain to me please the process that I would need to go through in order to add a product using the CoCart API and have it display in my native Woocommerce cart page?

    Prior to version 4.2 of the CoCart plugin, the plugin would set all the required cookies so it was much easier to implement.

    I look forward to your reply, thank you.

    Thread Starter garryknapper

    (@garryknapper)

    @sebd86 Thank you for your reply. When I use version 3 of the CoCart plugin, I can put the following POST request into Postman and I see three session cookies related to the cart and the number of items in there. When I upgrade to version 4.2 or above and run the same POST request, I no longer see these cookies.

    https://www.mdhteamwear.co.uk/wp-json/cocart/v2/cart/add-item?id=176410&quantity=1

    I am using the native Woocommerce cart page and so these cookies are required in order to load the correct items into the cart page. My cart page appears empty with version 4.2 of the plugin.

    What changed in version 4.2 for these cookies to no longer be returned from the add to cart POST request? I have a hybrid setup so I still need to use the native Woocommerce cart page with the headless add to cart API. I’m hoping that there is fairly simple solution but I would like your advice please. I look forward to your reply. Thank you.

    Thread Starter garryknapper

    (@garryknapper)

    Thank you for fixing, looks good now.

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