The response provided by piwigo function ws_categories_getList in include/ws_function/pwg.categories.php is badly interpreted by Digikam's "Upload to Piwigo" webservice: "Invalid response received from remote Piwigo" (parseResponseListAlbums in core/dplugins/generic/webservices/piwigo/piwigotalker.cpp).
The issue is that there is php warning that breaks the response:
digikam.webservices: parseResponseListAlbums: " \nDeprecated: strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in /home/www/photos/include/ws_functions/pwg.categories.php on line 324 \n \nDeprecated: strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in /home/www/photos/include/ws_functions/pwg.categories.php on line 324 \n ....
The issue is that there is php warning that breaks the response:
digikam.webservices: parseResponseListAlbums: "<br />\n<b>Deprecated</b>: strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in <b>/home/www/photos/include/ws_functions/pwg.categories.php</b> on line <b>324</b><br />\n<br />\n<b>Deprecated</b>: strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in <b>/home/www/photos/include/ws_functions/pwg.categories.php</b> on line <b>324</b><br />\n<br />....
<!-- github-comment-id:1317487410 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The response provided by piwigo function ws_categories_getList in include/ws_function/pwg.categories.php is badly interpreted by Digikam's "Upload to Piwigo" webservice: "Invalid response received from remote Piwigo" (parseResponseListAlbums in core/dplugins/generic/webservices/piwigo/piwigotalker.cpp).
Piwigo responses looks like:
<?xml version="1.0" encoding="utf-8" ?>Digikam webservices logs are:
digikam.webservices: parseResponseLogin: "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<rsp stat="ok">\n1\n"
digikam.webservices: parseResponseGetVersion: "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<rsp stat="ok">\n13.1.0\n"
digikam.webservices: Version: 1301
digikam.webservices: foundResponse : true
digikam.webservices: parseResponseListAlbums
cf https://bugs.kde.org/show_bug.cgi?id=461790
The issue is that there is php warning that breaks the response:
digikam.webservices: parseResponseListAlbums: "
\nDeprecated: strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in /home/www/photos/include/ws_functions/pwg.categories.php on line 324
\n
\nDeprecated: strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in /home/www/photos/include/ws_functions/pwg.categories.php on line 324
\n
....