Yet Another Related Posts Plugin (YARPP)
[resolved] [Plugin: Yet Another Related Posts Plugin] Ajax error on 3.4 (4 posts)

  1. Workshopshed
    Posted 4 years ago #

    When editing a post the Yarp box appears at the bottom of the screen but never populates (leaving a rotating circle).

    It's calling
    with parameters

    which is returning a 500 internal server error.

    Other ajax calls seem to be working from this page and other pages.

    Related posts do appear on the frontend.

    I'm using a depreciated call tool and it's giving the error

    Incorrect Use of YARPP_Cache_Tables::related()
    Used in wp-content/plugins/yet-another-related-posts-plugin/class-cache.php on line 99.
    	reference ID and/or related ID must be set
    This message was added in version 3.4.

    Not sure if this is related


  2. Workshopshed
    Posted 4 years ago #

    Fatal error: Call to a member function get_post_types() on a non-object in /wp-content/plugins/yet-another-related-posts-plugin/class-admin.php on line 237

    Fix by changing

    $args['post_type'] = $yarpp->get_post_types();
    $args['post_type'] = $this->core->get_post_types();

    Based on that, I don't think this issue is to do with the WordPress version.

  3. mitcho (Michael Yoshitaka Erlewine)
    Plugin Author

    Posted 3 years ago #

    Please try this latest beta, which I believe fixes these issues: http://downloads.wordpress.org/plugin/yet-another-related-posts-plugin.3.5.2b2.zip

  4. Workshopshed
    Posted 3 years ago #

    Cheers, works ok on my site.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yet Another Related Posts Plugin (YARPP)
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic