theme-check icon indicating copy to clipboard operation
theme-check copied to clipboard

Issue with php 8.1

Open NoralK opened this issue 3 years ago • 1 comments

php 8.1.8 WordPress v6.0.1 - default site Theme Check Version 20211203

Getting this error when clicking on the Theme Check link and checking any of WordPress's themes:

null to parameter #1 ($string) of type string is deprecated in C:\wamp.net\sites\wordpress-6.0.1\wp-includes\formatting.php on line 2772

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in C:\wamp.net\sites\wordpress-6.0.1\wp-includes\formatting.php on line 2772

When testing against php 7.4 and 8.0 there are no errors.

Cheers

NoralK avatar Jul 16 '22 16:07 NoralK

It apprear to be a WP includes error - https://core.trac.wordpress.org/ticket/54997

Closing

NoralK avatar Jul 16 '22 17:07 NoralK