Problem/Motivation

On php 8.2 I faced with error

Call to deprecated function utf8_decode()

Steps to reproduce

Switch to PHP 8.2 and enable dblog

Proposed resolution

I would propose fixing issue replacing deprecation function

Issue fork print-3437884

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

Andrei Haurukovich created an issue. See original summary.

Andrei Haurukovich’s picture

Status: Active » Needs review
abhishek_gupta1’s picture

Status: Needs review » Reviewed & tested by the community

I have verified the issue on my local. issue has fixed moving RTBC++

jcnventura’s picture

Status: Reviewed & tested by the community » Needs work

If someone is able to read the code, and just switch the 1st if with the 2nd elseif, then no need to do two function_exists() checks.

  • jcnventura committed 39015064 on 7.x-2.x
    Issue #3437884 by Andrei Haurukovich, abhishek_gupta1, jcnventura: PHP 8...

jcnventura’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

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