Forum Replies Created

Viewing 15 replies - 1 through 15 (of 58 total)
  • Thread Starter cycas

    (@cycas)

    Thank you! There are indeed a lot of failed scheduled actions: fortunately almost all of them relate to the Cartbounty plugin, which we are no longer using. All standard scheduled actions are running as expected.

    I went to WooCommerce > Status > Tools where I was able to clear transients, but I don’t have an option called Regenerate shop lookup tables. There is one called Product lookup tables : Regenerate so I used that, but it has not changed anything. Was that the tool you meant?

    Thread Starter cycas

    (@cycas)

    Ah, OK, I think I’ve got it. I had set ‘Automatically preload the pages you have purged from Cloudflare cache with this plugin’ to ‘yes’.

    So it was preloading not just the product page, but everything that the changed product reported as being related, eg taxonomies, author page, etc etc, even if those had otherwise been excluded form caching. It would be nice if this respected the exclusions set elsewhere but I guess it’s not that important.

    Thread Starter cycas

    (@cycas)

    It’s still preloading strings like:
    [2024-08-22 15:35:23] [preloader::task] Preloading URL https://shopontheborderlands.co.uk/?product_type=simplepage/6/
    [2024-08-22 15:36:22] [preloader::task] Preloading URL https://shopontheborderlands.co.uk/cat/other-role-playing-games/page/2/

    Even though I listed /?product_type* in ‘do not cache’.

    How can I stop it preloading URLs that don’t exist? Where’s it even getting them from?

    Thread Starter cycas

    (@cycas)

    Thank you! I had missed that. I added:

    define ('SWCFPC_PRELOADER_MAX_POST_NUMBER','100');

    to my wp-config.php file and it’s now getting 100 from the queue rather than 50, I’ll experiment to see how many we can reasonably preload.

    I think I’ve found a minor bug.
    If you put something like /?attachment_id* or /?taxonomy=* as the last item in the ‘Prevent the following URIs to be cached’ box on the cache tab, it appends that string to all the sitemap filenames you list in the Advanced tab in the ‘Preload all URLs into the following sitemaps’ box.

    I stopped this being a problem temporarily by re-ordering the items in the ‘Prevent the following URIs to be cached’ box so that the last item wouldnt’ have a ? in it, but you’ll probably want to fix that.

    Thread Starter cycas

    (@cycas)

    Looking at the log this morning, it seems that the preloader did load some more pages on my cron job at 3am, and then a few times this morning when someone made an order.

    Each time it preloaded 50 urls, but most of them are not URLs that we’d want preloaded, and I’d tried to exclude them from being cached.

    Eg:
    /?taxonomy=product_type&term=simplepage/2/
    /?taxonomy=product_type&term=simplepage/3/
    /?taxonomy=product_type&term=simplepage/4/
    It’s also tried to preload some paginated categories like

    /cat/miniatures-and-painting/fantasy-historical-miniatures/page/2/
    /cat/miniatures-and-painting/fantasy-historical-miniatures/page/3/ etc etc

    Nobody navigates this site via taxonomy and we don’t use category pagination, we have infinite scroll.
    I have ticked don’t cache: Pages with query args, Tags (is_tag) , and I set pagination to 500 in the hope of stopping it caching paginated pages.

    I’ve added to my do not cache:

    /?product_type=*
    /author/*
    /condition/*
    /?taxonomy=*

    But I’m not sure why the preloader is preloading these URLs at all, and I’m not sure how to tell it not to cache anything with /page/ in it, or how to tell it to cache more of my actual products, which are the things that I would like preloaded.

    I’ve also noticed that where I had listed my sitemaps on the /Advanced tab, it’s rewritten my sitemap paths to /product_cat-sitemap.xml?taxonomy=*

    I can’t take that ?taxonomy=* out, it just puts it back in when I do.

    Thread Starter cycas

    (@cycas)

    Thank you José for the fast and helpful response. The tool is now churning through our products, but I can already see that it’s moved 1400+ products to Out of Stock where they should be, so I think this was all that we needed.

    I will leave a full review once I’ve finished testing the ATUM multi-inventory add on plugin since we will need that functionality too.

    Thread Starter cycas

    (@cycas)

    Sorry, I’ve only just realised that my previous reply to this didn’t post.

    Thank you Shameem. I had already cleared cache and checked the free shipping was set correctly, but I’ve increased my PHP limits as you suggested.

    The issue has not recurred, and I’m hoping it won’t come back!

    Thread Starter cycas

    (@cycas)

    Hi Joost

    I am indeed doing my best on a shoestring, stuck in the struggle between making it faster, and allowing international users to navigate our UK-based products while retaining the odd penny not spent on memory or processors. I think most Woocommerce users have fewer products or more processors available to them than we do.

    I carefully monitor what actually hits our server rather than our various offsite caches, and the list of wc-ajax=ppc-simulate-cart post requests in our log was alarming. Our traffic hasn’t gone up, but our precious load average has. I thought all the wc-ajax=ppc-simulate-cart requests had to be a malicious bot at first and tried to block them.

    I’m really pleased to hear that there will be an option to throttle these requests, thank you! I will give it a test asap.

    Thread Starter cycas

    (@cycas)

    Thank you – that explains why my customer was able to order when I made an account for him, since I have customers set to be excluded from the spam checks.

    I’ve turned on that Javascript option and will update again if any further logged-out customers report problems.

    Thread Starter cycas

    (@cycas)

    I’ll create a Chapters custom post type and use that in a Relationship field instead of repeating fields for this – thanks!

    • This reply was modified 2 years, 9 months ago by cycas.
    Thread Starter cycas

    (@cycas)

    Will do, thanks for the reply!

    Thread Starter cycas

    (@cycas)

    The issue returned for the other admin: I still can’t see it.

    We tried setting up a different account for him, but he still got nonce verification failing on phone login and Invalid API request error on the backup email.

    He tried switching browser from Chrome to Edge, and that worked for a bit, until the error returned. He was then able to log in if he cleared his browser cache. He’s only using one machine for this. Surely browser cache shouldn’t stop him logging in?

    Thread Starter cycas

    (@cycas)

    Thank you! Of course as soon as I went back to the other admin to try out that suggestion, it all started working again perfectly on his account too.

    I shall definitely try setting up another account for testing on his machines if the problem recurs though, that is an approach I hadn’t thought of.

    Thread Starter cycas

    (@cycas)

    Great thinking! I see that Cleantalk have posted a fix.

    Thread Starter cycas

    (@cycas)

    !!! @authenticastro you total star! Thank you for raising this. I had checked the Cleantalk security logs, but not the Cleantalk antispam log.
    It was indeed Cleantalk that was blocking this customer and it had also blocked a number of searches from other customers too, which I have now whitelisted.

    In your Cleantalk account, click the red number in the SPAM column to view the anti-spam log for the relevant site: you can then filter to Denied and the relevant country if necessary to see the blocked actions. You can then hit ‘not spam’ to whitelist those customers. Hope this also solves the problem for you!

    You have to pay a small extra fee for the Cleantalk ‘Extra Package’ to customise the *** Forbidden *** message to something more helpful, and I’ve now done that. I’m going to keep a careful eye on that Spam log and if it keeps blocking genuine customers I may have to look for something else.

Viewing 15 replies - 1 through 15 (of 58 total)