When trying to download contents from the H5P hub I'm getting this error in the php_error.log:
[07-Feb-2023 16:42:36 Europe/London] Default exception handler: Exception - chmod(): Argument #1 ($filename) must be of type string, resource given Debug:
Error code: generalexceptionmessage
* line 247 of \mod\hvp\classes\framework.php: TypeError thrown
* line 247 of \mod\hvp\classes\framework.php: call to chmod()
* line 415 of \mod\hvp\editor\h5peditor-ajax.class.php: call to mod_hvp\framework->fetchExternalData()
* line 307 of \mod\hvp\editor\h5peditor-ajax.class.php: call to H5PEditorAjax->callHubEndpoint()
* line 133 of \mod\hvp\editor\h5peditor-ajax.class.php: call to H5PEditorAjax->libraryInstall()
* line 289 of \mod\hvp\ajax.php: call to H5PEditorAjax->action()
Any idea anyone?
Screenshot #1