• Resolved jordaniversen

    (@jordaniversen)


    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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Claude Vedovini

    (@cvedovini)

    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/

    Thanks,
    C.

    Plugin Author Claude Vedovini

    (@cvedovini)

    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.