Forums Forums Search & Filter Pro Bug when updating meta values ("Auto Suggest" button)

Viewing 6 posts - 11 through 16 (of 16 total)
  • Ross Moderator
    #12413

    Just seen this – and I’ve just mailed you the update.

    Thanks

    Anonymous
    #12470
    This reply has been marked as private.
    Ross Moderator
    #13070

    Hey again

    Sorry for the delays – I tried setting up some tests using huge amounts of meta data but haven’t quite got there with breaking it yet.

    To be honest I think that it may not be possible to have 2000 meta values in one field – this could be for a few different reasons though:

    There could be a timeout on your server, when processing the fields and saving them – your server could have strict rules such as the amount of time scripts are allowed to run, or the max post size when sending $_POST variables (in the case of 2000 meta keys it may be reasonably large)…

    Another alternative is the way the meta keys are being stored – Search & Filter stores all the configuration data for its search form in a single meta key – http://codex.wordpress.org/Function_Reference/add_post_meta – there may be a maximum size to this but I didn’t manage to find out what exactly – basically in MySQL the field type for the meta data is longtext – so this may have a maximum size and not actually be able to store all the info you want:

    *Edit: After a quick look it seems that the longtext can store over a Gb of data – that is WAY more than we would need…

    Can you enable PHP error logging on you server, then do a few tests (where the save of meta fields fails) and see if anything comes up in your logs? Can you also enable WP_DEBUG mode and install Debug Bar and see if you can track down any errors?

    Thanks

    Anonymous
    #46208

    Hi

    I’ve just come across the same problem – I bought Search & Filter today specifically to search by custom field, and the meta values total around 1000 entries.

    I’ve tried to set up the form to search by the post meta value I need with manual entry but every time I hit update, the meta value resets to the first on the list. If I try with a value that has fewer entries, it saves without a problem.

    If there is a fix for this, I’d be really grateful, as this plugin seems to be the only solution for the type of search filtering my client needs.

    Thanks

    Trevor
    #46234

    Hi Helen

    It would be better if you would start a new thread, so that, if needed, a different support person can be allocated to you. If you are wanting to search in a meta field using a search field, please install Relevanssi, see this post:

    https://support.searchandfilter.com/forums/topic/not-sure-why-the-search-term-is-not-displaying-in-search-results/#post-45453

    Anonymous
    #46239

    No problem Trevor. I’ll start a new thread.

    I have Relevanssi installed, but it’s a backend issue rather than a front-end one – the same problem as the OP.

    Thanks

Viewing 6 posts - 11 through 16 (of 16 total)