Closed GrowthWizard closed 9 months ago
Hi @GrowthWizard . You mentioned that you were able to authorise alright; Are you saying that when you start an import, it doesn't work? Sadly, that warning is coming from a Google library and they haven't released a fix yet. We've been watching a PR created to fix the issue in their library so that we could upgrade once it's been fixed. You could try manually making that change on your server if you want.
As you mentioned in your description, that warning shouldn't prevent the plugin from operating as expected. Do you see any other errors in your logs? Have you tried starting an import using the console command and the -vvv
option?
@GrowthWizard Fixed it with https://github.com/matomo-org/plugin-GoogleAnalyticsImporter/pull/488 and there should be a new version released early next week which will solve this issue.
What happened?
I wanted to use the Google-Analytics-Import Plugin. Matomo 4.16.0. - After authorizing my workspace account, the following problem occurs:
WARNING: /plugins/GoogleAnalyticsImporter/vendor/google/apiclient/src/Http/REST.php(58): Deprecated - Calling get_class() without arguments is deprecated - Matomo 4.16.0 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already) (Module: GoogleAnalyticsImporter, Action: processAuthCode, In CLI mode: false)
What should happen?
The problem doesn't prevent you from authorizing with a Google account. Since the import of Google Analytics 4 Date with an internal Google API Key doesn't work, I suspect this error might be the cause.
How can this be reproduced?
I followed the official tutorial, available on: https://matomo.org/faq/general/set-up-google-analytics-import/.
Matomo major version
Matomo 4
Matomo minor or patch Version
4.16.0
PHP version
8.3
Server operating system
Plesk Obsidian
What browsers are you seeing the problem on?
Chrome
Computer operating system
Mac OS
Relevant log output
No response
Validations