• Resolved joe08

    (@joe08)


    Hello,
    Is there any extra config needed to prevent pages showing a 404 after successful checkout on woocommerce?
    It only happens occasionally, but if it happens once, it can be recreated until the cache is cleared, both by accessing that exact URL or by putting through another order.
    All normal woocommerce order received hooks are processed, emails are sent, it’s just the user is presented with a 404 instead of order information etc.
    I wondered if it was linked to using the crawler but the crawler not manually refreshing itself?
    Thanks, Joe

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

    (@qtwrk)

    Hi,

    when you say 404 page , could you please do me a screenshot of it ?

    is it webserver’s white 404 page ? or WP’s 404 page ?

    Best regards,

    Thread Starter joe08

    (@joe08)

    It is the friendly WP theme 404.
    Thanks

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Could you please provide the report number ?

    You can get it from toolbox —> report —> click “send to LiteSpeed”

    Best regards,

    Thread Starter joe08

    (@joe08)

    
    Server Variables
        SERVER_SOFTWARE = LiteSpeed
        DOCUMENT_ROOT = /home/username/domainname.co.uk
        X-LSCACHE = on,crawler
        LSWCP_TAG_PREFIX = 367
        WP_SITEURL = NULL
        WP_HOME = NULL
        WP_CONTENT_DIR = /home/username/domainname.co.uk/wp-content
        SHORTINIT = false
        LSCWP_CONTENT_DIR = /home/username/domainname.co.uk/wp-content
        LSCWP_CONTENT_FOLDER = wp-content
        LSCWP_DIR = /home/username/domainname.co.uk/wp-content/plugins/litespeed-cache/
        LITESPEED_TIME_OFFSET = 3600.0
        LITESPEED_SERVER_TYPE = LITESPEED_SERVER_ENT
        LITESPEED_CLI = NULL
        LITESPEED_ALLOWED = true
        LITESPEED_ON = true
        LSWCP_TAG_PREFIX = 367
        COOKIEHASH = 0687026bba133a385d28b23d512b0411
    
    Wordpress Specific Extras
        wordpress version = 5.4.2
        siteurl = https://domainname.co.uk
        home = https://domainname.co.uk
        home_url = https://domainname.co.uk
        locale = en_US
        active theme = Storefront Child Theme
        active plugins = array (
      0 => 'contact-form-7-captcha-pro/contact-form-7-captcha-pro.php',
      1 => 'contact-form-7/wp-contact-form-7.php',
      2 => 'duplicate-post/duplicate-post.php',
      3 => 'facebook-for-woocommerce/facebook-for-woocommerce.php',
      4 => 'homepage-control/homepage-control.php',
      5 => 'iubenda-cookie-law-solution/iubenda_cookie_solution.php',
      6 => 'limit-login-attempts-reloaded/limit-login-attempts-reloaded.php',
      7 => 'litespeed-cache/litespeed-cache.php',
      8 => 'post-smtp/postman-smtp.php',
      9 => 'simple-301-redirects/wp-simple-301-redirects.php',
      10 => 'storefront-blog-excerpt/storefront-blog-excerpt.php',
      11 => 'woo-gutenberg-products-block/woocommerce-gutenberg-products-block.php',
      12 => 'woocommerce-gateway-paypal-express-checkout/woocommerce-gateway-paypal-express-checkout.php',
      13 => 'woocommerce-gateway-stripe/woocommerce-gateway-stripe.php',
      14 => 'woocommerce-google-analytics-integration/woocommerce-google-analytics-integration.php',
      15 => 'woocommerce-pdf-invoices-packing-slips/woocommerce-pdf-invoices-packingslips.php',
      16 => 'woocommerce-product-addons/woocommerce-product-addons.php',
      17 => 'woocommerce/woocommerce.php',
      18 => 'wordpress-seo/wp-seo.php',
      19 => 'wp-migrate-db/wp-migrate-db.php',
      20 => 'wps-hide-login/wps-hide-login.php',
    )
        cloud = array (
      'curr_request.wp/ver' => 0,
      'last_request.wp/ver' => 1594263732,
      'token_ts' => 1589498794,
      'is_linked' => 0,
      'apikey_ts' => 1589498852,
      'curr_request.d/nodes' => 0,
      'last_request.d/nodes' => 1593871405,
      'server.health' => 'https://node2.quic.cloud',
      'server_date.health' => 1593871406,
      'curr_request.health-speed' => 0,
      'usage.health' => 
      array (
        'total_used' => '1',
        'used' => '1',
        'quota' => '1000',
        'pag_used' => '0',
        'pag_bal' => '0',
        'pkgs' => '4',
      ),
      'last_request.health-speed' => 1593871406,
    )
    
    LSCache Plugin Options
        _version = 3.2.4
        hash = DDsmLAMWvmjuPzthwlCPbasL3KNx2JXm
        auto_upgrade = true
        api_key = 1588A908A41BEC23E5F3F742927681C0
        server_ip = 
        news = false
        cache = true
        cache-priv = true
        cache-commenter = true
        cache-rest = true
        cache-page_login = true
        cache-favicon = true
        cache-resources = true
        cache-mobile = false
        cache-mobile_rules = array (
      0 => 'Mobile',
      1 => 'Android',
      2 => 'Silk/',
      3 => 'Kindle',
      4 => 'BlackBerry',
      5 => 'Opera Mini',
      6 => 'Opera Mobi',
    )
        cache-browser = false
        cache-exc_useragents = array (
    )
        cache-exc_cookies = array (
    )
        cache-exc_qs = array (
    )
        cache-exc_cat = array (
    )
        cache-exc_tag = array (
    )
        cache-force_uri = array (
    )
        cache-force_pub_uri = array (
    )
        cache-priv_uri = array (
    )
        cache-exc = array (
      0 => '^checkout/',
      1 => '/checkout/*',
    )
        cache-exc_roles = array (
      0 => 'administrator',
    )
        cache-drop_qs = array (
      0 => 'fbclid',
      1 => 'gclid',
      2 => 'utm*',
      3 => '_ga',
    )
        cache-ttl_pub = 604800
        cache-ttl_priv = 1800
        cache-ttl_frontpage = 604800
        cache-ttl_feed = 0
        cache-ttl_rest = 604800
        cache-ttl_browser = 2592000
        cache-ttl_status = array (
      0 => '403 3600',
      1 => '404 3600',
      2 => '500 3600',
    )
        cache-login_cookie = 
        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',
    )
        purge-upgrade = true
        purge-stale = true
        purge-post_all = false
        purge-post_f = true
        purge-post_h = true
        purge-post_p = true
        purge-post_pwrp = true
        purge-post_a = true
        purge-post_y = false
        purge-post_m = true
        purge-post_d = false
        purge-post_t = true
        purge-post_pt = true
        purge-timed_urls = array (
    )
        purge-timed_urls_time = 
        purge-hook_all = array (
      0 => 'switch_theme',
      1 => 'wp_create_nav_menu',
      2 => 'wp_update_nav_menu',
      3 => 'wp_delete_nav_menu',
      4 => 'create_term',
      5 => 'edit_terms',
      6 => 'delete_term',
      7 => 'add_link',
      8 => 'edit_link',
      9 => 'delete_link',
    )
        esi = false
        esi-cache_admbar = true
        esi-cache_commform = true
        esi-nonce = array (
      0 => 'stats_nonce',
      1 => 'subscribe_nonce',
    )
        util-instant_click = false
        util-no_https_vary = false
        debug-disable_all = false
        debug = 0
        debug-ips = array (
      0 => '127.0.0.1',
    )
        debug-level = false
        debug-filesize = 3
        debug-cookie = false
        debug-collaps_qs = false
        debug-inc = array (
    )
        debug-exc = array (
    )
        db_optm-revisions_max = 0
        db_optm-revisions_age = 0
        optm-css_min = false
        optm-css_inline_min = false
        optm-css_comb = false
        optm-css_comb_priority = false
        optm-css_unique = false
        optm-ucss = false
        optm-ucss_async = false
        optm-css_http2 = false
        optm-css_exc = array (
    )
        optm-js_min = false
        optm-js_inline_min = false
        optm-js_comb = false
        optm-js_comb_priority = false
        optm-js_http2 = false
        optm-js_exc = array (
    )
        optm-ttl = 604800
        optm-html_min = false
        optm-qs_rm = false
        optm-ggfonts_rm = false
        optm-css_async = false
        optm-ccss_gen = true
        optm-ccss_async = true
        optm-css_async_inline = true
        optm-css_font_display = 0
        optm-js_defer = false
        optm-js_inline_defer = 0
        optm-emoji_rm = false
        optm-exc_jq = true
        optm-ggfonts_async = false
        optm-max_size = 1
        optm-rm_comment = false
        optm-exc_roles = array (
    )
        optm-ccss_con = 
        optm-js_defer_exc = array (
    )
        optm-dns_prefetch = array (
    )
        optm-dns_prefetch_ctrl = false
        optm-exc = array (
    )
        optm-ccss_sep_posttype = array (
    )
        optm-ccss_sep_uri = array (
    )
        object = false
        object-kind = false
        object-host = localhost
        object-port = 11211
        object-life = 360
        object-persistent = true
        object-admin = true
        object-transients = true
        object-db_id = 0
        object-user = 
        object-pswd = 
        object-global_groups = array (
      0 => 'users',
      1 => 'userlogins',
      2 => 'usermeta',
      3 => 'user_meta',
      4 => 'site-transient',
      5 => 'site-options',
      6 => 'site-lookup',
      7 => 'blog-lookup',
      8 => 'blog-details',
      9 => 'rss',
      10 => 'global-posts',
      11 => 'blog-id-cache',
    )
        object-non_persistent_groups = array (
      0 => 'comment',
      1 => 'counts',
      2 => 'plugins',
    )
        discuss-avatar_cache = false
        discuss-avatar_cron = false
        discuss-avatar_cache_ttl = 604800
        media-lazy = false
        media-lazy_placeholder = 
        media-placeholder_resp = false
        media-placeholder_resp_color = #cfd4db
        media-placeholder_resp_svg = <svg xmlns="https://www.w3.org/2000/svg" width="{width}" height="{height}" viewBox="0 0 {width} {height}"><rect width="100%" height="100%" fill="{color}"/></svg>
        media-lqip = false
        media-lqip_qual = 4
        media-lqip_min_w = 150
        media-lqip_min_h = 150
        media-placeholder_resp_async = true
        media-iframe_lazy = false
        media-lazyjs_inline = false
        media-lazy_exc = array (
    )
        media-lazy_cls_exc = array (
    )
        media-lazy_parent_cls_exc = array (
    )
        media-iframe_lazy_cls_exc = array (
    )
        media-iframe_lazy_parent_cls_exc = array (
    )
        media-lazy_uri_exc = array (
    )
        img_optm-auto = false
        img_optm-cron = true
        img_optm-ori = true
        img_optm-rm_bkup = false
        img_optm-webp = false
        img_optm-lossless = false
        img_optm-exif = false
        img_optm-webp_replace = false
        img_optm-webp_attr = array (
      0 => 'img.src',
      1 => 'div.data-thumb',
      2 => 'img.data-src',
      3 => 'div.data-large_image',
      4 => 'img.retina_logo_url',
    )
        img_optm-webp_replace_srcset = false
        img_optm-jpg_quality = 82
        crawler = true
        crawler-inc_posts = true
        crawler-inc_pages = true
        crawler-inc_cats = true
        crawler-inc_tags = true
        crawler-exc_cpt = array (
    )
        crawler-order_links = 0
        crawler-usleep = 500
        crawler-run_duration = 400
        crawler-run_interval = 600
        crawler-crawl_interval = 86400
        crawler-threads = 3
        crawler-timeout = 30
        crawler-load_limit = 1
        crawler-sitemap = https://domainname.co.uk/sitemap_index.xml
        crawler-drop_domain = true
        crawler-map_timeout = 120
        crawler-roles = array (
    )
        crawler-cookies = array (
    )
        misc-htaccess_front = 
        misc-htaccess_back = 
        misc-heartbeat_front = false
        misc-heartbeat_front_ttl = 60
        misc-heartbeat_back = false
        misc-heartbeat_back_ttl = 60
        misc-heartbeat_editor = false
        misc-heartbeat_editor_ttl = 15
        cdn = false
        cdn-ori = array (
    )
        cdn-ori_dir = array (
      0 => 'wp-content',
      1 => 'wp-includes',
      2 => '/min/',
    )
        cdn-exc = array (
    )
        cdn-remote_jq = 0
        cdn-quic = false
        cdn-cloudflare = false
        cdn-cloudflare_email = 
        cdn-cloudflare_key = 
        cdn-cloudflare_name = 
        cdn-cloudflare_zone = 
        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',
      ),
    )
        cdn-attr = array (
      0 => '.src',
      1 => '.data-src',
      2 => '.href',
      3 => '.poster',
      4 => 'source.srcset',
    )
        _cache = true
        wc_update_interval = 0
        wc_shop_use_front_ttl = 1
        woo_cache_cart = 1
    
    /home/username/domainname.co.uk/.htaccess contents:
    RewriteEngine On
    RewriteCond %{HTTPS} !=on
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE] 
    
    # 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]
    
    ### 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 ###
    
    ### marker DROPQS start ###
    CacheKeyModify -qs:fbclid
    CacheKeyModify -qs:gclid
    CacheKeyModify -qs:utm*
    CacheKeyModify -qs:_ga
    ### marker DROPQS 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! ##
    ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
    # END NON_LSCACHE
    # BEGIN WordPress
    # The directives (lines) between BEGIN WordPress and END WordPress are
    # dynamically generated, and should only be modified via WordPress filters.
    # Any changes to the directives between these markers will be overwritten.
    <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
    
    

    Thanks

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Please create a ticket here, we will investigate it further

    Best regards,

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Woocommerce Order Received 404’ is closed to new replies.