Export Setup doesn’t work in 1.9.8
-
I recently updated to 1.9.8 and the “Export Setup” Button doesn’t work anymore. Console says “Uncaught TypeError: link.trigger is not a function”
-
Hi @mediatoni
I just checked it and is completely working so is possible that another plugin is blocking or has changed the jQuery of your WordPress (jQuery is the library from where this function comes)
Looks like your issue comes from a theme of plugin conflict, have you tried to perform a conflict test?
There is an explanation about how to perform this:
https://gamipress.com/docs/troubleshooting/theme-and-plugins-conflict-test/The change here is that we changed a function from link.click() to link.trigger(‘click’); since on WordPress 5.7 (the next version) the .click() function will get removed and the unique function available will be the .trigger() function that is actually inside your WordPress version, for that I mentioned the conflict test, because is .trigger() function should be available on your WordPress by default
Hope it helps!
I am 10000% sure it worked before, because I tried to export with 1.9.7 and canceled the save dialogue because I thought “oh maybe I should update first”.
However could it be that the new trigger “click” you explained is only working in WordPress 5.6? We are currently using WordPress 5.5.
Otherwise, yes, you may be right with a plugin conflict. Thank you for your reply so far!Hi @mediatoni
No no, the thing I mentioned about jQuery functions is not from 5.6, WordPress up to 5.0 have the trigger() function on its jQuery
The thing here is the possibility that or the jQuery is not getting included or the jQuery library has been override (WordPress is super flexible, and any plugin or theme could load its own libraries, include override the WordPress ones)
For that I mentioned the possibility of a conflict
Anyway, the thing with those functions is that all plugins may need to get updated for the upcoming 5.7 since will add this breaking change and several jQuery functions will stop to work
Okay thank you for further explanation. I will check what Plugin causes this error. Thank you for the quick and detailed responses!
Nothing @mediatoni
Glad to help you!
Dear Ruben,
I just deactivated all Plugins and Changed the Theme to Twenty Twenty. However the error consists. I installed a jQuery Check Plugin and it says, we’re using jQuery 3.5.1, so this shouldn’t be the problem. We’re currently using WordPress 5.5. If we’d update to 5.6 it should temporarily fix the problem since the vendor fix got reincluded – however 5.7 wouldn’t work anymore since the “click” funtion is delted there again as deprecated as far as I understood.Hi @mediatoni
This plugin enables again jQuery Migrate:
https://wordpress.org/plugins/enable-jquery-migrate-helper/So you will be able to update WordPress to 5.6 and keep the deprecated jQuery functions on your site
Hope it helps!
Hi @mediatoni
We just released a new update to fix definitively this issue
Let me know if the update fixes it
Best regards!
I tried everything before the update, but now it works only thanks to the update. Don’t know what you did, but thank you for fixing this!
Hi @mediatoni
Fantastic! Glad to meet the update has fixed definitively this issue
Best regards and happy holidays!
- The topic ‘Export Setup doesn’t work in 1.9.8’ is closed to new replies.