Okay
  Public Ticket #1266494
aoColumn.origHeader.toLowerCase is not a function
Closed

Comments

  • brunoconceito started the conversation

    When using the option "Create a table linked to an existing data source"  I get this error (attachment)

  • [deleted] replied

    Hi brunoconceito,
    Thank you for the purchase.

    Please provide me a temporary WP-admin login for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue. We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course we do not provide login data to third party. You can write credentials here just check PRIVATE so nobody can see it except us.

  •   brunoconceito replied privately
  •   [deleted] replied privately
  •   brunoconceito replied privately
  • [deleted] replied

    Hi brunoconceito,

    You can make the change in the file ../wp-content/plugins/wpdatatables/assets/js/jquery-datatables/jquery.dataTables.columnFilter.js on line 1007 find:

    $($(this)[0].cell).addClass('column-' + aoColumn.origHeader.toLowerCase().replace(/\ /g, '-'));

    and replace it with:

    $($(this)[0].cell).addClass('column-' + aoColumn.origHeader.toString().toLowerCase().replace(/\ /g, '-'));

    After that please clear the browser cache and uncheck "Use minified wpDataTables Javascript" option on wpDataTables settings page under "Custom JS and CSS" tab.

    This fix will be included in the version 2.0.2

  • brunoconceito replied

    This is it! Well done.

    Thanks

  • [deleted] replied

    Hi brunoconceito,

    You are welcome. We'd greatly appreciate it if you could take a minute and leave a review on CodeCanyon on this link. Thanks!