Super slow page load in combination with Feedzy Premium

#1050080
  • Resolved Chris Tingom
    Rank Math free

    When loading the archive or posts for our Podcast post type the page loads super slow, with Query Monitor saying that Database queries are taking from 9 to 11+ seconds, whereas disabling RankMath reduces those numbers to almost nothing. As an example, there is a DB query taking 2+ seconds (and 5 more like it averaging 1.5+ seconds):


    SELECT post_id, meta_key, meta_value
    FROM wp_postmeta
    WHERE post_id IN (4528)
    ORDER BY meta_id ASC /* From [site.com/podcast_episodes/] in [site/wp-content/plugins/feedzy-rss-feeds-pro/includes/public/feedzy-rss-feeds-pro-public.php:103] */

    The line 103 in question is:


    $link_author_public = get_post_meta( $job_id, 'import_link_author_public', true );

    However Query Monitor shows RankMath to be in the calling chain making this code run:


    update_meta_cache
    get_metadata_raw
    get_metadata
    get_post_meta
    Feedzy_Rss_Feeds_Pro_Public->the_author
    apply_filters('get_the_author_display_name')
    get_the_author_meta
    RankMath\Replace_Variables\Author_Variables->setup_author_variables
    RankMath\Replace_Variables\Manager->setup
    do_action_ref_array('wp')
    WP->main
    wp
    require('wp-blog-header.php')

    Is there a way to disable getting the author meta for a post type in Rank Math, or another way to resolve this issue?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    We apologize for the issue you are facing with slow page loads in combination with Feedzy Premium. It seems that the interaction between Rank Math and the Feedzy plugin is causing delays due to the way author metadata is being processed.

    To address this, you can disable the author meta retrieval in Rank Math by using a filter in your theme’s functions.php file. Here’s a code snippet that you can add:

    add_filter('rank_math/replacements/author', '__return_empty_string');

    This code will effectively prevent Rank Math from retrieving the author meta for posts, which should help improve your page load times.

    If you are not comfortable adding this code yourself or if you need further assistance, we recommend considering our professional setup service. This service ensures that your Rank Math plugin is set up correctly and adheres to the latest SEO standards. You can find more information about this service at Rank Math Professional Setup.

    Thank you for raising this concern, and we hope this helps resolve the issue! If you have any further questions or need additional assistance, please feel free to reply to this ticket.

    Sources:
    Fatal Error Happening on Some Installations After 1.0.49 Update » Rank Math

    That code unfortunately had no effect. The “Sources” link also has absolutely no bearing on this problem.

    Hello,

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.

    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

The ticket ‘Super slow page load in combination with Feedzy Premium’ is closed to new replies.