Skip Navigation

[Resolved] Post Groups post selector not working

This thread is resolved. Here is a description of the problem and solution.

Problem: I am unable to type in the field to select posts for my Post Group. The field seems to be disabled.

Solution: Our developers have identified this issue and will include a permanent fix in a future release of Access. Temporary solution:
Open the file includes/Helper.php in the Toolset Access Plugin, in a Text editor or a Code editor
On line 5301 you will see wp_enqueue_script('toolset_select2');
Just BEFORE that, add a new line and put this code in it:

wp_deregister_style('toolset-select2-overrides-css');

So, the code now looks like this:

wp_deregister_style('toolset-select2-overrides-css');
wp_enqueue_script('toolset_select2');
wp_enqueue_style('toolset-select2-css');
This support ticket is created 7 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 7.09 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 13 replies, has 4 voices.

Last updated by javierC-9 7 years, 4 months ago.

Assisted by: Christian Cox.

Author
Posts
#539111
Screen Shot 2017-06-20 at 14.59.38.png

I am trying to: Add a page to a post group that doesnt allow guests to see content. I've made sure that Toolset access is managing pages and I've created the post group that I wish to hide. But when I go to the window (modify) to add pages, nothing shows! I'm also not able to type anything into the box? It would be great if you could give a hand!

#539148

Hi, that's strange. I see that you have multiple tabs open there. Is it possible that you had this tab open before you set up Access control, or before you created the posts/pages? If so, you may simply need to refresh this tab to reflect the recent updates. If that does not resolve your issue, may I ask you to follow these troubleshooting steps?
- Log out of the wp-admin area and close all your tabs. Clear your browser cache and cookies, then log back in. Test again.
- Try a different browser, like Chrome or Firefox, instead of the one you have been using. Sometimes browser extensions can cause problems, and switching to another browser may expose those.
- Ensure all your Toolset plugins are up-to-date. Test again.
- Disable all non-Toolset plugins temporarily, and activate a default theme like Twenty Seventeen temporarily. Test again.
- Check your browser console to see if any JavaScript errors appear on this page, especially while typing in the autocomplete field.

Please let me know the results and we can go from there.

#540151

Hi Christian,

Thanks for the quick and helpful feedback!

I've tried clearing the cache, logging in and out, using a different browser and checking for JavaScript errors and disabling the plugins.

I think I've got the newest version of the plugins but I'm unsure how to check?

I'm a bit worried if I change the theme that my work will be lost, is there any way around this? Do you think its likely that the theme is causing the issue?

Many thanks,

Andrea

#540309

The easiest way to see if you have all the latest plugins is to go to this URL on your site:
/wp-admin/plugin-install.php?tab=commercial
There is a section here for Toolset plugins, and you should be able to see at a glance what needs to be updated. This only works if your Toolset plugins are registered. If not, you can see the latest versions here: https://toolset.com/account/downloads/

I'm a bit worried if I change the theme that my work will be lost
Typically when you change themes, no content is removed or modified in your database. Your posts and pages will remain intact. If you're concerned, it's never hurts to back up your database and files before switching themes. Then you can quickly revert if necessary.

Do you think its likely that the theme is causing the issue?
It's possible, this is just one of the first steps that helps me diagnose problems. If you attach your debug information to your ticket, I can see which plugins and versions you have active, as well as some basic information about your host environment. For future reference we have an article about that here:
https://toolset.com/documentation/user-guides/debugging-toolset/

If you're up to date and the theme isn't responsible for your issue, I'll need to look inside your wp-admin panel at your setup. If necessary, I would install the Duplicator plugin to make a clone of your site. Then I can install that clone on my own environment and run more thorough tests. I would need access to your wp-admin area with an administrator account to do that. If that's okay, I have provided private reply fields here so you can share login information confidentially. Let me know if you would like to proceed.

Duplicator information:
https://wordpress.org/plugins/duplicator

#540310

Sorry I may not have enabled the private reply fields. I will enable them here just in case.

#541116

This is strange for sure. I don't see anything obviously wrong here. I've all Toolset plugins and installed WordPress, Twenty Seventeen, and Toolset plugins from scratch but the problem remains. I need to escalate this to our second tier supporters for some additional diagnosis. Please stand by and I will update you as soon as I have more information. Sorry for the inconvenience here, hopefully there's a simple solution I'm not aware of.

#541979

Hi, just a quick update to let you know our 2nd tier supporter Beda will be following up with you here. We've discussed the situation and he will continue communication with you. Thanks for your patience!

#542349

It's a CSS issue.
The style is messed up. Why this happens, I don't know.

I tried every thing that you could do easily on your install, locally.
This went from fresh installs of the plugins, even WordPress has been reinstalled, but it does not solve the problem.

I also consulted with the Access Developer, what could be the issue here, and we cannot find any reasonable source of the error.

Now, before I dig once deeper, I wanted to ask you something:

- It is relatively easy, to export/import all Toolset Data
- It is also relatively easy, to export/import Custom Fields and Custom Posts / Native Posts.

What I would like to ask, if it is possible for you to re-set the Database/FTP and reinstall WordPress fresh?
Then, you can import the contents again with the above mentioned process.

Of course this requires a full backup, and the data must be fully exported previously, and tested if it's usable for Import.

I can help you with this.

On the other hand, I am not sure if you ever had WPML and it's components installed.
If so, there was an issue similar to this, but that should have been solved by the last updates.
Did you use WPML in past on this site?

Please let me know if it would be a possibility to export/re-import?

If not, I will need to know:

- Since when exactly started this issue?
- Did you have WPML?
- Did you disable/delete WPML before the latest updates?

Then I would send it to the developers, as for me here, I can not spot the issue as it's an exception of a very single kind, and also the Developer will spend some time on that, if they will be able to see what went wrong.

Please let me know your thoughts on that, I will fully respect your decision of course.

#542436

Hi Beda,

Thanks for looking into the issue!

I'm not sure when it occurred, I only realised this when I tried to use the function.

Regarding WPML, I've not used it on the site. I have, however, used another free translator app called "Loco translate" to translate hardwired text since the site is in Norwegian.

Regarding resetting the FTP/database, I would be happy to do this as long as I don't loose all my work. I don't have only work in Toolset but also many pages built with theme shortcodes (Kallyas theme). I don't think there is a simple solution that allows me to keep the work I've done in Kallyas theme... Is the only option to reinstall and set up the entire site from scratch? Is there not another method of changing access?

Thanks again for taking the time to figure this out, much appreciated.

Kind Regards,

Andrea

#542441

There are always other solutions, of course.
The reset was the fasters I could think of.

It should not be a problem to export Page/Post contents even if they have ShortCodes in there, but let me first send this to the Developer, maybe he can find what is wrong.

I will update you accordingly ASAP.

#542948

As a temporary solution:

1. Open the file includes/Helper.php in the Toolset Access Plugin, in a Text editor or a Code editor
2. On line 5301 you will see wp_enqueue_script('toolset_select2');
3. Just BEFORE that, add a new line and put this code in it:

wp_deregister_style('toolset-select2-overrides-css');

So, the code now looks like this:

wp_deregister_style('toolset-select2-overrides-css');
wp_enqueue_script('toolset_select2');
wp_enqueue_style('toolset-select2-css');

Save and enjoy.

This is a temporary solution and we will provide a fix in a future update of Access.

Thank you a lot for your immense patience and trust in Toolset.

#543100

Hi Beda,

It worked! Thank you so much for the help and support!

Kind Regards,

Andrea Stykket

#550774

Hi, just a quick update to let you know a permanent solution to this problem will be added in Access version 2.4.2. A beta version is now available for testing purposes only, and the release is planned for early next week.

#602212

Hi,

I think this issue is back in version 2.4.3.2, at least for me.

The problem is that the crazy high z-index value for the overlay div is blocking the search box.

<div class="ui-widget-overlay ui-front" style="z-index: 1000101;"></div>

If you add a higher z-index value for that element it shows up again.

.toolset_select2-container {
    z-index: 1000102;
}

Best regards,
Javier.