Problem/Motivation

Deprecated function: Constant FILTER_SANITIZE_STRING is deprecated in Drupal\usage_data\Plugin\UsageTypePluginBase::validateEvent()

php version 8.1.6

Proposed resolution

replace const FILTER_SANITIZE_STRING with FILTER_UNSAFE_RAW

Issue fork usage_data-3291036

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Carlopogus created an issue. See original summary.

carlopogus’s picture

Status: Active » Needs review
StatusFileSize
new1.24 KB

Here's a patch

b_sharpe made their first commit to this issue’s fork.

b_sharpe’s picture

Status: Needs review » Reviewed & tested by the community

b_sharpe’s picture

Status: Reviewed & tested by the community » Fixed

Thanks!

  • b_sharpe committed ddb4282 on 2.0.x
    Issue #3291036 by b_sharpe, Carlopogus: Deprecated function: Constant...
drumm’s picture

(Updating to fix Drupal.org issue mis-indexing, please disregard.)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.