fatal error after inserting google analytics code

This topic contains 3 replies, has 2 voices, and was last updated by  Stiofan O’Connor 8 years ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #324289

    edge
    Buyer
    Post count: 191

    Hi, i just tried to connect my google analytics account with wpdirectory plugin. I inserted the code and after clicking save i got a fatal error message and from then the wordpress cannot be accessed anymore.

    im getting this error:

    Fatal error: Uncaught Google_Service_Exception: Error calling GET https://www.googleapis.com/analytics/v3/management/accounts/~all/webproperties: (403) User does not have any Google Analytics account. in /homepages/15/d617500068/htdocs/clickandbuilds/ScheidungsInfoSTAGING/wp-content/plugins/geodirectory/geodirectory-admin/google-api-php-client/src/Google/Http/REST.php:110 Stack trace: #0 /homepages/15/d617500068/htdocs/clickandbuilds/ScheidungsInfoSTAGING/wp-content/plugins/geodirectory/geodirectory-admin/google-api-php-client/src/Google/Http/REST.php(62): Google_Http_REST::decodeHttpResponse(Object(Google_Http_Request), Object(Google_Client)) #1 /homepages/15/d617500068/htdocs/clickandbuilds/ScheidungsInfoSTAGING/wp-content/plugins/geodirectory/geodirectory-admin/google-api-php-client/src/Google/Task/Runner.php(174): Google_Http_REST::doExecute(Object(Google_Client), Object(Google_Http_Request)) #2 /homepages/15/d617500068/htdocs/clickandbuilds/ScheidungsInfoSTAGING/wp-content/plugins/geodirectory/geodirectory-admin/goog in /homepages/15/d617500068/htdocs/clickandbuilds/ScheidungsInfoSTAGING/wp-content/plugins/geodirectory/geodirectory-admin/google-api-php-client/src/Google/Http/REST.php on line 110

    Please help me fix this!

    #324306

    edge
    Buyer
    Post count: 191
    This reply has been marked as private.
    #324321

    edge
    Buyer
    Post count: 191

    Ignore it. I fixed it by resetting plugin. cheers

    #324350

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I just added a check for this in our files, it seems to happen if the Google account connected does not have any analytics accounts. Just let me know if u need any help with this.

    Thanks,

    Stiofan

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount