-
Notifications
You must be signed in to change notification settings - Fork 98
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
preg_match(): No ending delimiter '/' found #6
Comments
Try to exchange if(preg_match('/'.preg_quote($this->modelName, '/').DIRECTORY_SEPARATOR, $dirToRemove)) to if(preg_match('/'.preg_quote($this->modelName, '/').DIRECTORY_SEPARATOR.'/', $dirToRemove)) And I'll fix it soon in repo. Thx a lot. |
thanks |
Is it works? |
I just removed the line but I'll try this on monday |
this is not working, same error |
Any progress? Because I am facing the same problem right now: PHP Warning 'yii\base\ErrorException' with message 'preg_match(): No ending delimiter '/' found' in ......\vendor\costa-rico\yii2-images\models\Image.php:39 PS: Only if the server is running on windows |
yes windows is the issue, |
|
Thank you for dealing with this. And also I think there is a smilar issue at Image::getPath() which causes errors on windows |
When I add the first image, I get this error
The text was updated successfully, but these errors were encountered: