Okay
  Public Ticket #2549860
Uncaught Type Error
Closed

Comments

  • Chris started the conversation

    Using Google Spreadsheet 

    It was working and then it suddenly decided it would not work. Then when I go to configure it, there is nothing there and I need to start over. It will not allow me to re-attach - the continue button is grayed out. 


    The error on the console 

    wdt.frontend.min.js?ver=3.0.4:8 Uncaught TypeError: Cannot read property 'length' of null
        at f (wdt.frontend.min.js?ver=3.0.4:8)
        at X (wdt.frontend.min.js?ver=3.0.4:8)
        at wa (wdt.frontend.min.js?ver=3.0.4:8)
        at e (wdt.frontend.min.js?ver=3.0.4:8)
        at HTMLTableElement.<anonymous> (wdt.frontend.min.js?ver=3.0.4:8)
        at Function.each (jquery.js?ver=1.12.4-wp:2)
        at n.fn.init.each (jquery.js?ver=1.12.4-wp:2)
        at n.fn.init.n [as dataTable] (wdt.frontend.min.js?ver=3.0.4:8)
        at wdtRenderDataTable (wdt.frontend.min.js?ver=3.0.4:393)
        at HTMLTableElement.<anonymous> (wdt.frontend.min.js?ver=3.0.4:447)


  • Chris replied

    This has been fixed. I deleted the data table, republished entire document, then connected it again, and it worked. 

  •  2,572
    Aleksandar replied

    Hello Chris

    Thank you for letting us know the issue has been resolved.

    If you're creating tables linked to an existing data source, you cannot change the structure, or the wpDataTable will break. So, adding, deleting, renaming or rearranging columns is something you shouldn't do.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables