WordPress.org

Ready to get started?Download WordPress

Forums

Yet Another Related Posts Plugin (YARPP)
[resolved] [Plugin: Yet Another Related Posts Plugin] Fatal error: Call to undefined method YARPP_Cache_Tables: (9 posts)

  1. ona1i
    Member
    Posted 3 years ago #

    I just upgraded to the latest YARPP and got the following error.

    Fatal error: Call to undefined method YARPP_Cache_Tables::start_yarpp_time() in .../wp-content/plugins/yet-another-related-posts-plugin/magic.php on line 304

    I am unable to use it anymore.

    What is the issue here?

  2. ona1i
    Member
    Posted 3 years ago #

    any heads up?

  3. ona1i
    Member
    Posted 3 years ago #

    I did a Google, but only thing it returns are sites who have had a similar problem.

  4. carblanco
    Member
    Posted 3 years ago #

    Same problem here!

  5. ona1i
    Member
    Posted 3 years ago #

    Things I tried for the solution:

    1. Clean up cache.
    2. Manually drop Yarpp tables.
    3. Reinstall yarpp.

    Nothing seems to work.

    This happened only on one site. My other sites seem to work well even after upgrading to 3.2.

  6. Coffee4cr
    Member
    Posted 3 years ago #

    $yarpp_cache->start_yarpp_time($reference_ID); // get ready for YARPP TIME!

    in magic.php

    change it to

    $yarpp_cache->begin_yarpp_time($reference_ID); // get ready for YARPP TIME!

  7. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 3 years ago #

    Hi all—my apologies. I've updated the dev version to include a fix:

    http://downloads.wordpress.org/plugin/yet-another-related-posts-plugin.zip (probably will take five or ten minutes to update)

    I'll put this in a 3.2.1 release, though I may wait a little longer to see if there are any other issues to include there.

    This only affects people who use yarpp_related_exists(), which is why I didn't catch this in the beta process.

    Thanks all!

  8. ona1i
    Member
    Posted 3 years ago #

    hi coffee4cr, thanks I made the change as u suggested and it works fine.

  9. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 3 years ago #

    Glad this is resolved.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic