Support » Plugin: Slimstat Analytics » Crashes Avada Theme in Chrome

  • Resolved Inndesign

    (@inndesign)


    Updating from Slimstats 4.8.4.1 to 4.8.5 crashes the Theme Fusion Avada themes (all versions) in Google Chrome while Firefox is unaffected. The scripts fail, some sliders don’t load, the theme narrows down to the size of a handheld on desktop Chrome browsers. This is an immense bug, and the only remedy was to deactivate Slimstats 4.8.5 to regain access of the Avada themed websites through Google Chrome. A rather immense bug that needs urgent attention.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Jason Crouse

    (@coolmann)

    Our main website wp-slimstat.com runs on the latest versions of Avada and Slimstat, and as you can see it works as expected. It must be something else. Can you please check your web server error log to see if there’s anything related to Slimstat there?

    Thanks,
    Jason

    Plugin Author Jason Crouse

    (@coolmann)

    Also, do you have a sandbox environment where you could replicate the issue for us, so that I can run some tests? Let’s work together to find and resolve this matter.

    Thanks,
    Jason

    I resolved the matter on all websites related. I reverted back to version 4.8.4.1 and the error ceased. Example error message.

    [08-Aug-2019 23:14:12 UTC] PHP Fatal error:  Uncaught Error: Class 'wp_slimstat_admin' not found in /home/hiswork/public_html/wp-content/plugins/wp-slimstat/admin/view/wp-slimstat-reports.php:856
    Stack trace:
    #0 /home/hiswork/public_html/wp-content/plugins/wp-slimstat/wp-slimstat.php(1313): wp_slimstat_reports::init()
    #1 /home/hiswork/public_html/wp-includes/shortcodes.php(325): wp_slimstat::slimstat_shortcode(Array, 'resolution is_n...', 'slimstat')
    #2 [internal function]: do_shortcode_tag(Array)
    #3 /home/hiswork/public_html/wp-includes/shortcodes.php(199): preg_replace_callback('/\\[(\\[?)(slimst...', 'do_shortcode_ta...', '\xC2\xA9 Copyright 20...')
    #4 /home/hiswork/public_html/wp-content/themes/Avada/templates/footer-copyright-notice.php(24): do_shortcode('\xC2\xA9 Copyright 20...')
    #5 /home/hiswork/public_html/wp-includes/template.php(724): require('/home/hiswork/p...')
    #6 /home/hiswork/public_html/wp-includes/template.php(671): load_template('/home/hiswork/p...', false)
    #7 /home/hiswork/public_html/wp-includes/general-template.php(168): locate_tem in /home/hiswork/public_html/wp-content/plugins/wp-slimstat/admin/view/wp-slimstat-reports.php on line 856

    Another website, where the Avada 5.9 thru 6.0.1 theme falls apart with slimstats 4.8.5.

    Error reported:

    [09-Aug-2019 00:02:06 UTC] PHP Fatal error: Class 'wp_slimstat_admin' not found in /home/rvlifts/public_html/wp-content/plugins/wp-slimstat/admin/view/wp-slimstat-reports.php on line 856

    Plugin Author Jason Crouse

    (@coolmann)

    Do you have shortcodes in a sidebar on those websites? Which reports are you including as shortcodes?

    On the footer of each page behind the copyright, [slimstat f=’count-all’ w=’ip’][/slimstat]</span>.

    Plugin Author Jason Crouse

    (@coolmann)

    Ok that explains it. We’re looking into it. Stay tuned for a fix early next week.

    Plugin Author Jason Crouse

    (@coolmann)

    Hi @inndesign

    a bugfix has just been released. Please update your local environment and let me know if this solves the issue for you. Make sure to clear any caches you might have setup.

    Best,
    Jason

    Yes, it appears version 4.8.5.1 fixes the problem. Thanks much!

    Plugin Author Jason Crouse

    (@coolmann)

    Ok great! Marking as resolved. Thank you.

    Jason

    Slimstats 4.8.6 and 4.8.6.1 crashes the Theme Fusion Avada 6.0.3 theme again. Same issue with shortcode [slimstat f=’count-all’ w=’ip’][/slimstat]. With Slimstats disable, the problem ceases. Need fix quickly!!!!

    #0 /home/struck/public_html/wp-content/plugins/wp-slimstat/wp-slimstat.php(1429): wp_slimstat::slimtrack(Array)
    #1 /home/struck/public_html/wp-includes/class-wp-hook.php(286): wp_slimstat::wp_slimstat_enqueue_tracking_script('')
    #2 /home/struck/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #3 /home/struck/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #4 /home/struck/public_html/wp-includes/script-loader.php(2537): do_action('wp_enqueue_scri...')
    #5 /home/struck/public_html/wp-includes/class-wp-hook.php(286): wp_enqueue_scripts('')
    #6 /home/struck/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #7 /home/struck/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #8 /home/struck/public_html/wp-includes/general-template.php(2745): do_action('wp_head')
    #9 /home/struck/public in /home/struck/public_html/wp-content/plugins/wp-slimstat/wp-slimstat.php on line 400
    [29-Aug-2019 10:42:15 UTC] PHP Fatal error:  Uncaught Error: Unsupported operand types in /home/struck/public_html/wp-content/plugins/wp-slimstat/wp-slimstat.php:400
    Plugin Author Jason Crouse

    (@coolmann)

    Thanks, let’s follow this issue on the other ticket you opened.

    Jason

Viewing 12 replies - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.