Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1298
    Profile photo of Andre
    Andre
    Participant

    The last thing I did was the update of the Google Analytics plugin by Yoast. Now I can’t access the admin area anymore while the front end still seems to be working.

    “Fatal error: Cannot redeclare class URI_Template_Parser in /…/wp-content/plugins/google-analytics-for-wordpress/admin/api-libs/google/external/URITemplateParser.php on line 30”

    Any suggestions what to do?

    #11531
    Profile photo of Leo
    Leo
    Participant
    "Fatal error: Cannot redeclare class URI_Template_Parser in /.../wp-content/plugins/google-analytics-for-wordpress/admin/api-libs/google/external/URITemplateParser.php on line 30"

    Thats simply saying that a function is being declared twice (not allowed) so an error is being thrown. The best way to begin dealing with that is to delete this folder:

    SITE/wp-content/plugins/google-analytics-for-wordpress/

    There is probably a second half to that error? Like “Previously declared in…“?

    Two plugins (or one) are clashing, or one plugin has an internal clash (hard to say) but the first thing to do is delete both offending plugins and reinstall them at latest version. If clash continues, then one will have to go.

    #11532
    Profile photo of Andre
    Andre
    Participant

    Thanks a lot. Will delete that folder to see what happens next.

    #11533
    Profile photo of Andre
    Andre
    Participant

    Worked. No more issues. Thanks again.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.