Automattic/sensei

Test Sensei and Sensei Pro on PHP 8.2

Closed this issue · 4 comments

  • Add define( 'WP_DEBUG_DISPLAY', true ); in wp-config.php.
  • Test all Sensei or Sensei Pro specific functionality on PHP 8.2.
  • Fix any PHP notices / errors / warnings displayed in WP admin or on the frontend.

A user reported issues on PHP 8.2 in 8502623-zd-a8c.

Support References

This comment is automatically generated. Please do not edit it.

  • 8502623-zen

Testing Sensei Pro PR with current Sensei trunk noticed these two warnings:

PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /Users/merkushin/Developer/sensei/includes/course-theme/class-sensei-course-theme-styl
es.php on line 206

Deprecated: base64_decode(): Passing null to parameter #1 ($string) of type string is deprecated in /Users/merkushin/Developer/sensei/includes/class-sensei-quiz.php on line 1338

m1r0 commented

Thanks @merkushin. The warnings are fixed in #7650.