-
Notifications
You must be signed in to change notification settings - Fork 141
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
Deprecated: dirname(): Passing null to parameter #1 ($path) of type string is deprecated #188
Comments
If you're able to track down the problem and submit a patch that would be appreciated. I won't have access to a PHP8 environment for a while. |
@JamesHeinrich You need to make sure you're not passing It's going to be a wider issue anywhere you perform string or number functions on |
Good afternoon! On version php 8.1 there is also an error related to the deprecation of the function: |
You can use the file I attached to the topic below. |
Issues probably resolved as discussed in #187 |
Using phpthumb v1.7.17 with PHP 8.1 I'm seeing the following deprecation notices, which look to be all related to a NULL being passed around somewhere:
Code I'm running:
Deprecations:
PHP ImageMagick info:
The text was updated successfully, but these errors were encountered: