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

[4.x] Deprecated: trim(): Passing null when call Path::clean - PHP 8.1 #38510

Closed
sonvnn opened this issue Aug 18, 2022 · 1 comment
Closed

[4.x] Deprecated: trim(): Passing null when call Path::clean - PHP 8.1 #38510

sonvnn opened this issue Aug 18, 2022 · 1 comment

Comments

@sonvnn
Copy link
Contributor

sonvnn commented Aug 18, 2022

Steps to reproduce the issue

When call function Path::clean(''); with empty $path on PHP 8.1
System will raise warning
Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /{root}/libraries/src/Filesystem/Path.php on line 198

System information (as much as possible)

  • Joomla 4.x
  • PHP 8.1
@richard67
Copy link
Member

Closing as having a pull request. See #38511 .

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

3 participants