Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #990985

    CrikeyMate
    Participant

    Hello again,

    Ok, I think I resolved that functions.php error. Was something to do with the pagination code for mobile you gave me a few weeks back. I removed it at a guess, and things seemed to have returned to “normal”, albeit with Ess Grid still having the same problem.

    Feel free to troubleshoot that mobile pagination code whilst you’re here. 🙂

    #991016

    Rad
    Moderator
    This reply has been marked as private.
    #998841

    CrikeyMate
    Participant

    Hello Rad,

    You were correct. Something died horribly during the migration. Seems I’m not having much luck. I had to rebuild the site(s) from scratch.

    Alas, now I have a NEW issue -:

    The grids are not updating, unless I go into the setting for each grid, and select the “category” again. It’ll then populate with the new posts.

    It’s like a caching issue? Although, I have no caching enabled. I’ve running virtually no plugin’s.

    Could there be any reason for this I am not thinking of?…

    Thanks kindly once more for your time and support!

    #998954

    CrikeyMate
    Participant

    Top update;

    Ok, so I discovered it’s running it’s own cache. If I delete it, it’ll load the new posts. However; it’ll then cache again and not update.

    Is this broken? Is there a way to force clear the cache? Or worst case; disable it entirely?

    Thanks!

    #999011

    Rad
    Moderator

    Hi there,

    Yes, that’s the purpose of caching. It’s to hold content and resource for given time so it won’t load the latest content which requires processing power. Hence, you’ll have to clear caching every time your made some change. Or, if you’re in the middle of development, then it’s best to disable all caching while you’re on that.

    If you have to host specific caching, then you don’t need to use a plugin. And same way, you should clear caches after applying some change or disable it during development.

    Thanks!

    #999116

    CrikeyMate
    Participant

    Hello,

    I understand caching is meant to cache. However; shouldn’t it also clear? How long does this “cache” for before updating itself?

    I simply want it to show “new” posts, alas, unless I clear the cache it doesn’t.

    Is this truly how it’s meant to be?

    #999123

    CrikeyMate
    Participant

    I found this, which looks like it can disable caching;

    // code can be added to your themes functions.php file

    add_filter(‘essgrid_query_caching’, ‘eg_stop_caching’, 10, 2);
    add_filter(‘essgrid_get_posts’, ‘eg_mod_query’, 10, 2);

    // turn off caching for your grid
    function eg_stop_caching($do_cache, $grid_id) {

    if($grid_id == YOUR_GRID_ID) return false;
    return true;

    }

    function eg_mod_query($query, $grid_id){

    if($grid_id == YOUR_GRID_ID) {
    //modify $query to your likings
    }

    return $query;

    }

    I’d like to keep caching though. I can’t find how long it’s meant to actually cache for, before updating? Surely there is a life-span of the cache? Or some trigger that actually updates it?

    Ideally I’d like to keep cache, and have it ‘re-cache’ every 30 minutes or so.

    #1000107

    Rad
    Moderator

    Hi there,

    I can’t really answer that as it depends on your setting, feature, or plugin. It’s best to contact plugin author or your hosting provider (if they have cache feature). Some are permanent and cleared only upon editing of a post/page. But not all areas are cleared especially if the content is generated from shortcode that comes from another cache.

    Thanks!

    #1036819

    fernando96
    Participant
    This reply has been marked as private.
    #1036820

    fernando96
    Participant

    Hi,

    I have the same problem, ajax error and with no grids created and I can’t create any.

    Also problem with The Grid, I can’t change anything.

    Regards,

    Oswaldo

    #1037018

    Friech
    Moderator

    Hi Oswaldo,

    Please do a testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

    Thanks.