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

Function utf8_decode() is deprecated on PHP 8.2 #355

Open
m1r0 opened this issue Aug 7, 2024 · 0 comments
Open

Function utf8_decode() is deprecated on PHP 8.2 #355

m1r0 opened this issue Aug 7, 2024 · 0 comments

Comments

@m1r0
Copy link
Member

m1r0 commented Aug 7, 2024

Steps to Reproduce

  1. Add define( 'WP_DEBUG_DISPLAY', true ); and define( 'WP_DEBUG_LOG', true ); in wp-config.php.
  2. Assign a certificate template to a course.
  3. Finish the course and view the certificate.
  4. Open your wp-content/debug.log.

What I Expected

No deprecation notices.

What Happened Instead

[07-Aug-2024 13:23:52 UTC] PHP Deprecated:  Function utf8_decode() is deprecated in /Users/m1r0/Projects/sensei-certificates/classes/class-woothemes-sensei-pdf-certificate.php on line 385
[07-Aug-2024 13:23:52 UTC] PHP Deprecated:  Function utf8_decode() is deprecated in /Users/m1r0/Projects/sensei-certificates/classes/class-woothemes-sensei-pdf-certificate.php on line 256

PHP / WordPress / Sensei Certificates / Sensei LMS version

PHP: 8.2

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

No branches or pull requests

1 participant