• Hi Kento,

    after the latest update, I can’t see menu items (on site and admin panel) as well as page content on my site.
    I didn’t made any backups, since it only runs on a development server. Unfortunately, that’s why I can’t really see what change led to this behaviour.
    I have 4 groups and all of their capabilities are added to the “enforce read access on posts”. Admin override is checked/on. Admin is also member of the highest group as well as the registered group. However, when I edit a page, I also can’t any longer set groups permissions.

    Any clue?

    https://www.ads-software.com/plugins/groups/

Viewing 15 replies - 16 through 30 (of 33 total)
  • Thread Starter Jens Kuerschner

    (@jekuer)

    Theme: Total
    Functions.php is huge. Will check this later. However, can’t imagine the others made the same tweaks I did ^^

    I got similar errors as thisisbbc when i enabled debug. I did a search in all the files for wp_cache_get() that use the $found parameter. I added “= null” to define it.

    The following files and line numbers were changed:

    wp-content\plugins\groups\lib\access\class-groups-post-access.php
    Line 396: $result = wp_cache_get( self::CAN_READ_POST . '_' . $user_id . '_' . $post_id, self::CACHE_GROUP, false, $found = null );

    wp-content\plugins\groups\lib\core\class-groups-group.php
    Line 283: $result = wp_cache_get( self::READ_BY_NAME . '_' . $name, self::CACHE_GROUP, false, $found = null );

    wp-content\plugins\groups\lib\core\class-groups-capability.php
    Line 200: $result = wp_cache_get( self::READ_BY_CAPABILITY . '_' . $_capability, self::CACHE_GROUP, false, $found = null );

    Everything looks to be working for me now.

    After downgrade to 1.4.13 all my content and menu come back…issue was definitely caused by latest update…it’s a very big troll…from several hours all my website was offline…i’m very angry

    Okay, I take back that everything is working. The errors went away but in the middle of testing I mistakenly used my admin account.

    Thread Starter Jens Kuerschner

    (@jekuer)

    @itthinx: I did some more testing and found the problem:
    There is a conflict between your newly added cache function and the object cache part of the w3 total cache.

    At least that’s what causes the troubles. I’m not sure how to solve it – maybe I find a solution, but I hope that you have a smart idea ??
    In the meantime I will simply shut off the w3tc object cache (it’s not that powerful with my server setting anyway). I don’t know, but I can imagine that there are also issues with other caching plugins.

    The new caching function is clearly wreaking havoc on many sites… I’ve found a dead giveaway to the problem is if the old version of a plugin works and the new one doesn’t, and it’s not that old, it’s def the upgrade…

    Thread Starter Jens Kuerschner

    (@jekuer)

    I now had a deeper look at the code and don’t think there’s an easy and quick fix for the problem, because it’s more a feature than a bug ??

    How about making the build-in cache optional and not active by default? Then users who don’t use any additional caching plugin can activate it and users who already cache objects keep it shut off. Just an idea.

    Anyway, keep up the great work and support!

    Plugin Author itthinx

    (@itthinx)

    @jens Many thanks for your input, I’m in the middle of testing this myself and will get back with results as soon as possible. When I posted before I didn’t have the Object Cache enabled, I can now see that restrictions are in place when they shouldn’t be with it enabled.

    Also thanks to all the others who have provided their feedback. If anyone else is experiencing similar issues, please either disable the Object Cache in W3TC or use the previous version 1.4.13 of Groups until we have this resolved.

    Lots of problems here with the latest update as well. Menus (frontend and backend) are completely broken and hidden.

    Plugin Author itthinx

    (@itthinx)

    This seems to have gone unnoticed:

    If anyone else is experiencing similar issues, please either disable the Object Cache in W3TC or use the previous version 1.4.13 of Groups until we have this resolved.

    The issue is being taken care of right now and the above fixes it. Also, the root of the problem is that W3TC’s implementation of the wp_cache_get() function does not consider the 3rd and 4th parameter, I’ll adjust the code using it so it will work with W3TC, too – but it should be noted that this implementation in W3TC should be fixed. I’ve also found a couple of threads on that:

    https://www.ads-software.com/support/topic/objectcache-api-is-out-of-date-this-breaks-other-plugins
    https://www.ads-software.com/support/topic/w3-total-cache-does-not-correctly-implement-wp_cache_get

    I don’t intend to ‘blame’ W3TC, but this should certainly be fixed, too. If (as in our case) you try to retrieve a value from cache and the value can be false, you must be able to distinguish a cache hit or miss via $found, which is currently missing in W3TC’s implementation of wp_cache_get().

    Thanks for the update. Neither of the two sites that the update broke menus on are using W3TC. They are hosted on WPEngine however, which has internal caching.

    Plugin Author itthinx

    (@itthinx)

    Thanks Razorfrog, for WPEngine you can disable object caching temporarily under WPEngine > WPEngine >Object/Transient Cache > Disabled – the same thing as for W3TC applies here. I’m already testing the fix for that and an update for Groups will be released shortly.

    Plugin Author itthinx

    (@itthinx)

    Many thanks to all for all the feedback on this.

    Groups 1.4.15 has just been released and takes care of the issue. I’m going to mark this topic as resolved, should anyone experience similar issues after updating to 1.4.15, please let me know.

    Thread Starter Jens Kuerschner

    (@jekuer)

    Awesome. Works the way it should.
    Thanks a lot!

    I also have the problem that pages that are limited by Groups are not displayed. The problem occurred with version 1.4.14 and has not been corrected by version 1.4.15. My computer skills are not sufficient to provide log files. With version 1.4.13 everything worked perfectly.

Viewing 15 replies - 16 through 30 (of 33 total)
  • The topic ‘No content displayed after update’ is closed to new replies.