WordPress.org

Ready to get started?Download WordPress

Forums

WP LinkedIn
[resolved] [li_card] not working (11 posts)

  1. jonbland
    Member
    Posted 6 months ago #

    Hi,

    When I add [li_card] in to a page it displays an error on line 253 of wp-linkedin.php

    Also if I add the LinkedIn Card widget to anywhere on my main page I get the same error as above.

    Any ideas?

    https://wordpress.org/plugins/wp-linkedin/

  2. Claude Vedovini
    Member
    Plugin Author

    Posted 6 months ago #

    Hi,
    Do you have an error message?
    What version of PHP are you using?
    C.

  3. jonbland
    Member
    Posted 6 months ago #

    Thanks for getting back to me.

    I am using wordpress 3.8.1 and get the following error

    LinkedIn photo and job title is displayed
    Fatal error: Call to undefined function mb_strlen() in E:\domains\xxx\xxxxx.com\user\htdocs\wp-content\plugins\wp-linkedin\wp-linkedin.php on line 253

    BTW the plugin is great :)

  4. Claude Vedovini
    Member
    Plugin Author

    Posted 6 months ago #

    What version of PHP are you using?

  5. Claude Vedovini
    Member
    Plugin Author

    Posted 6 months ago #

    seems like multibyte support is not enabled on your server

  6. jonbland
    Member
    Posted 6 months ago #

    the weird thing is it was work but wasn't updating my profile when I updated the content on linkedin and then I accidentally clicked on the clear the cache button

  7. jonbland
    Member
    Posted 6 months ago #

    it was working fine but wouldn't update when my linkedin profile updated

    I accidentally clicked on the clear cache button and it all stopped working

  8. Claude Vedovini
    Member
    Plugin Author

    Posted 6 months ago #

    there's a 12h cache, that's what the "clear the cache" button is for. but the call to mb_strlen is done wether the data comes from the cache or not (unless you have a page cache system in place) so it wouldn't have work anyway, this is unrelated.

  9. jonbland
    Member
    Posted 6 months ago #

    If I set the summary to "0" in the widget the error message goes away?

  10. Claude Vedovini
    Member
    Plugin Author

    Posted 6 months ago #

    yes, in that case the mb_strlen function won't be called

  11. Claude Vedovini
    Member
    Plugin Author

    Posted 5 months ago #

    version 1.13 that I just released should solve this problem now

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.