GuLinux / grav-plugin-flickr

Grav cms plugin for flickr photosets, collections, single photos, and more
GNU General Public License v3.0
5 stars 2 forks source link

When trying to add shortcode to a page DEFAULT_PARAMS on FlickrCommons throws runtime error #2

Closed jpkeisala closed 7 years ago

jpkeisala commented 7 years ago

Whoops\Exception\ErrorException thrown with message "Undefined class constant 'DEFAULT_PARAMS'"

Stacktrace:

0 Whoops\Exception\ErrorException in /Users/jp/Code/temp/grav-admin/user/plugins/flickr/shortcodes/FlickrPhotoShortcode.php:20


To reproduce the error try to add single photos, photosets (albums) and collections as described on the readme.md

GuLinux commented 7 years ago

Hi, I think you're still using the old (1.0.5) version. If you look the 1.0.6 file (here) you'll notice there is no "DEFAULT_PARAM" at line 20

jpkeisala commented 7 years ago

Yes, you were right. I updated the whole plugin.