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

Error in the file Lock.php:88 #12

Closed
giacomomasseron opened this issue May 9, 2019 · 3 comments
Closed

Error in the file Lock.php:88 #12

giacomomasseron opened this issue May 9, 2019 · 3 comments

Comments

@giacomomasseron
Copy link

Hi,
I do not know why sometimes I get this error:

exception 'ErrorException' with message 'unlink(/tmp/sessionlocks_myproj/fefff91f8907d6f7b65d79301fdeef5622ef31bb): No such file or directory' in /home/myproj/public_html/vendor/rairlie/laravel-locking-session/src/Rairlie/LockingSession/Lock.php:88

I do not know where I can start to look for to solve the problem.

@giacomomasseron
Copy link
Author

Nobody does have this error?

@rairlie
Copy link
Owner

rairlie commented Aug 10, 2019

Hi @GiacomoK. Could be a race condition where another process deletes the file just before this line. However that would raise a warning, but you're getting an ErrorException. Is your project configured to report warnings as errors?

You could try PR #13

@rairlie
Copy link
Owner

rairlie commented Dec 3, 2019

Closed by #13

@rairlie rairlie closed this as completed Dec 3, 2019
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