• Resolved airfoil

    (@airfoil)


    I’m linking to a simple CSV file using a fully qualified URL, and am getting the console error shown below (running Chrome Version 47.0.2526.73 on Mac OS 10.11.1 and WP 4.3.1) – I’m running this on a local server, so cannot supply a link. I’ve disabled all plugins on the site except for this one, and still get the error.

    I also tried using your demo CSV file [gdoc key=”http://viewportsizes.com/devices.csv”%5D and still get the same error.

    Error message:

    Uncaught TypeError: Cannot read property ‘aDataSort’ of undefinedW

    @ jquery.dataTables.min.js?ver=4.3.1:65xa
    @ jquery.dataTables.min.js?ver=4.3.1:69(anonymous function)
    @ jquery.dataTables.min.js?ver=4.3.1:93m.extend.each @ jquery.js?ver=1.11.3:2m.fn.m.each @ jquery.js?ver=1.11.3:2m
    @ jquery.dataTables.min.js?ver=4.3.1:85h.fn.DataTable
    @ jquery.dataTables.min.js?ver=4.3.1:164(anonymous function)
    @ igsv-datatables.js?ver=4.3.1:24m.extend.each
    @ jquery.js?ver=1.11.3:2m.fn.m.each
    @ jquery.js?ver=1.11.3:2(anonymous function)
    @ igsv-datatables.js?ver=4.3.1:10j
    @ jquery.js?ver=1.11.3:2k.fireWith @ jquery.js?ver=1.11.3:2m.extend.ready
    @ jquery.js?ver=1.11.3:2J
    @ jquery.js?ver=1.11.3:2

    https://wordpress.org/plugins/inline-google-spreadsheet-viewer/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Meitar

    (@meitar)

    Huh. Is this happening with the default theme, too?

    Thread Starter airfoil

    (@airfoil)

    Yes. I originally had it running using a fresh, basic install of WooThemes Canvas. But then, thinking there may be something theme related, cycled through twentythirteen, twentyfourteen and twentyfifteen. Same error on all three.

    I should note that when I imported my CSV into a MySQL table and used:

    [gdoc key=”wordpress” query=”SELECT * FROM my_table”]

    The error disappeared and the table rendered as expected.

    Thinking it could be something to do with the formatting of my CSV, I tested using a very plain CSV file:

    one,two,three
    four,five,six
    seven,eight,nine

    Same error. As previously mentioned, the error is also thrown when I point to the demo CSV file you use in your documentation.

    For now, I’ll likely either go the MySQL route if I use this plugin, but it would be great if there is a solution to the CSV issue. Thanks.

    Plugin Author Meitar

    (@meitar)

    Well, it’s unlikely that your server setup is causing the problem if the issue is a JavaScript/jQuery exception, so that rules that out. I just tried loading the demo CSV file on a default WordPress version 4.4 in Google Chrome version 47.0.2526.80 (64-bit), which seems to be the latest version of Chrome, on Mac OS X Yosemite 10.10.5, and did not see the error you report. I’m not sure I believe that the Mac OS X version itself would be responsible for the error, and so maybe an update to WordPress 4.4 plus updating to the latest Google Chrome will resolve the issue?

    Thread Starter airfoil

    (@airfoil)

    Thanks. I’ll see if the updates work. As mentioned, I can get it to works as expected using MySQL for some reason, so can fall back on that if needed.

    Plugin Author Meitar

    (@meitar)

    Any word on whether or not the updates worked for you?

    Thread Starter airfoil

    (@airfoil)

    Still no luck. I appreciate the support and followup. For my current project, I’ve pivoted to a different solution, but will certainly keep your plugin in mind for other projects. As mentioned, the MySQL approach seems to be a good workaround.

    Plugin Author Meitar

    (@meitar)

    Okay. If you do find out a way to reproduce the error, let me know.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Error – aDataSort’ is closed to new replies.