Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Patrick Robrecht

    (@patrickrobrecht)

    Hi Matthias,

    I can’t reproduce this behavior on my sites.

    Could you add some additional details (WordPress version, Statify version, other plugins installed)?

    Kind regards
    Patrick

    Thread Starter Matthias Pabst

    (@matthiaspabst)

    Hi Patrick,

    WP 5.0.3., Statify 1.6.3. I investigated a little bit and found 2 problems.

    The main problem seems to be a conflict with the SearchWP plugin (https://searchwp.com/). When SearchWP is active, no charts are generated and this error message is shown in the FF console:

    TypeError: can't assign to property "top" on 5: not an object chartist.js:64:25
    c.extend chartist.js:64:25
    c.extend chartist.js:64:25
    c.optionsProvider chartist.js:534:24
    c.Line chartist.js:1133:24
    eefstatifyLineChart http://wp-test.local/wp-content/plugins/extended-evaluation-for-statify/js/functions.js:123:17
    <anonym> http://wp-test.local/wp-admin/admin.php:229:4

    If I deactivate SearchWP, the charts work fine. But the console still shows two warnings, because the js source maps are not available:

    Source-Map-Fehler: request failed with status 404
    Ressourcen-Adresse: http://wp-test.local/wp-content/plugins/extended-evaluation-for-statify/lib/chartist.min.js?ver=2.5.0
    Source-Map-Adresse: chartist.min.js.map[Weitere Informationen]
    Source-Map-Fehler: request failed with status 404
    Ressourcen-Adresse: http://wp-test.local/wp-content/plugins/extended-evaluation-for-statify/lib/chartist-plugin-tooltip.min.js?ver=2.5.0
    Source-Map-Adresse: chartist-plugin-tooltip.min.js.map[Weitere Informationen]

    Maybe you can contact Jonathan from SearchWP? I can get in touch with him as well, if you like.

    Best regards
    Matthias

    Thread Starter Matthias Pabst

    (@matthiaspabst)

    Still a problem with:
    WordPress 5.1
    Statify 1.6.3
    Statify – Extended Evaluation 2.5.0
    SearchWP 3.0.3

    Did you already had a chance to talk to Jonathan from SearchWP?

    Plugin Author Patrick Robrecht

    (@patrickrobrecht)

    Hi Matthias,

    sorry for the late reply. The problem with the missing source maps is fixed in version 2.6.0 released today.

    SearchWP is closed source, so I cannot debug the conflict with that plugin. I assume that it also loads the chartist library which leads to the conflict. You may check in the source code of the pages provided by Statify – Extended Evaluation whether the chartist library is loaded twice.

    Statify – Extended Evaluation only loads its assets on the Statify pages. If SearchWP did the same, the two plugins should be compatible.

    Best regards
    Patrick

    Thread Starter Matthias Pabst

    (@matthiaspabst)

    Hi Patrick,

    same problem with v2.6. Seems like SearchWP loads it’s assets on all admin pages. I will contact the author of the theme and give you an update.

    Best regards
    Matthias

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘No Charts’ is closed to new replies.