Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warnings in ReportsProvider #15067

Closed
dktcoding opened this issue Oct 28, 2019 · 6 comments
Closed

Warnings in ReportsProvider #15067

dktcoding opened this issue Oct 28, 2019 · 6 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@dktcoding
Copy link

I upgraded PHP to 7.2.24 and a warning started appearing in: core/Plugin/ReportsProvider.php

if (!array_key_exists($api, $listApiToReport)) {

Screen Shot 2019-10-28 at 13 05 39

Regards

@sgiehl
Copy link
Member

sgiehl commented Oct 28, 2019

Did you open an specific page or does it appear on every page? Is everything else working as expected?

@tsteur
Copy link
Member

tsteur commented Oct 28, 2019

And can you go to Administration => Plugins and list the third party plugins? You may also want to clear the cache manually once eg using ./console cache:clear in your Matomo directory (if possible)

@dktcoding
Copy link
Author

@sgiehl everything is working as expected, just a LOT of warnings.

@tsteur the list of third party plugins is:

  • AOM (v1.4.4)
  • BotTracker (v1.06)
  • DeviceFeatureWebGL (v1.0.2)
  • ExposureResearchTools (v0.1.9)
  • FlagCounter (v3.0.3)
  • LanguageToogle (v0.2.0)
  • ReferrersManager (v3.0.4)

Running ./console cache:clear showed a different error:

WARNING [2019-10-28 17:51:16] 14230  /var/www/piwik/vendor/doctrine/cache/lib/Doctrine/Common/Cache/RedisCache.php(135): Deprecated - Function Redis::delete() is deprecated - Matomo 3.11.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)

Caches cleared

Error: error or warning logs detected, exit 1

Going back to php-fpm 7.2+60ubuntu1 seems to solve all the warnings but given CVE-2019-11043 this is a no go.

@tsteur
Copy link
Member

tsteur commented Oct 28, 2019

Could you maybe disable one plugin after another to see when the error cannot be reproduced anymore? Or maybe first disable all of the mentioned plugins to see if it still happens. Just for a short time. That would help.

@dktcoding
Copy link
Author

Ok, I deactivated all of them, and then started activating the plugins one by one and the problem seems to be with:

  • AOM (v1.4.4)
  • DeviceFeatureWebGL (v1.0.2)
  • LanguageToogle (v0.2.0)

The only remaining deprecation warning is:

/var/www/piwik/vendor/doctrine/cache/lib/Doctrine/Common/Cache/RedisCache.php(135): Deprecated - Function Redis::delete() is deprecated - Matomo 3.11.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)

While using the Redis Cache for queuedtracking:process

@tsteur
Copy link
Member

tsteur commented Oct 28, 2019

Created matomo-org/component-cache#23 @dktcoding and added this to current sprint. A workaround for now be to change in the file /var/www/piwik/vendor/doctrine/cache/lib/Doctrine/Common/Cache/RedisCache.php line 135 the delete to del.

I will otherwise close the issue as it seems to be related with a 3rd party plugin unfortunately. I recommend you create an issue for the other plugin. I would suspect LanguageToggle might not be causing it but one of the other two.

@tsteur tsteur closed this as completed Oct 28, 2019
@tsteur tsteur added the answered For when a question was asked and we referred to forum or answered it. label Oct 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

3 participants