Forums Forums Search & Filter Pro New posts not being added + cache rebuild takes 40+ minutes

Viewing 10 posts - 1 through 10 (of 15 total)
  • Anonymous
    #50312

    I originally partially set up search and filter pro on a website a couple of months ago. I then put the site on hold for a couple of months while I was doing something else, and I never properly tested it, or made it visible online. Now I’m trying to do that, and I’m finding problems.

    WordPress is the latest version – updated a couple of days ago.

    I have a couple of search forms embedded in custom post archive pages. They appeared to work well on the surface until I looked closer.

    Firstly, I discovered that if new posts are added, they are invisible. I added a couple of posts, checked the data was right, went to the archive/search page and tried to find them. They didn’t exist – I couldn’t find them, nor had the search counters changed to show the new correct post numbers.

    I rebuilt the cache several times. It must have taken 40 minutes or so to rebuild the cache for 480 posts. I also noticed that although there are only 483 posts in this particular cpt, and the form is set to search this one cpt, when I asked to rebuild the cache it told me it was rebuilding a cache for 1447 posts. It must be caching for all cpts, but surely that’s not right?

    Anyway, I then looked at my results page and tried skipping through the pages, using pagination. It’s fine up to page 3, but then stops working. Ajax appears to have a think and load the results, but after a certain point the results never change. The best I’ve managed was to reach page 5 (which was shown in pagination as page one, for some reason).

    I’m sure it wasn’t doing this before, 90% sure at least, but now it just doesn’t work properly.

    One small question: the site will have front-end posting forms for logged-in users. Admin has to approve each post, but do I need to rebuild the cache every time someone adds a new post if I want it to be visible? My post archive pages just don’t work while the cache is being rebuit. Even 23 minutes into the last rebuild, the search filters could only show me about 60 posts…. That’s just not possible on a working site.

    I’m just tearing my hair out now because as it stands it’s unworkable. My last option now is to delete the plugin and start anew..

    Oddly, I had a warning in the cache box that has never appeared before with any other plugins, including cache plugins:

    Notice: Running background processes is either disabled or has failed in this environment.
    Therefore you must leave this page open to complete caching.

    Not sure what this has to do with it all, but the server has not been altered in any way since the site was created.

    Trevor
    #50319

    So, something about the environment must have changed. A different version of WordPress or another plugin must be causing this. Or the setup of the form. Do you have a live url with the form on?

    Anonymous
    #50321

    Maybe wordpress, but not a plugin.

    I deleted the search and filter plugin, reinstalled a fresh version and rebuilt 3 forms. When I completed the first form, it built a cache with 483 posts – correct. It took two or three minutes. I added the second form and it then built the cache for 1447 posts again (which is the total number of posts in both cpts). It took about 10 minutes but I forgot to time it properly.

    I then added a third form, for a cpt which has one test post. The plugin then rebuilt the cache for 1448 posts. Again, the total of the 3 post types.

    It is still rebuilding the cache.

    After I deleted the plugin I went back to the post archive page and checked the pagination – worked perfectly with only that one change. The theme is avada, but there have been no changes recently.

    Will add the post url in a prvate post.

    Trevor
    #50323
    This reply has been marked as private.
    Anonymous
    #50328

    Should have added – the pagination seems to work now, but I haven’t had a proper look yet.

    One thing I have noticed is that when ajax is doing its work, the posts simply go a little white. How can I change this to make it obvious to people that something’s loading? I keep finding myself wondering if it’s loading, and I know what to look for.

    Anonymous
    #50329
    This reply has been marked as private.
    Trevor
    #50331

    Q. One thing I have noticed is that when ajax is doing its work, the posts simply go a little white. How can I change this to make it obvious to people that something’s loading? I keep finding myself wondering if it’s loading, and I know what to look for.

    A. If you can raise a separate feature request (in its own forum area) for this. I am not sure if this is WordPress, or the plugin or the theme that handles this.

    What version of the plugin do you have right now? I am not over keen on fiddling with sites that are in use unless I have to, and even then I prefer to do it over Skype with the owner.

    I agree that W3TC is not good. I use Comet Cache.

    Anonymous
    #50333
    This reply has been marked as private.
    Anonymous
    #50336

    2.1.2 I think – it’s whatever is in the download box in my account.

    Site is not production, it’s hidden, but I’m adding pages, playing with layout etc. Long as you don’t disable the theme, ACF plugin or Formidable forms, most of the rest isn’t critical in terms of affecting me.

    Trevor
    #50337

    mmm

    I have seen other sites with the issue that you describe and are now OK with the new version. Is it possible to put this on hold and you try the final version of 2.2.0 and let me know what happens?

Viewing 10 posts - 1 through 10 (of 15 total)