• Resolved goldfred

    (@goldfred)


    Hi,

    I use your plugin since years, in combinaison with “Woocommerce Product Custom Options Lite” on my webshop.

    But since several weeks, I can’t export anymore.
    When I click on the export button there is a JS issue.

    It seems the is an error with a custom field (“name=”products\[label\]\[Nom\ (dos)\…)
    Could you help me ?

    Thanks

    Here is the chrome console message :
    load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.5:9 JQMIGRATE: Migrate is installed, version 1.4.1
    load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.5:2 Uncaught Error: Syntax error, unrecognized expression: [name=”products\[label\]\[Nom\ (dos)\ (<span\ class=\\”woocommerce-Price-amount\ amount\\”><span\ class=\\”woocommerce-Price-currencySymbol\\”>€</span>5,00</span>)\]”]
    at Function.fa.error (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.5:2)
    at fa.tokenize (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.5:2)
    at Function.fa (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.5:2)
    at Function.a.find (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.5:9)
    at a.fn.init.find (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.5:2)
    at a.fn.init.a.fn.find (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.5:9)
    at Object.attrFromInputWithName (jquery.serializejson.js?ver=1.5.3:236)
    at Object.<anonymous> (jquery.serializejson.js?ver=1.5.3:42)
    at Function.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.5:2)
    at a.fn.init.$.fn.serializeJSON (jquery.serializejson.js?ver=1.5.3:36)
    fa.error @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.5:2
    fa.tokenize @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.5:2
    fa @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.5:2
    a.find @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.5:9
    find @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.5:2
    a.fn.find @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.5:9
    attrFromInputWithName @ jquery.serializejson.js?ver=1.5.3:236
    (anonymous) @ jquery.serializejson.js?ver=1.5.3:42
    each @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.5:2
    $.fn.serializeJSON @ jquery.serializejson.js?ver=1.5.3:36
    makeJson @ admin.php?page=wc-order-export:1246
    get_data @ admin.php?page=wc-order-export:1844
    (anonymous) @ admin.php?page=wc-order-export:2021
    dispatch @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.5:3
    r.handle @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.5:3

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

    (@algolplus)

    hi

    Could you temporary remove this field from the export and save settings?

    Will it fix the error ?
    thanks, Alex

    Thread Starter goldfred

    (@goldfred)

    I tried, but I have the same JS error by saving new settings…

    Plugin Author algol.plus

    (@algolplus)

    Could you submit ticket and upload current settings (use tab “Tools” ) ?

    Plugin Author algol.plus

    (@algolplus)

    If you have same situation , you must delete and re-add this field.

    If you can’t delete fields using user interface,
    use tab “Tools”

    1. export settings ( and backup it, as text file!)
    2. delete fields which generate errors
    3. import settings
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘export failed – compatibility issue with “product custom options” ?’ is closed to new replies.