-
Notifications
You must be signed in to change notification settings - Fork 84
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
Pathinfo extension undefined #37
Comments
Do you happen to have an example of a path leading to an undefined return from pathinfo? |
The two articles were this one and this other one. There's at least two different pictures concerned. |
So the issue is not that I'll apply a fix for that assumption, and post 4.0.7 in a few minutes. |
I thought so too, but I seem to recall to have var_dumped |
pathinfo shouldn't return an undefined at all. Try 4.0.7 I just posted to packagist, if that fails, I'll have to check further. |
Works fine. 👍 |
I exported two articles containing a lot of different pictures and some of them seem to not return any information through pathinfo, leading to failure.
Therefore,
pathinfo($internalSrc);
returns undefined here. It should be tested before next conditional.The text was updated successfully, but these errors were encountered: