Attributes of a select type are only available for logged in users

After creating a field in attributes and inserting its options as select, I noticed that if there are many options, the data in the field is only returned if you’re logged in. If you’re not logged in, it says “results cannot be loaded.” This happens whether the field is displayed in the search or in the filter. Can you please help? This field is essential for my site. Thanks

Hi,

Could you please let us know how many options we are talking about? If possible, could you please share the detailed steps to reproduce the issue so we can test it locally (you can record a screencast if that’s easier)? Additionally, could you please let us know what HivePress version you’re using?

Once we can reproduce the issue, we will be able fix it.

I created an attribute with the name Return Location with these characteristics:

As select options there are about 150 locations (Italian provincial capitals)

As you can see from the settings, the field in question appears in the filter, but when you try to select one of the options by entering the first three letters (select2) while not logged in, the result is “cannot retrieve data” or something similar. Everything works fine if you’re logged in.
Thank you !!

Revert to version 1.7.18. This will resolve this issues + another issue.

Second issue it will resolve si
If you have an attribute of type phone and you are using <a href in the display formatting it will break.

Reason: when you retrieve the phone number using %value% it returns and the actual phone number. This will break the < ahref
For example you are trying to display a call button like in the screen shot, it will break. (unable to put full code here).
After version 1.7.18 these are the bugs I observed. I have logged these bugs. Since I had a subsite which I did not upgrade the plugin I was able to reuse the older version

Hi,

I’ve addressed your request in a separate topic, but this issue was resolved in one of the latest updates.

Describe the issue in as much detail as possible. Please remove the sections below if the issue is obvious enough and doesn’t require extra details.

Steps to reproduce

Use an Attribute with multiple values as a search box item
Log out and not be an admin user
enter first 3 characters to search (an existing attribute value)

Actual result

It shows the results could not be loaded.

Expected result

It should search the filter and show options

Extra details

If you are a logged in user, the error doesnt appear. It seems that direct access to attributes is being blocked

Currently fixed by uploading an older version of hivepress plugin. 1.7.19. website: https://www.adzzie.com

Hi @Fabrizio and @adzzie,

Thanks for the details.

The bug has been confirmed, we’ll fix it in the next HivePress update.

You can check the temporary solution here: Find listing via attribute from search - #14 by ihor.