WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Workshopshed
    Member
    Posted 2 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
    http://workshopshed.2020test.com/wp-admin/admin-ajax.php
    with parameters
    action=yarpp_display&domain=metabox&ID=2913&_ajax_nonce=e328cb7294

    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

    http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/

  2. Workshopshed
    Member
    Posted 2 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();
    to
    $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)
    Member
    Plugin Author

    Posted 2 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
    Member
    Posted 2 years ago #

    Cheers, works ok on my site.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic