Support » Plugin: Google Analytics Dashboard Plugin for WordPress by MonsterInsights » Class error update issues with v6.0.0 via ManageWP

  • Resolved Austin Ginder

    (@austinginder)


    When I updated to v6.0.0 via ManageWP my website crashed. I received this error via ManageWP:

    Class 'Yoast_GA_Admin' not found occurred in wp-content/plugins/google-analytics-for-wordpress/googleanalytics.php on line 73. Please make sure that your website is accessible.

    In my error log I’m seeing these errors:

    Stack trace:
    2017/02/19 14:20:56 [error] 53664#0: *101307 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Class 'Yoast_GA_Frontend' not found in /wp-content/plugins/google-analytics-for-wordpress/googleanalytics.php:78
    thrown in /wp-content/plugins/google-analytics-for-wordpress/googleanalytics.php on line 73" while reading response header from upstream, server: anchor.host, request: "GET /wp-admin/ HTTP/1.0", upstream: "fastcgi://unix:/var/run/php7.1-fpm-anchorhost.sock:", host: "anchor.host"

    My website is hosted with Kinsta running PHP 7.1. I went ahead and manually downloaded the reinstalled the plugin which seems to have fixed the issue. Not sure what that was all about but figured I’d post incase someone else runs into the issue.

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

    (@chriscct7)

    Hi there,
    We don’t have or reference the class Yoast_GA_Admin anymore. Sounds like for whatever reason, the main file stuck on your site (maybe server write permission issue).

    -Chris

    Got it. Thanks for the followup. Think I’ll mentioned this to the ManageWP guys incase it’s something they are seeing.

    Plugin Author chriscct7

    (@chriscct7)

    We think we’ve determined what’s happening (object caching of the autoloader) and our latest version attempts to solve it via an upgrade routine.

    -Chris

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Class error update issues with v6.0.0 via ManageWP’ is closed to new replies.