Piwigo / Piwigo-Java

26 stars 12 forks source link

I can't connect to my piwigo instance #20

Closed Clemorange22 closed 1 year ago

Clemorange22 commented 3 years ago

When I try to connect to my piwigo , an invalid credentials error message is displayed, even if it's the good credentials Note : I'm using LDAP and it's works fine on webui image

celogeek commented 2 years ago

I've got the same issue (using normal credential). I use php8, piwigo 12

Here the problem:

Nov 25 20:32:04 piwigo php-fpm[397]: pool www[397]: PHP Fatal error:  Uncaught TypeError: get_class(): Argument #1 ($object) must be of type object, bool given in /app/include/ws_protocols/rest_encoder.php:145
Nov 25 20:32:04 piwigo php-fpm[397]: pool www[397]: Stack trace:
Nov 25 20:32:04 piwigo php-fpm[397]: pool www[397]: #0 /app/include/ws_core.inc.php(289): PwgRestEncoder->encodeResponse()
Nov 25 20:32:04 piwigo php-fpm[397]: pool www[397]: #1 /app/include/ws_protocols/rest_handler.php(42): PwgServer->sendResponse()
Nov 25 20:32:04 piwigo php-fpm[397]: pool www[397]: #2 /app/include/ws_core.inc.php(281): PwgRestRequestHandler->handleRequest()
Nov 25 20:32:04 piwigo php-fpm[397]: pool www[397]: #3 /app/ws.php(22): PwgServer->run()
Nov 25 20:32:04 piwigo php-fpm[397]: pool www[397]: #4 {main}
Nov 25 20:32:04 piwigo php-fpm[397]: pool www[397]:   thrown in /app/include/ws_protocols/rest_encoder.php on line 145