Hello/Hi/Greetings,
Trying to import flickr albums to Piwigo, but when I browse to the album (api connection all seems to be working correctly) I get errors like the following:
Notice: Undefined index: photoset in /home/~/plugins/flickr2piwigo/admin/import.php on line 189 Deprecated: Function create_function() is deprecated in /home/~/plugins/flickr2piwigo/admin/import.php on line 199 Warning: Invalid argument supplied for foreach() in /home/~/plugins/flickr2piwigo/admin/import.php on line 203 Warning: array_slice() expects parameter 1 to be array, null given in /home/~/plugins/flickr2piwigo/admin/import.php on line 221 Deprecated: Function create_function() is deprecated in /home/~/plugins/flickr2piwigo/admin/import.php on line 222 Warning: array_map(): Argument #2 should be an array in /home/~/plugins/flickr2piwigo/admin/import.php on line 222 Warning: Invalid argument supplied for foreach() in /home/~/plugins/flickr2piwigo/admin/import.php on line 224 Warning: count(): Parameter must be an array or an object that implements Countable in /home/~/plugins/flickr2piwigo/admin/import.php on line 233 Warning: count(): Parameter must be an array or an object that implements Countable in /home/~/plugins/flickr2piwigo/admin/import.php on line 234 Warning: count(): Parameter must be an array or an object that implements Countable in /home/~/plugins/flickr2piwigo/admin/import.php on line 252 Warning: Cannot modify header information - headers already sent by (output started at /home/~/plugins/flickr2piwigo/admin/import.php:189) in /home/~/include/page_header.php on line 86
Grateful for any suggestions or advice.
Piwigo version: 1.5.3
PHP version: 7.2.24
MySQL version: 10.2.31-MariaDB-log
Offline
I don't see any errors. Just warnings.
Anyway, I'd start with updating Piwigo.
Offline
OK, yes they're warnings, my bad.
Sorry, I copied the plugin version number. Piwigo is version 2.10.1 and is showing as "running latest version" when I check for updates.
Piwigo 2.10.1 Check for upgrade Operating system: Linux PHP: 7.2.24 (Show info) [2020-03-15 22:13:48] MySQL: 5.5.5-10.2.31-MariaDB-log [2020-03-15 18:13:48] Graphics Library: External ImageMagick 6.7.8-9
Offline
Did your photos get imported?
Offline
So if you go to the plugin page:
[extension by mistic100] Flickr2Piwigo
There is a link to the developer's page. (github) The plugin author seems to be active there.
I would peruse the 'issues' section in case other users are having the same problem, and maybe there is a fix. I did notice some similar to yours which are being worked on. If not, you can add your report with as much detail and info as possible and together you can work it out.
Offline