Tera Charts
JSON parse error (6 posts)

  1. azcunaga
    Posted 1 year ago #


    I can see the interfase, but whenever I try to upload a file I get the following:

    Error: SyntaxError: JSON.parse: unexpected character (2.xls)

    BTW, the file "2.xls" is actually "zmbl2.xls", I don't know why it changes the filename.

    I've tried this with several files, both .xls and .xlsx, and still get the same error, and the name changing in the error.

    Also, why can I only see 3 chart types in the drop-down menu (zoomable treemap, reingold tree, sunburst), when I see the .xls samples for many other chart types??

    Also, any chance to display individual charts through shortcode?

    Many thanks!!


  2. Claudio
    Plugin Author

    Posted 1 year ago #

    this type of error is usually due to the use of a wrong xls input file. Are you sure you are using the proper template? Have you tried with the example file? Please remember that only one file can be used with each visualisation.
    The additional xls files are there only as a reference for the other visualisations available in the pro version.
    A demo is available here:

  3. azcunaga
    Posted 1 year ago #

    Yes I am downloading the template file, saving it, and reuploading it to use it as data.

    Still get the same errors and namechanges.

    Many thanks

  4. rogerwyopipeline
    Posted 1 year ago #

    Below is the error I get when uploading any of the provided excel templates included with the plugin. Any help would be appreciated.

    <b>Warning</b>: Missing argument 4 for excel2JSON::buildHierarchy(), called in C:\xampp\htdocs\wp-content\plugins\tera-charts\charts\excelMapClass.php on line 356 and defined in <b>C:\xampp\htdocs\wp-content\plugins\tera-charts\charts\excelMapClass.php</b> on line <b>315</b>

  5. Claudio
    Plugin Author

    Posted 1 year ago #

    Hi, can you please try this demo and let me know if it works for you?


    I will check if there's any difference in the two version.

  6. andrescifuentesr
    Posted 1 year ago #

    Hello Claudio,

    where can I found a proper template for trying the pluggin? I look like the link is broken.
    thanks so much!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Tera Charts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic