WP Favorite Posts
Text for favorites are empty is not showing (3 posts)

  1. Twanneman
    Posted 3 years ago #

    I've created a page "favorites" and added the tag {{wp-favorite-posts}}. When there are no favorites I would expect that the text "Favorite list is empty." would show up, however the text is not displayed. This is for logged in and logged out users.


  2. ElaineMarley86
    Posted 3 years ago #

    I have the same problem too. And I can't see favorites at all.
    I'm not a big php expert but I've looked in the plugin code and found some deprecated functions in it, could that be the problem?
    For example in this function

    function wpfp_get_user_meta($user = "") {
        if (!empty($user)):
            $userdata = get_userdatabylogin($user);
            $user_id = $userdata->ID;
            return get_usermeta($user_id, WPFP_META_KEY);
            return get_usermeta(wpfp_get_user_id(), WPFP_META_KEY);

    there are two deprecated functions: get_userdatabylogin and get_usermeta.
    Unfortunately I tryed to edit the plugin and replace those functions but didn't manage to solve the problem (because, as I said, I'm not very skilled in php). Any idea someone?

    NOTE: I'm using WP 3.5.0

  3. properwp
    Posted 3 years ago #

    Just FYI, someone else posted that moving back to version 1.5.6 will fix this:


    You can find it on this page:


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Favorite Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic