{"id":2721,"date":"2016-11-17T09:10:53","date_gmt":"2016-11-17T16:10:53","guid":{"rendered":"http:\/\/mattfife.com\/?p=2721"},"modified":"2016-12-17T09:16:38","modified_gmt":"2016-12-17T16:16:38","slug":"google-analytics-plugin-upgrade-error-brings-down-entire-wordpress-website","status":"publish","type":"post","link":"https:\/\/mattfife.com\/?p=2721","title":{"rendered":"Google Analytics plugin upgrade error brings down entire wordpress website"},"content":{"rendered":"<p>Perhaps you just upgraded your Google Analytics plugin on WordPress, and then anytime anyone tries to load your site, they&#8217;re greeted with one of the following errors:<br \/>\n<code>Fatal error: Can\u2019t use function return value in write context in \/home2\/gkmoney\/public_html\/wp-content\/plugins\/googleanalytics\/class\/Ga_Admin.php on line 106<\/code><br \/>\nor<br \/>\n<code><b>Parse error<\/b>: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in <b>wp-content\/plugins\/googleanalytics\/class\/Ga_Admin.php<\/b> on line <b>480<\/b><\/code><br \/>\nWhat&#8217;s great is that you can no longer even get to your WordPress Admin page to disable the plugin. Meanwhile, your site is completely down.<\/p>\n<h3><\/h3>\n<h3>Solution:<\/h3>\n<p>Use FTP or your hosting control panel and delete the directory:<\/p>\n<pre>&lt;wordpress root&gt;\/wp-content\/plugins\/googleanalytics\/<\/pre>\n<p>After that, WordPress should load normally for the published and admin pages<\/p>\n<p>&nbsp;<\/p>\n<h3>Followup:<\/h3>\n<p>Report your errors\/look for other solutions here:<br \/>\n<a href=\"https:\/\/wordpress.org\/support\/plugin\/googleanalytics\" rel=\"nofollow\">https:\/\/wordpress.org\/support\/plugin\/googleanalytics<\/a><\/p>\n<p>Here&#8217;s another thread with help on the problem:<a href=\"https:\/\/wordpress.org\/support\/topic\/causing-fatal-error-after-updating\/\" rel=\"nofollow\"><br \/>\nhttps:\/\/wordpress.org\/support\/topic\/causing-fatal-error-after-updating\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Perhaps you just upgraded your Google Analytics plugin on WordPress, and then anytime anyone tries to load your site, they&#8217;re greeted with one of the following errors: Fatal error: Can\u2019t use function return value in write context in \/home2\/gkmoney\/public_html\/wp-content\/plugins\/googleanalytics\/class\/Ga_Admin.php on line 106 or Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in wp-content\/plugins\/googleanalytics\/class\/Ga_Admin.php on line 480 What&#8217;s great is that you can no longer even get to your WordPress Admin page to disable the plugin. Meanwhile, your site is completely down. Solution:&#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https:\/\/mattfife.com\/?p=2721\"> Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"Google Analytics plugin upgrade error brings down entire wordpress website","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-2721","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4WECr-HT","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/posts\/2721","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mattfife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2721"}],"version-history":[{"count":4,"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/posts\/2721\/revisions"}],"predecessor-version":[{"id":2723,"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/posts\/2721\/revisions\/2723"}],"wp:attachment":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2721"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mattfife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2721"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mattfife.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2721"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}