Skip to content

Conversation

@AltamashShaikh
Copy link
Contributor

Description

Fixes fatal error, #198

Issue No

#198

Steps to Replicate the Issue

Checklist

  • [✔/✖] Tested locally or on demo2/demo3?
  • [NA] New test case added/updated?
  • [NA] Are all newly added texts included via translation?
  • [NA] Are text sanitized properly? (Eg use of v-text v/s v-html for vue)
  • [✔] Version bumped?

sgiehl
sgiehl previously approved these changes Nov 11, 2025
// and the utm source is still present, the check here might otherwise force a new visit,
// if the `utm_source` parameter is configured.
if ((int)$visitor->getVisitorColumn('referer_type') === 8 && count($campaignDimensions) === 1) {
if ((int)$visitor->getVisitorColumn('referer_type') === 8 && !empty($campaignDimensions) && count($campaignDimensions) === 1) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$campaignDimensions can return boolean|array

@AltamashShaikh AltamashShaikh merged commit f68dd92 into 5.x-dev Nov 11, 2025
7 checks passed
@AltamashShaikh AltamashShaikh deleted the 198-fix-regression branch November 11, 2025 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants