Short-code error with events display
-
Hi
I use this shortcode in sidebar widgets
[custom-facebook-feed type=events height=520px exclude=eventdetails pastevents=false]the events are not displayed
i have this kind of error
Warning: Invalid argument supplied for foreach() in /web/htdocs/www.xxxx.it/home/xxx/wp-content/plugins/custom-facebook-feed-pro/cff-init.php on line 961
if i change the shortcode and add for example “link” in type the event are displayed but not in cronological order even if “event page” are setting in configuration….
thanks
Robby
-
Hey Robby,
Could you send your ‘System Info’ from the plugin? This is located on the plugin’s Settings page under the ‘Support’ tab. If you’d prefer to send it privately then just submit a ticket via our Support form and include a link to this thread so that I know what it’s in reference to.
Many thanks!
John
## SITE/SERVER INFO: ##
Plugin Version: Custom Facebook Feed WordPress Plugin Personal
Site URL: http://www.wildangels.it/sviluppo
Home URL: http://www.wildangels.it/sviluppo
WordPress Version: 4.2.2
PHP Version: 5.4.41
Web Server Info: Apache/2.2
PHP allow_url_fopen: Yes
PHP cURL: Yes
JSON: Yes
SSL Stream: Yes## ACTIVE PLUGINS: ##
Custom Facebook Feed Pro Personal: 2.5.4
Sidebar Image Banner Ads Widget: 1.0.0
Theme My Login: 6.3.12
Widgetkit: 2.3.1
WordPress SEO: 2.1.1## PLUGIN SETTINGS: ##
Use own Access Token: on
Access Token: 176652972467071|lX8awnuT47znEf4_BLj7jchBC10
Page ID: 761123060613707
Page Type: group
Number of Posts: 20
Post Limit: 25
Show Posts by: me
Cache Time: 1
Cache Unit: hours
Locale: it_IT
Timezone: Europe/Amsterdam## EXTENSIONS: ##
Extensions Plugin:
Date Range From:
Date Range Until:
Featured Post:
Lightbox:## CUSTOMIZE: ##
cff_ajax =>
cff_preserve_settings =>
cff_title_length =>
cff_body_length => 200
cff_show_links_type =>
cff_show_event_type => on
cff_show_video_type =>
cff_show_photos_type =>
cff_show_status_type =>
cff_show_albums_type =>
cff_events_source => eventspage
cff_event_offset => 168
cff_event_image_size => cropped
cff_albums_source => photospage
cff_show_album_title => on
cff_show_album_number => on
cff_album_cols => 1
cff_photos_source => photospage
cff_photos_cols => 1
cff_filter_string =>
cff_exclude_string =>
cff_preset_layout => half
cff_media_position => below
cff_show_text =>
cff_show_desc =>
cff_show_shared_links =>
cff_show_date =>
cff_show_media => on
cff_show_event_title => on
cff_show_event_details => on
cff_show_meta =>
cff_show_link =>
cff_show_like_box =>
cff_post_bg_color => #
cff_post_rounded => 0
cff_title_format => p
cff_title_size => inherit
cff_title_weight => inherit
cff_title_color => #
cff_posttext_link_color => #
cff_body_size => 12
cff_body_weight => inherit
cff_body_color => #
cff_link_title_format => p
cff_full_link_images =>
cff_link_title_size => inherit
cff_link_title_color => #
cff_link_url_color => #
cff_link_bg_color => #
cff_link_border_color => #
cff_disable_link_box =>
cff_event_title_format => p
cff_event_title_size => inherit
cff_event_title_weight => bold
cff_event_title_color => #
cff_event_date_size => inherit
cff_event_date_weight => inherit
cff_event_date_color => #
cff_event_date_position => above
cff_event_date_formatting => 13
cff_event_date_custom =>
cff_event_details_size => inherit
cff_event_details_weight => inherit
cff_event_details_color => #
cff_event_link_color => #
cff_date_position => author
cff_date_size => inherit
cff_date_weight => inherit
cff_date_color => #
cff_date_formatting => 13
cff_date_custom =>
cff_date_before =>
cff_date_after =>
cff_timezone => Europe/Amsterdam
cff_link_size => inherit
cff_link_weight => inherit
cff_link_color => #
cff_view_link_text => View Link
cff_link_to_timeline =>
cff_icon_style => light
cff_meta_text_color => #
cff_meta_link_color => #
cff_meta_bg_color => #
cff_expand_comments =>
cff_comments_num => 1
cff_nocomments_text => No comments yet
cff_hide_comments =>
cff_hide_comment_avatars => on
cff_feed_width =>
cff_feed_height =>
cff_feed_padding =>
cff_like_box_position => bottom
cff_like_box_outside =>
cff_likebox_width =>
cff_likebox_height =>
cff_like_box_faces =>
cff_like_box_border =>
cff_like_box_cover =>
cff_enable_narrow =>
cff_bg_color => #
cff_likebox_bg_color =>
cff_like_box_text_color => blue
cff_video_height =>
cff_show_author =>
cff_class =>
cff_disable_lightbox =>
cff_app_id => 176652972467071
cff_show_credit =>
cff_font_source => cdn
cff_disable_ajax_cache =>
cff_show_header =>
cff_header_outside =>
cff_header_text => Eventi Wild Angels del mese
cff_header_bg_color => #ffffff
cff_header_padding =>
cff_header_text_size => inherit
cff_header_text_weight => inherit
cff_header_text_color => #
cff_header_icon => facebook-square
cff_header_icon_color => #
cff_header_icon_size => 28
cff_author_size => inherit
cff_author_color => #
cff_custom_css =>
cff_custom_js =>
cff_title_link => on
cff_post_tags => on
cff_link_hashtags => on
cff_event_title_link => on
cff_video_action => post
cff_sep_color => #
cff_sep_size =>
cff_see_more_text => See More
cff_see_less_text => See Less
cff_map_text => Map
cff_no_events_text => No upcoming events
cff_facebook_link_text => View on Facebook
cff_facebook_share_text => Share
cff_show_facebook_link => on
cff_show_facebook_share => on
cff_translate_view_previous_comments_text => View previous comments
cff_translate_comment_on_facebook_text => Comment on Facebook
cff_translate_photos_text => photos
cff_translate_likes_this_text => likes this
cff_translate_like_this_text => like this
cff_translate_and_text => and
cff_translate_other_text => other
cff_translate_others_text => others
cff_translate_second => second
cff_translate_seconds => seconds
cff_translate_minute => minute
cff_translate_minutes => minutes
cff_translate_hour => hour
cff_translate_hours => hours
cff_translate_day => day
cff_translate_days => days
cff_translate_week => week
cff_translate_weeks => weeks
cff_translate_month => month
cff_translate_months => months
cff_translate_year => year
cff_translate_years => years
cff_translate_ago => ago
cff_open_links => 1## FACEBOOK API RESPONSE: ##
{“data”:[{“id”:”761123060613707_1009602722432405″,”from”:{“id”:”10206785520946948″,”name”:”Simona Greco”},”to”:{“data”:[{“name”:”WILD ANGELS EVENTI”,”id”:”761123060613707″}]},”story”:”Simona Greco created an event for WILD ANGELS EVENTI.”,”story_tags”:{“0”:[{“id”:”10206785520946948″,”name”:”Simona Greco”,”type”:”user”,”offset”:0,”length”:12}]},”picture”:”https:\/\/scontent.xx.fbcdn.net\/hphotos-xta1\/v\/t1.0-9\/c31.0.130.130\/p130x130\/11406441_10206784053870272_8119263163884356906_n.jpg?oh=0d3fdb15bfcc16913fcdfefa99dd90e3&oe=55F06276″,”link”:”https:\/\/www.facebook.com\/events\/828910493860091\/”,”name”:”PRINCE SUMMER EDITION”,”caption”:”PRINCE SUMMER EDITION”,”description”:”Inizia la stagione estiva al Prince Discodinner! I WildAngels invitano tutti, ballerini e non, a venire a passare insieme una magica serata sotto le stelle!\n\nIl men\u00f9 \u00e8 ricco, lo staff simpatico e la pista da ballo \u00e8 in LEGNO!! Imperdibile!\n\nPer prenotare il tavolo, contattate il vostro insegnante di fiducia, o andate sul sito: http:\/\/www.princediscodinnerbologna.it\/”,”icon”:”https:\/\/www.facebook.com\/images\/icons\/event.gif”,”actions”:[{“name”:”Like”,”link”:”https:\/\/www.facebook.com\/761123060613707\/posts\/1009602722432405″}],”privacy”:{“value”:””,”description”:””,”friends”:””,”allow”:””,”deny”:””},”type”:”event”,”object_id”:”828910493860091″,”created_time”:”2015-06-08T08:45:50+0000″,”updated_time”:”2015-06-08T08:45:50+0000″,”is_hidden”:false,”is_expired”:false,”likes”:{“data”:[{“id”:”831911960232912″,”name”:”Cristina Bigini”},{“id”:”935585286504995″,”name”:”Teresa Bertolani”},{“id”:”10205468218936725″,”name”:”Donatella Dall’osso”}],”paging”:{“cursors”:{“after”:”MTAyMDU0NjgyMTg5MzY3MjU=”,”before”:”ODMxOTExOTYwMjMyOTEy”}}}}],”paging”:{“previous”:”https:\/\/graph.facebook.com\/v2.0\/761123060613707\/feed?limit=1&since=1433753150&access_token=176652972467071|lX8awnuT47znEf4_BLj7jchBC10&__paging_token=enc_AdDyQ859QtxZCFdrElFwdqOZCl0ThLJEi7anbekSu6Y0MFZCTI6JkmdZAZCyleRIq90wHOjFg5nGKL0o0Q88A0nl099h9ifYXPY8nFUPedmiW2YfpZCAZDZD&__previous=1″,”next”:”https:\/\/graph.facebook.com\/v2.0\/761123060613707\/feed?limit=1&access_token=176652972467071|lX8awnuT47znEf4_BLj7jchBC10&until=1433753150&__paging_token=enc_AdDyQ859QtxZCFdrElFwdqOZCl0ThLJEi7anbekSu6Y0MFZCTI6JkmdZAZCyleRIq90wHOjFg5nGKL0o0Q88A0nl099h9ifYXPY8nFUPedmiW2YfpZCAZDZD”}}Thanks a lot! As this is for the Pro version of the plugin rather than the free version could you contact me via our Support form? The moderators of the ww.wp.xz.cn forum don’t allow us to provide support for paid plugins on here. It’s supposed to be used for free plugins only. Apologies for any inconvenience!
I believe I know what the problem is and have a solution for you but want to continue our dialog via email if that’s OK so as not to push my luck with the forum mods.
Just include a link to this thread in your ticket and I’ll get back to you right away.
Many thanks,
John
oh…sorry for that!
thanks a lot
i contact you via Support form!
Robby
Thanks Robby, I responded to you there.
John
The topic ‘Short-code error with events display’ is closed to new replies.