• Resolved steveherrick

    (@steveherrick)


    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.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author algol.plus

    (@algolplus)

    hi Steve

    Could you check JS errors as described here ?

    thanks, alex

    Thread Starter steveherrick

    (@steveherrick)

    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:4

    Plugin Author algol.plus

    (@algolplus)

    hi Steve

    this forum damaged your output a bit.

    I’m sorry, but could you upload the screenshot here ?

    thank you, Alex

    Thread Starter steveherrick

    (@steveherrick)

    Sorry about that. Here you go.

    screenshot

    Plugin Author algol.plus

    (@algolplus)

    hi Steve

    1. Could you put mouse over “select2.min.js” ( first error) ?
    What will you see ?
    https://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

    Thread Starter steveherrick

    (@steveherrick)

    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…

    Plugin Author algol.plus

    (@algolplus)

    thank you for patience.

    I’ll add this patch to next release.

    Thread Starter steveherrick

    (@steveherrick)

    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…

    screenshot

    Plugin Author algol.plus

    (@algolplus)

    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, 7 months ago by algol.plus.
    Thread Starter steveherrick

    (@steveherrick)

    Here’s the 897:31 URL:

    https://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.

    Plugin Author algol.plus

    (@algolplus)

    ok, I’ll wait for news

    have a good weekend

    Thread Starter steveherrick

    (@steveherrick)

    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.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Not exporting’ is closed to new replies.