• Resolved carryoncoding

    (@carryoncoding)


    Hi, after months of successfully uploading an xlsx file and displaying the graph on the front-end, this month it isn’t playing. I have reduced the data down to a few lines in a csv file and it still crashes the page.
    I enabled debug and logged the following:

    [01-Dec-2023 04:02:47 UTC] PHP Fatal error:  Uncaught Error: Call to a member function getDecimalPlaces() on bool in /var/www/clients/client1/web171/web/wp-content/plugins/wpdatatables/source/class.wpdatachart.php:1646
    Stack trace:
    #0 /var/www/clients/client1/web171/web/wp-content/plugins/wpdatatables/controllers/wdt_admin.php(740): WPDataChart->prepareData()
    #1 /var/www/clients/client1/web171/web/wp-includes/class-wp-hook.php(324): wdtChartWizard()
    #2 /var/www/clients/client1/web171/web/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #3 /var/www/clients/client1/web171/web/wp-includes/plugin.php(517): WP_Hook->do_action()
    #4 /var/www/clients/client1/web171/web/wp-admin/admin.php(259): do_action()
    #5 {main}
      thrown in /var/www/clients/client1/web171/web/wp-content/plugins/wpdatatables/source/class.wpdatachart.php on line 1646
    

    Can you tell what is causing the problem? Another graph on the same site works fine!
    Many thanks,

    Phil.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author wpDataTables

    (@wpdatatables)

    Hello,
    Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.

    Can you please try, just as a test, what happens if you try to make a new Chart, with the same configuration as you configured this one – from same Table as the data source, and see if that new Chart does not crash?

    If that is the case, is it possible that you changed something on your source Excel file which is linked to the source Table, such as :

    • Changing any column’s name,
    • Changing the column’s order,
    • Deleting any column, or
    • Adding a new column.

    If you changed anything in the source Table’s data structure, that will cause the connected Chart to crash and you would need to create a new Chart.

    Let us know if that is the case.

    Thank you.

    Thread Starter carryoncoding

    (@carryoncoding)

    Many thanks for your response. I notice this discussion is now marked as “Resolved”. Please could you remove that?

    I have made a new chart with the same configuration. I have compared behaviour using November data against behaviour using October data. The same thing happens.

    I have created a “Private” TEST page that displays the graph. When the chart is set to show October data, it works. When it displays November data, the page crashes.

    I can’t see any change in the structure of the data.

    Any further thoughts?

    Thanks,

    Phil.

    Plugin Author wpDataTables

    (@wpdatatables)

    Hi Phil,
    Apologies for setting the Post as ‘resolved’.
    We will keep following up until we isolate the root of this issue with you.
    Thank you for this update and further details of what you tried so far.

    At this point, we would need to take a closer look at the setup, how you set up the Chart and the source Table and the Page.
    For that, can you please open a ticket on our?main Support platform here, you can just refer to this correspondence with a link to the Post,?and one of our Agents will respond and proceed to troubleshoot further as quickly as possible?
    If you don’t have a licence, please choose the “Pre Purchase Questions” Category, so it will not make you input any licence key.

    Thank you.

    Kind regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Data causes graph to crash page.’ is closed to new replies.