• Resolved ClaireMonkey

    (@clairemonkey)


    Since updating to the newest version of the plugin I now get fatal errors on my site. I’ve had to deactivate for now (and am looking to roll back to the previous version as this is a live site). But I thought I should report this to you. It wasn’t happening on every single page, but a large proportion. Front end it was just the generic wordpress “There has been a critical error on this website”. I dug into the logs and this is the exact error:

    [06-Feb-2026 08:57:59 UTC] PHP Fatal error: Uncaught Error: Call to a member function getId() on false in /home/frogcabh/public_html/wp-content/plugins/plausible-analytics/src/Client.php:187 Stack trace: #0 /home/frogcabh/public_html/wp-content/plugins/plausible-analytics/src/Helpers.php(52): Plausible\Analytics\WP\Client->get_tracker_id() #1 /home/frogcabh/public_html/wp-content/plugins/plausible-analytics/src/Helpers.php(27): Plausible\Analytics\WP\Helpers::get_filename() #2 /home/frogcabh/public_html/wp-content/plugins/plausible-analytics/src/Assets.php(94): Plausible\Analytics\WP\Helpers::get_js_url() #3 /home/frogcabh/public_html/wp-content/plugins/plausible-analytics/src/Assets.php(63): Plausible\Analytics\WP\Assets->get_js_url() #4 /home/frogcabh/public_html/wp-includes/class-wp-hook.php(341): Plausible\Analytics\WP\Assets->maybe_enqueue_main_script() #5 /home/frogcabh/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters() #6 /home/frogcabh/public_html/wp-includes/plugin.php(522): WP_Hook->do_action() #7 /home/frogcabh/public_html/wp-includes/script-loader.php(2311): do_action() #8 /home/frogcabh/public_html/wp-includes/class-wp-hook.php(341): wp_enqueue_scripts() #9 /home/frogcabh/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters() #10 /home/frogcabh/public_html/wp-includes/plugin.php(522): WP_Hook->do_action() #11 /home/frogcabh/public_html/wp-includes/general-template.php(3197): do_action() #12 /home/frogcabh/public_html/wp-content/themes/astra/header.php(31): wp_head() #13 /home/frogcabh/public_html/wp-includes/template.php(814): require_once('/home/frogcabh/...') #14 /home/frogcabh/public_html/wp-includes/template.php(749): load_template() #15 /home/frogcabh/public_html/wp-includes/general-template.php(48): locate_template() #16 /home/frogcabh/public_html/wp-content/plugins/woocommerce/templates/single-product.php(22): get_header() #17 /home/frogcabh/public_html/wp-includes/template-loader.php(125): include('/home/frogcabh/...') #18 /home/frogcabh/public_html/wp-blog-header.php(19): require_once('/home/frogcabh/...') #19 /home/frogcabh/public_html/index.php(17): require('/home/frogcabh/...') #20 {main} thrown in /home/frogcabh/public_html/wp-content/plugins/plausible-analytics/src/Client.php on line 187

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Daan van den Bergh

    (@daanvandenbergh)

    Hi @clairemonkey,

    Could you share some more information about your setup? Are you a Plausible CE user?

    Also, screenshots of your settings could be helpful.

    Looking forward to your reply!

    Thread Starter ClaireMonkey

    (@clairemonkey)

    Sorry for the delay (looks like I’m not getting notifications from responses!)
    But it seems like the 2.5.3 update fixed the errors and everything is working correctly now. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.