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

PHP Deprecated: strpos(): Non-string needles will be interpreted as strings in the future. … #7

Open
esszett opened this issue Nov 12, 2020 · 1 comment

Comments

@esszett
Copy link

esszett commented Nov 12, 2020

This Warning leads to a typo I guess:

if(strpos($resizeOptions['size'], 'x' === false)) throw new WireException("size option must contain \"x\"", 1);

… this should be:
if(strpos($resizeOptions['size'], 'x') === false) throw new

@jjozsi
Copy link

jjozsi commented Sep 22, 2021

I can confirm this fixes the problem. Well spotted.

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

2 participants