Support » Plugin: LiteSpeed Cache » Issue with woocommerce cart and lightspeed

  • Resolved kwanik

    (@kwanik)


    Hi guys,

    Got some issue with your plugin that worked like a charm few weeks agoo.

    But now I can’t make any cart update or enter any discount coupon.

    I have already identifie a conflict between wp bakery, and alreasy ask them some help but they are not very cooperative.

    Here is my report from light cash.

    Server Variables
    SERVER_SOFTWARE = LiteSpeed
    DOCUMENT_ROOT = /home/sererubg/public_html
    X-LSCACHE = on
    LSWCP_TAG_PREFIX = 492
    WP_SITEURL = NULL
    WP_HOME = NULL
    WP_CONTENT_DIR = /home/sererubg/public_html/wp-content
    SHORTINIT = false
    LSCWP_CONTENT_DIR = /home/sererubg/public_html/wp-content
    LSCWP_CONTENT_FOLDER = wp-content
    LSCWP_DIR = /home/sererubg/public_html/wp-content/plugins/litespeed-cache/
    LITESPEED_TIME_OFFSET = 0
    LITESPEED_SERVER_TYPE = LITESPEED_SERVER_ENT
    LITESPEED_CLI = NULL
    LITESPEED_ALLOWED = true
    LITESPEED_ON = true
    LITESPEED_ON_IN_SETTING = true
    LSCACHE_ADV_CACHE = true
    LSWCP_TAG_PREFIX = 492

    Wordpress Specific Extras
    wordpress version = 5.3.2
    siteurl = https://www.serelaxer.fr
    home = https://www.serelaxer.fr
    home_url = https://www.serelaxer.fr
    locale = fr_FR
    active theme = CheerUp
    active plugins = array (
    0 => ‘advanced-nocaptcha-recaptcha/advanced-nocaptcha-recaptcha.php’,
    1 => ‘akismet/akismet.php’,
    2 => ‘alidswoo/alidswoo.php’,
    3 => ‘cheerup-core/cheerup-core.php’,
    4 => ‘classic-editor/classic-editor.php’,
    5 => ‘conditional-menus/init.php’,
    6 => ‘customize-product-categories-for-visual-composer/customize-product-categories-for-visual-composer.php’,
    7 => ‘duplicator-pro/duplicator-pro.php’,
    8 => ‘enhanced-e-commerce-for-woocommerce-store/enhanced-ecommerce-google-analytics.php’,
    9 => ‘js_composer/js_composer.php’,
    10 => ‘kk-star-ratings/index.php’,
    11 => ‘lazy-load-for-videos/codeispoetry.php’,
    12 => ‘litespeed-cache/litespeed-cache.php’,
    13 => ‘luckywp-table-of-contents/luckywp-table-of-contents.php’,
    14 => ‘mailchimp-for-woocommerce/mailchimp-woocommerce.php’,
    15 => ‘mts-wp-notification-bar/mts-wp-notification-bar.php’,
    16 => ‘redirection/redirection.php’,
    17 => ‘shortcodes-ultimate/shortcodes-ultimate.php’,
    18 => ‘shortpixel-image-optimiser/wp-shortpixel.php’,
    19 => ‘side-cart-woocommerce/xoo-wsc.php’,
    20 => ‘smart-slider-3/smart-slider-3.php’,
    21 => ‘sphere-core/sphere-core.php’,
    22 => ‘ssl-insecure-content-fixer/ssl-insecure-content-fixer.php’,
    23 => ‘widget-options/plugin.php’,
    24 => ‘woo-order-export-lite/woo-order-export-lite.php’,
    25 => ‘woocommerce-extra-price-fields/woocommerce-extra-price-fields.php’,
    26 => ‘woocommerce-free-gift-coupons/woocommerce-free-gift-coupons.php’,
    27 => ‘woocommerce-gateway-stripe/woocommerce-gateway-stripe.php’,
    28 => ‘woocommerce/woocommerce.php’,
    29 => ‘woofunnels-aero-checkout/woofunnels-aero-checkout.php’,
    30 => ‘wordpress-seo/wp-seo.php’,
    31 => ‘wp-backlinks/index.php’,
    32 => ‘wps-hide-login/wps-hide-login.php’,
    )

    LSCache Plugin Options
    version = 2.9.9.2
    radio_select = 1
    auto_upgrade = false
    news = false
    purge_upgrade = true
    cache_priv = true
    cache_commenter = true
    cache_rest = true
    cache_page_login = true
    timed_urls =
    timed_urls_time =
    cache_favicon = true
    cache_resources = true
    mobileview_enabled = true
    mobileview_rules = Mobile|Android|Silk/|Kindle|BlackBerry|Opera\ Mini|Opera\ Mobi
    cache_object = false
    cache_object_kind = false
    cache_object_host = localhost
    cache_object_port = 11211
    cache_object_life = 360
    cache_object_persistent = true
    cache_object_admin = true
    cache_object_transients = true
    cache_object_db_id = 0
    cache_object_user =
    cache_object_pswd =
    cache_browser = false
    cache_browser_ttl = 2592000
    login_cookie =
    check_advancedcache = true
    use_http_for_https_vary = false
    debug_disable_all = false
    debug = 0
    admin_ips = 127.0.0.1
    debug_level = false
    log_file_size = 3
    heartbeat = true
    debug_cookie = false
    collaps_qs = false
    log_filters = false
    public_ttl = 604800
    private_ttl = 1800
    front_page_ttl = 604800
    feed_ttl = 0
    403_ttl = 3600
    404_ttl = 3600
    500_ttl = 3600
    purge_by_post = A.F.H.M.PGS.PGSRP.PT.T
    excludes_qs =
    excludes_cat =
    excludes_tag =
    instant_click = false
    css_minify = true
    css_inline_minify = true
    css_combine = true
    css_combined_priority = true
    css_http2 = true
    css_exclude = smart-slider
    nextend
    js_minify = true
    js_inline_minify = true
    js_combine = true
    js_combined_priority = true
    js_http2 = true
    js_exclude = smart-slider
    nextend
    optimize_ttl = 604800
    html_minify = true
    optm_qs_rm = true
    optm_ggfonts_rm = false
    optm_css_async = false
    optm_ccss_gen = true
    optm_ccss_async = true
    optm_css_async_inline = true
    optm_js_defer = true
    optm_emoji_rm = false
    optm_exclude_jquery = true
    optm_ggfonts_async = false
    optm_max_size = 1.2
    optm_rm_comment = true
    cdn = false
    cdn_ori =
    cdn_exclude =
    cdn_remote_jquery = 0
    cdn_quic = false
    cdn_quic_email =
    cdn_quic_key =
    cdn_cloudflare = false
    cdn_cloudflare_email =
    cdn_cloudflare_key =
    cdn_cloudflare_name =
    cdn_cloudflare_zone =
    media_img_lazy = false
    media_img_lazy_placeholder =
    media_placeholder_resp = false
    media_placeholder_resp_color = #cfd4db
    media_placeholder_resp_async = true
    media_iframe_lazy = false
    media_img_lazyjs_inline = false
    media_optm_auto = false
    media_optm_cron = true
    media_optm_ori = true
    media_rm_ori_bkup = false
    media_optm_webp = false
    media_optm_lossless = false
    media_optm_exif = false
    media_webp_replace = false
    media_webp_replace_srcset = false
    hash = WReGzzLQOIjwdK63sFIFi686yCg0zYif
    nocache_cookies =
    nocache_useragents =
    crawler_include_posts = true
    crawler_include_pages = true
    crawler_include_cats = true
    crawler_include_tags = true
    crawler_excludes_cpt =
    crawler_order_links = date_desc
    crawler_usleep = 500
    crawler_run_duration = 400
    crawler_run_interval = 600
    crawler_crawl_interval = 302400
    crawler_threads = 3
    crawler_load_limit = 1
    crawler_domain_ip =
    crawler_custom_sitemap =
    crawler_cron_active = false
    esi_enabled = false
    esi_cached_admbar = true
    esi_cached_commform = true
    wc_update_interval = 0
    wc_shop_use_front_ttl = true
    woo_cache_cart = true
    litespeed-cache-vary-group = array (
    ‘administrator’ => ’99’,
    ‘author’ => ‘0’,
    ‘contributor’ => ‘0’,
    ‘customer’ => ‘0’,
    ‘editor’ => ‘0’,
    ‘shop_manager’ => ‘0’,
    ‘subscriber’ => ‘0’,
    ‘wpseo_editor’ => ‘0’,
    ‘wpseo_manager’ => ‘0’,
    ‘wpvqgr_manager’ => ‘0’,
    )
    litespeed-cache-exclude-optimization-roles = array (
    )
    litespeed-cache-exclude-cache-roles = array (
    )
    litespeed-optm-css = array (
    )
    litespeed-optm-js-defer-excludes =
    litespeed-media-lazy-img-excludes =
    litespeed-media-lazy-img-cls-excludes =
    litespeed-media-need-pull = pulled
    litespeed-cache-drop_qs =
    litespeed-cache-cdn_mapping = array (
    0 =>
    array (
    ‘url’ => false,
    ‘inc_img’ => ‘1’,
    ‘inc_css’ => ‘1’,
    ‘inc_js’ => ‘1’,
    ‘filetype’ => ‘.aac
    .css
    .eot
    .gif
    .jpeg
    .js
    .jpg
    .less
    .mp3
    .mp4
    .ogg
    .otf
    .pdf
    .png
    .svg
    .ttf
    .woff’,
    ),
    )
    litespeed-cdn-ori_dir = wp-content
    wp-includes
    /min/
    litespeed-cache-dns_prefetch =
    litespeed-cache-cloudflare_status = false
    litespeed-log_ignore_filters = gettext
    gettext_with_context
    get_the_terms
    get_term
    litespeed-log_ignore_part_filters = i18n
    locale
    settings
    option
    litespeed-object_global_groups = users
    userlogins
    usermeta
    user_meta
    site-transient
    site-options
    site-lookup
    blog-lookup
    blog-details
    rss
    global-posts
    blog-id-cache
    litespeed-object_non_persistent_groups = comment
    counts
    plugins
    wc_session_id
    litespeed-crawler-as-uids =
    litespeed-crawler-cookies = array (
    )
    litespeed-adv-purge_all_hooks = switch_theme
    wp_create_nav_menu
    wp_update_nav_menu
    wp_delete_nav_menu
    create_term
    edit_terms
    delete_term
    add_link
    edit_link
    delete_link
    litespeed-forced_cache_uri =
    litespeed-cache_uri_priv =
    litespeed-optm_excludes =
    litespeed-excludes_uri =
    litespeed-media-webp_attribute = img.src
    div.data-thumb
    img.data-src
    div.data-large_image
    img.retina_logo_url
    litespeed-optm-ccss-separate_posttype =
    litespeed-optm-css-separate_uri =

    /home/sererubg/public_html/.htaccess contents:
    # PH auth start
    ErrorDocument 401 default
    <FilesMatch “^((wp-login)\.php|(xmlrpc)\.php)$”>
    AuthType Basic
    AuthUserFile /home/sererubg/.htpasswds/serelaxer.fr/.htpasswd
    AuthName “PH Authentification”
    require valid-user
    </FilesMatch>
    # PH auth end
    # BEGIN LSCACHE
    ## LITESPEED WP CACHE PLUGIN – Do not edit the contents of this block! ##
    <IfModule LiteSpeed>
    RewriteEngine on
    CacheLookup on
    RewriteRule .* – [E=Cache-Control:no-autoflush]
    RewriteRule ^min/\w+\.(css|js) – [E=cache-control:no-vary]

    ### marker MOBILE start ###
    RewriteCond %{HTTP_USER_AGENT} Mobile|Android|Silk/|Kindle|BlackBerry|Opera\ Mini|Opera\ Mobi [NC]
    RewriteRule .* – [E=Cache-Control:vary=ismobile]
    ### marker MOBILE end ###

    ### marker CACHE RESOURCE start ###
    RewriteRule wp-content/.*/[^/]*(responsive|css|js|dynamic|loader|fonts)\.php – [E=cache-control:max-age=3600]
    ### marker CACHE RESOURCE end ###

    ### marker FAVICON start ###
    RewriteRule favicon\.ico$ – [E=cache-control:max-age=86400]
    ### marker FAVICON end ###

    </IfModule>
    ## LITESPEED WP CACHE PLUGIN – Do not edit the contents of this block! ##
    # END LSCACHE
    # BEGIN NON_LSCACHE
    ## LITESPEED WP CACHE PLUGIN – Do not edit the contents of this block! ##
    ### marker MINIFY start ###
    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} ^(.*)/min/(\w+)\.(css|js)$
    RewriteCond %1/wp-content/cache/$2/$1.$2 -f
    RewriteRule min/(\w+)\.(css|js) wp-content/cache/$2/$1.$2 [L]
    </IfModule>
    ### marker MINIFY end ###

    ## LITESPEED WP CACHE PLUGIN – Do not edit the contents of this block! ##
    # END NON_LSCACHE

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_URI} ^/?wp\-content/+debug\.log$
    RewriteRule .* – [F,L,NC]
    </IfModule>
    <IfModule !mod_rewrite.c>
    <Files “debug.log”>
    <IfModule mod_authz_core.c>
    Require all denied
    </IfModule>
    <IfModule !mod_authz_core.c>
    Order deny,allow
    Deny from all
    </IfModule>
    </Files>
    </IfModule>

    RewriteEngine On
    RewriteCond %{SERVER_PORT} 80
    RewriteRule ^(.*)$ https://www.serelaxer.fr/$1 [R,L]
    # BEGIN WordPress
    # Les directives (lignes) entre ‘BEGIN WordPress’ et ‘END WordPress’ sont
    # généré dynamiquement, et ne doivent uniquement être modifiées via les filtres WordPress.
    # Toute modification des directives entre ces marqueurs sera outrepassée.
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    # BEGIN ShortPixelWebp
    # Les directives (lignes) entre ‘BEGIN ShortPixelWebp’ et ‘END ShortPixelWebp’ sont
    # généré dynamiquement, et ne doivent uniquement être modifiées via les filtres WordPress.
    # Toute modification des directives entre ces marqueurs sera outrepassée.

    # END ShortPixelWebp

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    I can’t make any cart update or enter any discount coupon.

    Could you please try export your current setting and reset LSCWP to default , purge all , and see how it goes ?

    Best regards,

    Thread Starter kwanik

    (@kwanik)

    Hi,

    Thanks for your quick reply.

    I run the test it worked so I try some more test turn out to be the js combiner in the optimise tabs that cause the bug.

    Any idea how I could make it work with combine js on?

    • This reply was modified 2 years, 1 month ago by kwanik.
    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Please check this wiki

    Best regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Issue with woocommerce cart and lightspeed’ is closed to new replies.