Guy M Streeter
Guy M Streeter
I added this after the check for `false`: ``` if (is_resource($process) === false) { $this->logger->error(__METHOD__ . '() is_resource is false', ['app' => 'core']); } ``` And it results in ```...
`is_object($process)` is `true`. `var_export($process)` shows `GdImage::__set_state(array(\n))`
This article https://php.watch/articles/resource-object talks about the PHP 8 transition from resources to objects. It suggests changing `is_resource($x)` to `$x !== false` as a backward-compatible check for successful object creation. Making...
I apparently had some local problem that was causing the image display issues. They don't happen in a fresh install. With the fixes to `OC_Image.php` I mentioned previously. the background...
I have created issue https://github.com/nextcloud/server/issues/29466 against Nextcloud server to get `OC_image.php` fixed.
@matiasdelellis Your suggested change worked. I can see the identified people in the Persons tab now.
This PR waiting approval will fix OC_Image.php: https://github.com/nextcloud/server/pull/29479
The necessary fixes have been pulled in the master on github today. https://github.com/nextcloud/server/pull/29479
I was mistaken. Only part of the patch-set was pulled in the master branch. It does not include the fixes we need. :(
I pulled NC 22.2.2 and built facerecognition from git master, and it seems to be working just fine!