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

Error message in nginx log - "array_key_exists() in Base.php" #7

Closed
makarovstas opened this issue Mar 16, 2017 · 2 comments
Closed

Comments

@makarovstas
Copy link

makarovstas commented Mar 16, 2017

Hi Piwik Team!
I'm tested plug-in and found small bug in nginx error log:
2017/03/17 01:00:47 [error] 7122#7122: *18004 FastCGI sent in stderr: "PHP message: PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /plugins/MarketingCampaignsReporting/Columns/Base.php on line 101
PHP message: PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /plugins/MarketingCampaignsReporting/Columns/Base.php on line 101

This error only occurs when I visit website without any "utm_ " or "_pk" parameters.
If I visit site with "?utm_source=test", this warning does not appear

@sgiehl
Copy link
Member

sgiehl commented Mar 16, 2017

Thanks or the report. Will fix that soon

@sgiehl sgiehl closed this as completed in b970438 Mar 16, 2017
@sgiehl
Copy link
Member

sgiehl commented Mar 16, 2017

is fixed in new release 3.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants