Support » Plugin: Slimstat Analytics » Js chart by amcharts

  • Resolved needmystyle

    (@needmystyle)


    Currently receiving a amcharts.js and serial.js error. nothing is shoing on the amcharts graph on 4.6.9

Viewing 15 replies - 1 through 15 (of 19 total)
  • Seeing this also on my blog after update.
    No graph shown,

    Exact error from console:

    serial.js:11 Uncaught TypeError: Cannot read property 'length' of undefined
        at Object.xToIndex (serial.js:11)
        at b.handleCursorMove (serial.js:7)
        at Object.a.inherits.b.fire (amcharts.js:1)
        at Object.dispatchMovedEvent (amcharts.js:27)
        at Object.handleMouseDown (amcharts.js:26)
        at b.handleMouseDown (serial.js:1)
        at HTMLDivElement.<anonymous> (amcharts.js:18)
    Plugin Author Jason Crouse

    (@coolmann)

    This did not surface during our QA pre-release (even with our beta testers). We are investigating the issue. Thank you for reporting it right away. Could you deactivate your other plugins to see if it’s a conflict with another plugin?

    Thank you,
    Jason

    Same error even with Slimstat as only active plugin.

    Exact result for me also. Even when plugins are disabled.

    Uncaught TypeError: Cannot read property ‘length’ of undefined
    at Object.xToIndex (serial.js:11)
    at b.handleCursorMove (serial.js:7)
    at Object.a.inherits.b.fire (amcharts.js:1)
    at Object.dispatchMovedEvent (amcharts.js:27)
    at Object.handleMouseDown (amcharts.js:26)
    at b.handleMouseDown (serial.js:1)
    at HTMLDivElement.<anonymous> (amcharts.js:18)
    xToIndex @ serial.js:11
    handleCursorMove @ serial.js:7
    a.inherits.b.fire @ amcharts.js:1
    dispatchMovedEvent @ amcharts.js:27
    handleMouseDown @ amcharts.js:26
    handleMouseDown @ serial.js:1
    (anonymous) @ amcharts.js:18

    I had the same problem, even deactivate other plug-ins.

    same problem — no chart displayed the console log says:

    TypeError: b is undefined in serial.js

    Same problems here. Graphs no longer working on dashboard meta boxes or slimstats pages.

    No entires in Apache or Nginx error logs for slimstats.

    My debug log is blowing up with entries for slimstats.

    Here are the 6 entries in the debug log that are repeating with every login:

    ————————————

    [02-Aug-2017 09:03:34 America/Chicago] PHP Notice: Undefined index: interval_direction in …/wp-content/plugins/wp-slimstat/admin/view/index.php on line 101

    ————————————

    [02-Aug-2017 09:03:34 America/Chicago] PHP Notice: Undefined index: interval_direction in …/wp-content/plugins/wp-slimstat/admin/view/index.php on line 102

    ————————————

    [02-Aug-2017 14:07:39 UTC] PHP Notice: Undefined index: interval in …/wp-content/plugins/wp-slimstat/admin/view/wp-slimstat-db.php on line 725

    ————————————

    [02-Aug-2017 14:07:39 UTC] PHP Notice: Undefined index: start in …/wp-content/plugins/wp-slimstat/admin/view/wp-slimstat-db.php on line 743

    ————————————

    [02-Aug-2017 14:07:38 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘AND 1499090857 OR dt BETWEEN 1499090858 AND 1501682858)
    GROUP BY MONTH(CONVE’ at line 3 for query
    SELECT dt, COUNT( ip ) first_metric, COUNT( DISTINCT ip ) second_metric
    FROM tsxx_slim_stats
    WHERE 1=1 AND (dt BETWEEN AND 1499090857 OR dt BETWEEN 1499090858 AND 1501682858)
    GROUP BY MONTH(CONVERT_TZ(FROM_UNIXTIME(dt), @@session.time_zone, ‘+00:00’)), DAY(CONVERT_TZ(FROM_UNIXTIME(dt), @@session.time_zone, ‘+00:00’)) made by do_action(‘slimstat_page_slimview2’), WP_Hook->do_action, WP_Hook->apply_filters, wp_slimstat_admin::wp_slimstat_include_view, include(‘/plugins/wp-slimstat/admin/view/index.php’), wp_slimstat_reports::callback_wrapper, wp_slimstat_reports::show_chart, wp_slimstat_db::get_data_for_chart, wp_slimstat_db::get_results

    ————————————

    [02-Aug-2017 09:02:41 America/Chicago] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘AND 1499090560 OR dt BETWEEN 1499090561 AND 1501682561)
    GROUP BY MONTH(CONVE’ at line 3 for query
    SELECT dt, COUNT( ip ) first_metric, COUNT( DISTINCT ip ) second_metric
    FROM tsxx_slim_stats
    WHERE 1=1 AND (dt BETWEEN AND 1499090560 OR dt BETWEEN 1499090561 AND 1501682561)
    GROUP BY MONTH(CONVERT_TZ(FROM_UNIXTIME(dt), @@session.time_zone, ‘+00:00’)), DAY(CONVERT_TZ(FROM_UNIXTIME(dt), @@session.time_zone, ‘+00:00’)) made by wp_dashboard, do_meta_boxes, wp_slimstat_reports::callback_wrapper, wp_slimstat_reports::show_chart, wp_slimstat_db::get_data_for_chart, wp_slimstat_db::get_results

    ————————————

    Thank you for your fast replies to all of us!

    LL

    • This reply was modified 2 years, 1 month ago by  Leopard-Lady.
    Plugin Author Jason Crouse

    (@coolmann)

    Please contact us at http://support.wp-slimstat.com if you can lend a hand to test the bugfixes. As soon as you can confirm that the issues have been addressed, we’ll release an update on the repository.

    Thank you,
    Jason

    Hey Jason,
    I’m happy to test for you.

    Ticket submitted on your site with my contact info.

    Thank you!
    LL

    No chart here either, will wait for fix

    Any progress on this? Or do i have too use an older version at the moment.

    Plugin Author Jason Crouse

    (@coolmann)

    Hi all,

    version 4.6.9.1 has just been released. Please upgrade and see if it solves the problem(s) you are experiencing.

    Best,
    Jason

    just upgraded and it fixed the problem for me!

    Hurray!

    Thanks jason!

    Confirmed working, Thanks for the quick fix!

    • This reply was modified 2 years, 1 month ago by  dedioste. Reason: typo
    Plugin Author Jason Crouse

    (@coolmann)

    TERRIFIC! Please consider writing a review for Slimstat as a token of appreciation for the support you received. It would be a nice way to say thank you and to let people know how much you value this plugin:

    https://wordpress.org/support/plugin/wp-slimstat/reviews/#new-post

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Js chart by amcharts’ is closed to new replies.