Flexible Sentry compatible bug aggregation client for Silverstripe applications.
BSD 3-Clause "New" or "Revised" License
12
stars
22
forks
source link
Exception HTML Parse Error: Replacing the data is deprecated since version 2.3 and will stop working from version 3.0. Set the second argument to `true` to merge the data instead. #43
Error happens when another error needs to be reported, due to feature deprecation in sentry client
[internal] in trigger_error
/vendor/sentry/sentry/src/State/Scope.php in Sentry\State\Scope::setUser at line 181
$this->user->merge($data);
return $this;
}
@trigger_error('Replacing the data is deprecated since version 2.3 and will stop working from version 3.0. Set the second argument to `true` to merge the data instead.', E_USER_DEPRECATED);
$this->user->replaceData($data);
return $this;
}
Error happens when another error needs to be reported, due to feature deprecation in sentry client
I'm making a PR as we speak
Ref: https://sentry.io/share/issue/0e7e8f9e30894400bd4620f8f397c497/