• Resolved qnkov

    (@qnkov)


    I’m using 2.5.0 ver of UM. And because my site is running slow with UM activated, i’m using additional code from github to fix that in function.php of my theme.

    if ( function_exists( 'UM' ) ) {
    remove_action( 'pre_get_posts', array( UM()->access(), 'exclude_posts' ), 99 );
    remove_filter( 'get_next_post_where', array( UM()->access(), 'exclude_navigation_posts' ), 99 );
    remove_filter( 'get_previous_post_where', array( UM()->access(), 'exclude_navigation_posts' ), 99 );
    remove_filter( 'widget_posts_args', array( UM()->access(), 'exclude_restricted_posts_widget' ), 99 );
    remove_filter( 'wp_count_posts', array( UM()->access(), 'custom_count_posts_handler' ), 99 );
    remove_filter( 'getarchives_where', array( UM()->access(), 'exclude_restricted_posts_archives_widget' ), 99 );
    remove_action( 'pre_get_terms', array( UM()->access(), 'exclude_hidden_terms_query' ), 99 );
    remove_action( 'pre_get_comments', array( UM()->access(), 'exclude_posts_comments' ), 99 );
    remove_filter( 'comment_feed_where', array( UM()->access(), 'exclude_posts_comments_feed' ), 99 );
    remove_filter( 'wp_count_comments', array( UM()->access(), 'custom_comments_count_handler' ), 99 );
    remove_filter( 'get_comments_number', array( UM()->access(), 'disable_comments_open_number' ), 99 );
    remove_filter( 'the_title', array( UM()->access(), 'filter_restricted_post_title' ), 10 );
    }

    But today i’ve tried the new version without that code in function.php. My site with Chrome was still a bit slow, and with Opera i couldn’t even open my site. Giving me those errors:

    https://prnt.sc/mM3h80xnkK6V

    https://prnt.sc/7TlJVG7MaXwY

    Can we expect fix on those problems? I remember UM slowing my site since 2021 year.

    • This topic was modified 1 year, 8 months ago by qnkov.
    • This topic was modified 1 year, 8 months ago by qnkov.
    • This topic was modified 1 year, 8 months ago by qnkov.
  • The topic ‘Errors and slow site?’ is closed to new replies.