Title: Error get_object_vars() expects parameter 1
Last modified: August 22, 2016

---

# Error get_object_vars() expects parameter 1

 *  Resolved [jeffreyd000](https://wordpress.org/support/users/jeffreyd000/)
 * (@jeffreyd000)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/error-get_object_vars-expects-parameter-1/)
 * I am getting this error in the area where I am to select my images from the stream
 * ‘Warning: get_object_vars() expects parameter 1 to be object, string given in/
   home/user/public_html/wp-content/plugins/flickr-field-for-advanced-custom-fields/
   acf-flickr-v5.php on line 295’
 * Everything was okay and I switched between Sets and Photostream. It only happens
   we set to Photostream.
 * Jeffrey
    BTW: Really awesome, I’d love an option for a check box to also show
   the a link to the set at the top or bottom of the embedded area in the post.
 * [https://wordpress.org/plugins/flickr-field-for-advanced-custom-fields/](https://wordpress.org/plugins/flickr-field-for-advanced-custom-fields/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [paulhuisman](https://wordpress.org/support/users/phuisman/)
 * (@phuisman)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/error-get_object_vars-expects-parameter-1/#post-5475604)
 * Hey dude.
 * You can make a link to your flickr set page as follows:
 *     ```
       <?php
       $flickr_set = get_field('photoset');
       $info = array_keys($flickr_set['items']);
       $set_id = reset($info);
   
       echo '<a href="https://www.flickr.com/photos/<your username here>/sets/' . $set_id . '/">See more of this flickr set!</a>';
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Error get_object_vars() expects parameter 1’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/flickr-field-for-advanced-custom-
   fields_bababa.svg)
 * [Flickr field for Advanced Custom Fields](https://wordpress.org/plugins/flickr-field-for-advanced-custom-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/flickr-field-for-advanced-custom-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/flickr-field-for-advanced-custom-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/flickr-field-for-advanced-custom-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/flickr-field-for-advanced-custom-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/flickr-field-for-advanced-custom-fields/reviews/)

## Tags

 * [ACF](https://wordpress.org/support/topic-tag/acf/)
 * [custom field](https://wordpress.org/support/topic-tag/custom-field/)

 * 1 reply
 * 2 participants
 * Last reply from: [paulhuisman](https://wordpress.org/support/users/phuisman/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/error-get_object_vars-expects-parameter-1/#post-5475604)
 * Status: resolved