Title: Recommendations-received attribute
Last modified: August 20, 2016

---

# Recommendations-received attribute

 *  Resolved [jordaniversen](https://wordpress.org/support/users/jordaniversen/)
 * (@jordaniversen)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/recommendations-received-attribute/)
 * Hi There,
 * I wanted to check in regarding the recommendations received attribute. I installed
   the plugin and created credentials for Linkedin and went ahead and left the default
   field settings for the plugin. Everything appeared great except for the recommendations
   part. I received the following error:
 * `Warning: Invalid argument supplied for foreach() in /home/projectv/public_html/
   website/wp-content/plugins/wp-linkedin/templates/profile.php on line 83`
 * Additionally the shortcode [li_recommendations] did not appear to produce anything.
   The client I am using this plugin for only has 1 recommendation currently, so
   it may be that they need more than 1 recommendation to make these features work,
   but I thought I would try to see if you have run into this issue yet.
 * Cheers,
 * Jordan
 * PS, accidentally posted this on the other thread, so disregard that.
 * [http://wordpress.org/extend/plugins/wp-linkedin/](http://wordpress.org/extend/plugins/wp-linkedin/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Claude Vedovini](https://wordpress.org/support/users/cvedovini/)
 * (@cvedovini)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/recommendations-received-attribute/#post-3195971)
 * Hi,
 * I suspect the linkedin API as a different output when there’s only one recommendation,
   Can you place the following code at line 83 of the `/wp-content/plugins/wp-linkedin/
   templates/profile.php` file and copy/paste the content of the dump here?
 * `<pre><?php var_dump($profile->recommendationsReceived); ?></pre>`
 * Or send me you API keys and token using this form: [http://vedovini.net/contact/](http://vedovini.net/contact/)
 * Thanks,
    C.
 *  Plugin Author [Claude Vedovini](https://wordpress.org/support/users/cvedovini/)
 * (@cvedovini)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/recommendations-received-attribute/#post-3195997)
 * as there are no answer so far, I’ll consider this topic closed. I guess it solved
   itself 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Recommendations-received attribute’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-linkedin_dddbdc.svg)
 * [WP LinkedIn](https://wordpress.org/plugins/wp-linkedin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-linkedin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-linkedin/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-linkedin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-linkedin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-linkedin/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Claude Vedovini](https://wordpress.org/support/users/cvedovini/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/recommendations-received-attribute/#post-3195997)
 * Status: resolved