Skip to content

Error while trying to merge from Github Repo #184

@lime517

Description

@lime517

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?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions