WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Recently Viewed Posts] Help me ,there is a error (4 posts)

  1. freewo
    Member
    Posted 4 years ago #

    hello,please help me.
    when installing, a Fatal error comes.

    Fatal error: Cannot redeclare recently_viewed_posts_time_since() (previously declared in \wp-content\plugins\recently-viewed-posts\recentlyviewedposts.php:106)

    how to resolve this problem.

    http://wordpress.org/extend/plugins/recently-viewed-posts/

  2. uwiuw
    Member
    Posted 4 years ago #

    it said what it is. You can not re declare a function.

    please deactivate the recently-viewed-posts plugin.
    Try to find other function who declare recently_viewed_posts_time_since.
    rename the function with other name (not the one in the plugin itself).

  3. claud925
    Member
    Posted 4 years ago #

    I have the same problem. I try to put the code or the widget and a similar error message appears.

    Fatal error: Cannot redeclare recently_viewed_posts_time_since() (previously declared in \wp-content\plugins\recently-viewed-posts\recentlyviewedposts.php:108) in \wp-content\plugins\recently-viewed-posts\recentlyviewedposts.php on line 108

  4. Pinoy.ca
    Member
    Posted 4 years ago #

    Please upgrade to 2.1.0.1. I believe I have fixed it.

    Thanks for letting me know, freewo, uwiuw and claud925. I'm sorry for the inconvenience.

Topic Closed

This topic has been closed to new replies.

About this Topic