Not exporting
-
It’s not clear how to enter dates in the date range. I entered 2017-02-01 and 2017-04-05, and hit “Express Export,” and the page simply refreshed. There was no download. Additionally, none of the dropdown filter sections are available.
-
OK. Debugging mode showed conflicts with another plugin, so I deactivated that one. Even so, the same problem happens in multiple browsers.
Here’s what I see in the JavaScript console in Chrome…
load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.7.3:9 JQMIGRATE: Migrate is installed, version 1.4.1
main.js?ver=4.7.3:173 we are here undefinedsub undefined
main.js?ver=4.7.3:187 got a tabundefinedwith sub undefined
select2.min.js?ver=4.0.0:1 Uncaught Error: No select2/compat/inputData
load-scripts.php?c=0&load[]=hoverIntent,common,wp-ajax-response,jquery-color,wp-lists,jquery-ui-cor…:296 Uncaught TypeError: Cannot read property ‘hasClass’ of undefined
3load-scripts.php?c=0&load[]=hoverIntent,common,wp-ajax-response,jquery-color,wp-lists,jquery-ui-cor…:296 Uncaught TypeError: Cannot read property ‘hasClass’ of undefined(anonymous function) @ load-scripts.php?c=0&load[]=hoverIntent,common,wp-ajax-response,jquery-color,wp-lists,jquery-ui-cor…:296n.event.dispatch @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.7.3:3r.handle @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.7.3:3n.event.trigger @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.7.3:3a.event.trigger @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.7.3:9(anonymous function) @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.7.3:3n.extend.each @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.7.3:2n.fn.n.each @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.7.3:2n.fn.extend.trigger @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.7.3:3(anonymous function) @ load-scripts.php?c=0&load[]=hoverIntent,common,wp-ajax-response,jquery-color,wp-lists,jquery-ui-cor…:295i @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.7.3:2j.fireWith @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.7.3:2y @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.7.3:4c @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.7.3:4hi Steve
this forum damaged your output a bit.
I’m sorry, but could you upload the screenshot here ?
thank you, Alex
Sorry about that. Here you go.
hi Steve
1. Could you put mouse over “select2.min.js” ( first error) ?
What will you see ?
http://interpreters.coop/wp-content/plugins/woocommerce-appointments/assets/js/select2.min.js or https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.0/js/select2.min.js ?2. Could you edit plugin file classes/class-wc-order-export-admin.php?
Find line 473
wp_enqueue_script( 'select22', 'https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.0/js/select2.min.js',
and replace “select2.min.js” with “select2.full.js”
?
Will it help ?thanks, alex
1. I see a pop-up that reads:
https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.0/js/select2.min.js?ver=4.0.0
2. Yes! That fixes it. Thank you so much!
Off to use it…
thank you for patience.
I’ll add this patch to next release.
Wait… since I made the change, the Javascript in all other parts of Woocommerce (though not the rest of my site) is broken. I even tried changing “full” back to “min”, but it’s still broken.
Here’s a screenshot with the console…
hi Steve
My plugins loads select2.full.js on one page only (Woocommerce>Export Orders).
It seems another plugin loads outdated select2. more here
Could you hover select2….:897:31 ? and paste url here ?I think this error had existed before you installed my plugin. You can disable it to verify my words 🙂
thanks, alex
- This reply was modified 7 years ago by algol.plus.
Here’s the 897:31 URL:
http://cdnjs.cloudflare.com/ajax/libs/select2/3.4.8/select2.js?ver=1.0
I think you’re right about it being another plugin. I have an idea which one, but I’ll need to dig into the code to be sure.
ok, I’ll wait for news
have a good weekend
It was just minor compatibility issues after WooCommerce upgraded to 3.0. They renamed some of their functions, and the other plugins, especially Appointment Bookings, need to catch up.
- The topic ‘Not exporting’ is closed to new replies.