-
Notifications
You must be signed in to change notification settings - Fork 33
Closed
Description
This is the error that appears. There are hundreds of repeat entries of this error in the debug log within a few seconds.
PHP Warning: flock() expects parameter 1 to be resource, bool given in /sites/redacted.dev/files/wp-content/plugins/gitium/functions.php on line 224
Here's what's on line 224:
while ( ! flock( $gitium_lock_handle, LOCK_EX | LOCK_NB ) ) {
And $gitium_lock_handle is defined over on line 218:
$gitium_lock_handle = fopen( $gitium_lock_path, 'w+' );
fopen() only returns boolean when it fails to open the file. This makes me think this might be a permissions issue?
Any ideas?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels