Public bug reported:
Trying to upload photo to Piwigo via Shotwell plugin I got and error
like "URL not valid" (I got it in Italian).
Looking at Piwigo side I found this php error:
[22-Jul-2022 11:06:39 Europe/Berlin] PHP Deprecated: substr(): Passing null to
parameter #1 ($string) of type string is deprecated in
/var/www/piwigo/include/functions_user.inc.php on line 804
[22-Jul-2022 11:06:39 Europe/Berlin] PHP Fatal error: Uncaught TypeError:
get_class(): Argument #1 ($object) must be of type object, bool given in
/var/www/piwigo/include/ws_protocols/rest_encoder.php:145
Stack trace:
#0 /var/www/piwigo/include/ws_core.inc.php(289):
PwgRestEncoder->encodeResponse()
#1 /var/www/piwigo/include/ws_protocols/rest_handler.php(42):
PwgServer->sendResponse()
#2 /var/www/piwigo/include/ws_core.inc.php(281):
PwgRestRequestHandler->handleRequest()
#3 /var/www/piwigo/ws.php(22): PwgServer->run()
#4 {main}
thrown in /var/www/piwigo/include/ws_protocols/rest_encoder.php on line 145
[22-Jul-2022 11:06:40 Europe/Berlin] PHP Deprecated: substr(): Passing null to
parameter #1 ($string) of type string is deprecated in
/var/www/piwigo/include/functions_user.inc.php on line 804
[22-Jul-2022 11:06:40 Europe/Berlin] PHP Fatal error: Uncaught TypeError:
get_class(): Argument #1 ($object) must be of type object, bool given in
/var/www/piwigo/include/ws_protocols/rest_encoder.php:145
Stack trace:
#0 /var/www/piwigo/include/ws_core.inc.php(289):
PwgRestEncoder->encodeResponse()
#1 /var/www/piwigo/include/ws_protocols/rest_handler.php(42):
PwgServer->sendResponse()
#2 /var/www/piwigo/include/ws_core.inc.php(281):
PwgRestRequestHandler->handleRequest()
#3 /var/www/piwigo/ws.php(22): PwgServer->run()
#4 {main}
thrown in /var/www/piwigo/include/ws_protocols/rest_encoder.php on line 145
I think both Shotwell and Piwigo are updated to latest version:
Shotwell: 0.30.14 – “Celle”
Piwigo 12.3.0
Operating System: Linux
PHP: 8.1.2
MySQL: 5.5.5-10.6.7-MariaDB-2ubuntu1.1
Grafic Lib: GD 2.3.0
** Affects: shotwell (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to shotwell in Ubuntu.
https://bugs.launchpad.net/bugs/1982564
Title:
Shotwell Piwigo plugin does not upload
Status in shotwell package in Ubuntu:
New
Bug description:
Trying to upload photo to Piwigo via Shotwell plugin I got and error
like "URL not valid" (I got it in Italian).
Looking at Piwigo side I found this php error:
[22-Jul-2022 11:06:39 Europe/Berlin] PHP Deprecated: substr(): Passing null
to parameter #1 ($string) of type string is deprecated in
/var/www/piwigo/include/functions_user.inc.php on line 804
[22-Jul-2022 11:06:39 Europe/Berlin] PHP Fatal error: Uncaught TypeError:
get_class(): Argument #1 ($object) must be of type object, bool given in
/var/www/piwigo/include/ws_protocols/rest_encoder.php:145
Stack trace:
#0 /var/www/piwigo/include/ws_core.inc.php(289):
PwgRestEncoder->encodeResponse()
#1 /var/www/piwigo/include/ws_protocols/rest_handler.php(42):
PwgServer->sendResponse()
#2 /var/www/piwigo/include/ws_core.inc.php(281):
PwgRestRequestHandler->handleRequest()
#3 /var/www/piwigo/ws.php(22): PwgServer->run()
#4 {main}
thrown in /var/www/piwigo/include/ws_protocols/rest_encoder.php on line 145
[22-Jul-2022 11:06:40 Europe/Berlin] PHP Deprecated: substr(): Passing null
to parameter #1 ($string) of type string is deprecated in
/var/www/piwigo/include/functions_user.inc.php on line 804
[22-Jul-2022 11:06:40 Europe/Berlin] PHP Fatal error: Uncaught TypeError:
get_class(): Argument #1 ($object) must be of type object, bool given in
/var/www/piwigo/include/ws_protocols/rest_encoder.php:145
Stack trace:
#0 /var/www/piwigo/include/ws_core.inc.php(289):
PwgRestEncoder->encodeResponse()
#1 /var/www/piwigo/include/ws_protocols/rest_handler.php(42):
PwgServer->sendResponse()
#2 /var/www/piwigo/include/ws_core.inc.php(281):
PwgRestRequestHandler->handleRequest()
#3 /var/www/piwigo/ws.php(22): PwgServer->run()
#4 {main}
thrown in /var/www/piwigo/include/ws_protocols/rest_encoder.php on line 145
I think both Shotwell and Piwigo are updated to latest version:
Shotwell: 0.30.14 – “Celle”
Piwigo 12.3.0
Operating System: Linux
PHP: 8.1.2
MySQL: 5.5.5-10.6.7-MariaDB-2ubuntu1.1
Grafic Lib: GD 2.3.0
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shotwell/+bug/1982564/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp