• Resolved highor

    (@highor)


    On this page:
    /wp-admin/edit.php?post_type=shop_order i cannot click on an order anymore.

    WP version: 4.9.4
    Woocommerce version: 3.3.1
    Admin Columns: 3.1.3

    When i disable admin columns from plugins its working again.

    I get the following message in my console:

    wc-orders.min.js:1 Uncaught TypeError: Cannot read property 'length' of undefined
        at HTMLTableCellElement.r.onRowClick (wc-orders.min.js:1)
        at HTMLDocument.dispatch (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-draggable,underscore,backbone,wp-util&load[]=,moxiejs,plupload,jquery-ui-sortable&ver=4.9.4:3)
        at HTMLDocument.r.handle (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-draggable,underscore,backbone,wp-util&load[]=,moxiejs,plupload,jquery-ui-sortable&ver=4.9.4:3)
    r.onRowClick @ wc-orders.min.js:1
    dispatch @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-draggable,underscore,backbone,wp-util&load[]=,moxiejs,plupload,jquery-ui-sortable&ver=4.9.4:3
    r.handle @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-draggable,underscore,backbone,wp-util&load[]=,moxiejs,plupload,jquery-ui-sortable&ver=4.9.4:3
    • This topic was modified 6 years, 9 months ago by highor.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Stefan van den Dungen Gronovius

    (@dungengronovius)

    Thanks for the feedback.
    Since WooCommerce 3.3, they completely rewritten their Order overview page. They also made their new ‘Order’ column required in order to make this overview work.

    With our plugin it is possible to reorder columns and also to add or remove (default) columns. I believe they could write their code so that the overview still works when the order column is not available. So to be honest, this is not an issue that needs to be fixed in our product, it needs to be fixed in WooCommerce. I will create a ticket for this in the WooCommerce support forum.

    As a workaround, you can add the ‘Order’ column to the overview and everything should work as expected. Or you could restore all the columns for the order overview once so you have all the default WooCommerce column. After that, you can re-add your own columns again. Just make sure you won’t remove the default ‘Order’ column and you should be fine.

    Hello dungengronovius,
    Thanks for your previous answer it resolves my main issues.
    Now my orders are editable again.
    But I’ve another issue : the “Actions” colums is now empty.

    Any idea on how to solve that ?

    Thanks

    Hi again,
    I found the solution.
    There is 2 “Actions” columns that can be added and I’ve chosen the wrong one. everything is working now.
    thanks again for your plugin.

    Thread Starter highor

    (@highor)

    Thanks that worked for me as well

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can’t access orders anymore in admin’ is closed to new replies.