• Is it possible that recent changes in the plugin are the reason for the following problem?

    I created a form which includes dropdown menus that are dynamically loaded from CSV files (thanks to your help 🙂 ; see here: https://wordpress.org/support/topic/fill-dynamic-dropdown-with-data-from-csv-file/ ).

    This was working before, but now the dropdown menus no longer contain the entries from the CSV file, but only the text “No results found”. This text is not a return value from my script, so it probably originates from your plugin?
    I am using WP 5.7, CF7 5.4, and your plugin in version 4.10.0.

    Since I haven’t changed anything inbetween and the menus changed from working to non-working, I was wondering if it was due to recent plugin updates (although it might also be due to WP or CF7 changes).

    Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Aurovrata Venet

    (@aurovrata)

    but now the dropdown menus no longer contain the entries from the CSV file, but only the text “No results found”

    it’s possible there is an issue on v4.10…are you using a filter to populate your dynamic dropdonw?

    Thread Starter bastiwp

    (@bastiwp)

    Hello,
    thanks for the quick response 🙂
    Yes, I am using a filter: You can find its code here:
    https://wordpress.org/support/topic/fill-dynamic-dropdown-with-data-from-csv-file/

    Plugin Author Aurovrata Venet

    (@aurovrata)

    ah yes, this filter has been deprecated for a new one.

    In v4.10 I made the mistake of not handling the deprecated filter properly in the back-end. This should be fixed in the next version 4.11 that is about to be released. Can you manually upgrade to v4.11 beta using this file and see if it works for you?

    Thread Starter bastiwp

    (@bastiwp)

    Can you manually upgrade to v4.11 beta using this file and see if it works for you?

    Sure, I can try this; what is the best way to do the manual upgrade? The only option I see via the WP backend would be to use “add new” at the plugins page. But will that overwrite the current version? Or shall I just copy the contents of the ZIP file via FTP?
    What do you suggest?

    Plugin Author Aurovrata Venet

    (@aurovrata)

    either way

    Thread Starter bastiwp

    (@bastiwp)

    Hi Aurovrata,
    I installed the plugin beta (had to deactivate 4.10 and then activate the beta).
    Afterwards I opened the form, but it still shows “Results not found”. I also opened the form in the backend and clicked “Update” to save it, but it didn’t help.

    What else can I do to get it to run? Did I miss something?

    You wrote that the filter I use is deprecated now. Shall I adapt the code use a different filter?

    Plugin Author Aurovrata Venet

    (@aurovrata)

    Afterwards I opened the form, but it still shows “Results not found”. I also opened the form in the backend and clicked “Update” to save it, but it didn’t help.

    Ok, i just tested it and realised there was still a bug preventing it from being fully backward compatible. I fixed this in v4.11 beta 3

    can you please try it again?

    You wrote that the filter I use is deprecated now. Shall I adapt the code use a different filter?

    sure that’s also possible

    Thread Starter bastiwp

    (@bastiwp)

    can you please try it again?

    With beta3 it is working again 🙂

    Is it okay to use the old, deprecated filter? Will it continue to work? Or shall I use a different filter in the future? Is the new one documented somewhere?

    Plugin Author Aurovrata Venet

    (@aurovrata)

    With beta3 it is working again

    great, so keep using beta3 for now, and upgrade to 4.11 when it releases.

    Is it okay to use the old, deprecated filter? Will it continue to work?

    yes.

    Or shall I use a different filter in the future? Is the new one documented somewhere?

    I would recommend you use the new one if you create a new form in the future.

    When you create a new filtered dynamic field, the helper code you copy from the link will be updated to reflect the new structure.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Dynamic dropdown menu (loaded from CSV) not working anymore; plugin changes?’ is closed to new replies.