Groups infinite refresh when using shortcodes

Posted in

When I use shortcodes in groups to limit who can and can’t see content, I get infinite refreshes on pages using those short codes. Once I login to the site, it all works well, but until the user logs in it refreshes every few seconds. Any ideas on how to stop this behavior?

3 Responses to Groups infinite refresh when using shortcodes

  1. George April 27, 2017 at 9:03 am #

    Hi nutrasmart,

    I tried this shortcode on my test installation with twentyfifteen theme, but the behavior is normal:

    [ecwid id="1003" grid="5,5" list="5" table="10" category_view="table" search_view="list" default_category_id="0" layout="floating" widgets="productbrowser minicart" categories_per_row="3" minicart_layout="MiniAttachToProductBrowser"]

    Please follow these steps and let me know:

    Have a look at your debug.log in case there is something logged there related to groups or ecwid plugin.
    Switch to a default theme, like twentyfifteen in case the issue is theme related.

    If none of these options give you a hint or a fix, please provide a temp admin account to your site. You can send the credentials to george at itthinx dot com. If you are running a live site, you can create a staging site for me to perform some tests.


  2. nutrasmart April 26, 2017 at 8:02 pm #

    I use the current version of Groups updated to the most recent release. The short code in question is [groups_non_member group="Group Name"]


    I placed the ECWID shopping cart short code between the codes. The issue seems to be the interaction with the ECWID short code and the [groups_non_member ] code. When I replaces the ECWID short code with the ECWID scripts everything worked correctly. Whey the two short codes are nested it relaods every 2-3 seconds.

  3. George April 26, 2017 at 8:59 am #

    Hi nutrasmart,

    Which shortcodes produce that issue? Are you using legacy support with capabilities, or the new model with groups only?

    Also, please enable WP debugging and check debug.log if any issues are logged.
    In order to enable debugging, edit your wp-config.php file and replace the following line:
    define(‘WP_DEBUG’, false);
    with these lines:
    define(‘WP_DEBUG’, true);
    define(‘WP_DEBUG_LOG’, true);
    and finally add a file named debug.log under your wp-content folder.

    Kind regards,

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account