Okay
  Public Ticket #2538433
2/3 image upload buttons (frontend) not working
Closed

Comments

  •  1
    formidaweb started the conversation

    Hello!

    This can be easily replicable on your demo install, so not going to give any links for now. Most likely it's related to the latest wordpress versions, which changes some jquery versions. BTW, using latest versions of both your plugin and wordpress (also frontend form added through Elementor).

    In the frontend add event submission form, the add image main button works without issue, however the add picture button from both new organizer and new atendee doesn't work.

    In the Chrome inspect tool / Console, I get the following error when clicking those buttons:

    submit-form.min.js?ver=3.1.3:75 Uncaught TypeError: window.wp.media is not a function
        at HTMLButtonElement.<anonymous> (submit-form.min.js?ver=3.1.3:75)
        at HTMLDivElement.dispatch (jquery.js?ver=1.12.4-wp:3)
        at HTMLDivElement.r.handle (jquery.js?ver=1.12.4-wp:3)

    This most likely is a new version jquery related bug, please take a look into it.

    Thanks.

  •  894
    Zhivko replied

    Hi,

    Go to Dashboard -> St. Event Calendar -> General -> Misc tab and enable "Load WP Media" setting.



    Stachethemes Developer

  •  1
    formidaweb replied

    There is no such option in the latest version of the plugin with the latest wordpress version. I have everything enabled / forced YES on that settings page, even google maps scripts, and still it s not working.

  •  894
    Zhivko replied

    Deactivate and re-activate the calendar from Dashboard -> Plugins. This will update the settings and check again.


    Stachethemes Developer

  •  1
    formidaweb replied

    Confirm that now everything is ok. After reactivation the settings reappear and everything is ok. Thanks :) Ticket closed :)