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

Issue with php 8.1 #427

Open
NoralK opened this issue Jul 16, 2022 · 1 comment
Open

Issue with php 8.1 #427

NoralK opened this issue Jul 16, 2022 · 1 comment

Comments

@NoralK
Copy link

NoralK commented Jul 16, 2022

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
Copy link
Author

NoralK commented Jul 16, 2022

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

Closing

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

No branches or pull requests

1 participant