-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error Notices up the Wazoo #57
Comments
I get these errors after clicking on a Flickr album: Notice: Undefined index: photoset in /home/jmcme/piwigo/plugins/flickr2piwigo/admin/import.php on line 189 Notice: Trying to access array offset on value of type null in /home/jmcme/piwigo/plugins/flickr2piwigo/admin/import.php on line 189 Warning: Invalid argument supplied for foreach() in /home/jmcme/piwigo/plugins/flickr2piwigo/admin/import.php on line 203 Warning: array_slice() expects parameter 1 to be array, null given in /home/jmcme/piwigo/plugins/flickr2piwigo/admin/import.php on line 221 Warning: array_map(): Expected parameter 2 to be an array, null given in /home/jmcme/piwigo/plugins/flickr2piwigo/admin/import.php on line 222 Warning: Invalid argument supplied for foreach() in /home/jmcme/piwigo/plugins/flickr2piwigo/admin/import.php on line 224 Warning: count(): Parameter must be an array or an object that implements Countable in /home/jmcme/piwigo/plugins/flickr2piwigo/admin/import.php on line 233 Warning: count(): Parameter must be an array or an object that implements Countable in /home/jmcme/piwigo/plugins/flickr2piwigo/admin/import.php on line 234 Warning: count(): Parameter must be an array or an object that implements Countable in /home/jmcme/piwigo/plugins/flickr2piwigo/admin/import.php on line 252 Could it be because I couldn't find the Callback URL mentioned in https://piwigo.com/blog/2013/05/21/import-from-flickr-to-piwigo2/ ? |
This is apparently as the module doesn't seem to support PHP > 7. Obviously, you guys use PHP 7.2 or above. There are less errors and warnings in PHP 7.1 (supported until Dez 2019). However, it still doesn't work. |
I got it to work by making 3 changes in piwigo/plugins/flickr2piwigo/admin/import.php: line 189: line 199: line 222: |
Thanks for the above fixes. Now things are working except for this intermittent error. Any ideas?
|
I guess I spoke too soon because now I am receiving another error involving photo data and arrays:
|
Using 1.5.5 (though it reports 1.5.3
Finds my albums via List Albums, but on the results:
Selection
No photo in the current set.
It is this screen that has these error notices:
Notice: Undefined index: photoset in /home/flashale/public_html/piwigo/plugins/flickr2piwigo/admin/import.php on line 189
Deprecated: Function create_function() is deprecated in /home/flashale/public_html/piwigo/plugins/flickr2piwigo/admin/import.php on line 199
Warning: Invalid argument supplied for foreach() in /home/flashale/public_html/piwigo/plugins/flickr2piwigo/admin/import.php on line 203
Warning: array_slice() expects parameter 1 to be array, null given in /home/flashale/public_html/piwigo/plugins/flickr2piwigo/admin/import.php on line 221
Deprecated: Function create_function() is deprecated in /home/flashale/public_html/piwigo/plugins/flickr2piwigo/admin/import.php on line 222
Warning: array_map(): Argument #2 should be an array in /home/flashale/public_html/piwigo/plugins/flickr2piwigo/admin/import.php on line 222
Warning: Invalid argument supplied for foreach() in /home/flashale/public_html/piwigo/plugins/flickr2piwigo/admin/import.php on line 224
Warning: count(): Parameter must be an array or an object that implements Countable in /home/flashale/public_html/piwigo/plugins/flickr2piwigo/admin/import.php on line 233
Warning: count(): Parameter must be an array or an object that implements Countable in /home/flashale/public_html/piwigo/plugins/flickr2piwigo/admin/import.php on line 234
Warning: count(): Parameter must be an array or an object that implements Countable in /home/flashale/public_html/piwigo/plugins/flickr2piwigo/admin/import.php on line 252
Warning: Cannot modify header information - headers already sent by (output started at /home/flashale/public_html/piwigo/plugins/flickr2piwigo/admin/import.php:189) in /home/flashale/public_html/piwigo/include/page_header.php on line 86
The text was updated successfully, but these errors were encountered: