Forums Forums Search & Filter Pro WordPress 4.2 breaks term querys

Viewing 7 posts - 1 through 7 (of 7 total)
  • Anonymous
    #15761

    My Search & Filter form UI’s have started returning 0 results after updating to 4.2. So basically just empty dropdowns (or whatever ui element you choose)

    eg

    SELECT t.*, tt.*
    FROM wp_terms AS t
    INNER JOIN wp_term_taxonomy AS tt
    ON t.term_id = tt.term_id
    WHERE tt.taxonomy IN (‘regions’)
    AND t.name = ‘_sft_regions’
    ORDER BY t.name ASC

    is returning 0 rows.

    I have a feeling this might be related to the cores restructure of how terms ids are now stored in the db.

    https://make.wordpress.org/core/2015/02/16/taxonomy-term-splitting-in-4-2-a-developer-guide/
    https://developer.wordpress.org/plugins/taxonomy/working-with-split-terms-in-wp-4-2/

    Ross Moderator
    #15768

    Hi Mark

    I’ve just emailed you an update, can you let me know if it works?

    Thanks

    Anonymous
    #15770

    Thanks Ross,

    The terms are now appearing correctly 😉

    Out of interest.. Was my guess on what was causing the issue close?

    Anonymous
    #15771

    Hi,

    Please, could you send me the update too? All my UI’s are gone!

    Thanks,
    Alain

    Anonymous
    #15779

    Same to me please!

    Ross Moderator
    #15782

    Hey all

    I just wanted to test it first 😉

    I’ve just pushed the update officially so you can see it either via the WordPress plugins page (wait a few moments/page refreshes) or you can download the latest zip from you account!

    Thanks

    Ross Moderator
    #15783

    Hey Mark! to follow up

    I don’t there were any problematic queries, returning 0 results etc – it was mostly due to I think an unmentioned update to the way wp_list_categories worked – which S&F hooked into to create the various inputs for tags, categories & taxonomies…

    I still need to check through their update notes though there might be something here.

    Also left a note: https://support.searchandfilter.com/forums/topic/wordpress-4-2/

    Thanks

Viewing 7 posts - 1 through 7 (of 7 total)