Error to upload a plugin after upgrade to ojs 3.5

After upgrade to ojs 3.5 the system is unable to load a plugin, see the picture below and the error log β†’ Uncaught TypeError: flock(): Argument #1 ($stream) must be of type resource, false given in /lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Filesystem/LockableFile.php:153.

Hi @alerbra,

What plugin are you uploading? Are you sure it’s been properly adapted to work with OJS 3.5.0?

Regards,
Alec Smecher
Public Knowledge Project Team

The error occurs when select a button to upload a new plugin. https://yourdomain.com/journal/en/management/settings/website#plugins
error log β†’ PHP Fatal error: Uncaught TypeError: flock(): Argument #1 ($stream) must be of type resource, false given in …/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Filesystem/LockableFile.php:153

Hi @alerbra,

See my questions above :up_arrow:

Regards,
Alec Smecher
Public Knowledge Project Team

Before i atempt to upload the plugin the error occurs, when press the button, any plugin.

Hi @alerbra,

If you can give me one specific example of a plugin you’re trying to install, and where you get the file, I can help.

Regards,
Alec Smecher
Public Knowledge Project Team

This issue had been solved upgrade ubuntu and php to a new version. Thanks.

1 Like