Issue:
After installing electronicsignatures: 3.0.0 on community version 28.0.3 selecting settings:
results in a web page error 404.
Nginix error log reports:
2024/03/06 23:24:58 [error] 175221#175221: *52953 FastCGI sent in stderr: “PHP message: PHP Fatal error: Declaration of GuzzleHttp\Promise\RejectedPromise::wait(bool $unwrap = true) must be compatible with GuzzleHttp\Promise\PromiseInterface::wait($unwrap = true) in /var/www/nextcloud/apps/electronicsignatures/vendor/guzzlehttp/promises/src/RejectedPromise.php on line 65” while reading response header from upstream, client: , server: **** request: “GET /settings/user HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php/php8.1-fpm.sock:”, host: ""
Resolution:
THe following had been installed:
$ sudo -u www-data ./occ app:list | grep sig
- electronicsignatures: 3.0.0
This app was removed allowing the settings to be accessible.
$ sudo -u www-data ./occ app:remove electronicsignatures
electronicsignatures disabled
electronicsignatures 0 removed
Discussion:
Reading on other threads with similar issues it appears that the problem may be related to bundling redundant guzzle libraries in the app by mistake leading to a conflict when same library is being used in nextcloud.