File Manager Error - file_put_contents(): Exclusive locks not supported

Permalink
Screenshot attached

I get the error whenever I try to add something to the file manager. Can someone point me in the right direction?

First website with 5.7

1 Attachment

 
wilfordbrimley replied on at Permalink Reply
Hi.

I changed this line in local.php:

if (($size = file_put_contents($location, $contents, LOCK_EX)) === false) {

to this

if (($size = file_put_contents($location, $contents)) === false) {

And it is now working now but - is this a recommended solution?
Thanks
wilfordbrimley replied on at Permalink Reply
I spoke too soon, I am getting this error all over my site when I try to edit. Sigh.
focus43 replied on at Permalink Reply
focus43
I'm seeing the same thing right now. What environment are you running your site in (NFS filesystem)? Working to try and figure this out right now; will post back with updates.
Jobic10 replied on at Permalink Reply
Hello, I got the same problem with my website but now it is fixed. You do not need to edit any local.php or anything. Just check your Disk Space Usage. You will probably get some hints like" Warning: This account has reached its disk usage quota. " so delete unused files in your control panel and it will be done. Feel free to email at jobowonubi@gmail.com if this error persist. Thanks