[Resolved] More Button Problem ….

Home Forums Support More Button Problem ….

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1071866
    Gerhard

    Since the update to 2.4.0 /1.9.0, there are errors when displaying the More Button.

    Display more Posts (after second press):

    + More > null+More

    + Loading = +nullLoading

    etc.

    #1072715
    David
    Staff
    Customer Support

    Hi there,

    that is peculiar – can you try disabling any plugins or custom functions you have to see if there is a conflict

    #1075571
    Gerhard

    Hi,

    Thanks for the 0815 standard support suggestion, I always try this first before I write a message.

    That brings no solution, with GP 2.3.x with GP Premium 1.8 has worked without problems.

    GP 2.4.0 and GP Premium 1.9 generate the error.

    GP 2.4.0 and GP Premium “1.8” works

    It is clearly on the GP Premium “1.9” plugin, please fix the problem!

    Thanks a lot!

    #1075978
    David
    Staff
    Customer Support

    I am unable to replicate the error on either a clean or updated install using 2.4 and 1.9.
    Do you have any custom functions or code within GP Hooks?

    #1076951
    George

    I have exactly the same problem. All latest WP, GP, and GPP versions. It happens to two sites. I copied one site to a staging environment and disabled all plugins, caching, etc, apart from GP Premium. I only kept “Code Snippets” active with this code to add a custom post type called “video” to the archives:

    function my_cptui_add_post_types_to_archives( $query ) {
    	// We do not want unintended consequences.
    	if ( is_admin() || ! $query->is_main_query() ) {
    		return;    
    	}
    
    	if ( is_category() || is_tag() && empty( $query->query_vars['suppress_filters'] ) ) {
    
    		// Replace these slugs with the post types you want to include.
    		$cptui_post_types = array( 'video' );
    
    		$query->set(
    	  		'post_type',
    			array_merge(
    				array( 'post' ),
    				$cptui_post_types
    			)
    		);
    	}
    }
    add_filter( 'pre_get_posts', 'my_cptui_add_post_types_to_archives' );

    Maybe the issue happens for custom post type archives?

    #1077051
    David
    Staff
    Customer Support

    It turns out to be a bug and that will be patched in the next update which should be released tomorrow.

    #1077087
    George

    Excellent, thank you!

    #1078561
    George

    Thank you for the superfast fix, works great now!

    #1078563
    Tom
    Lead Developer
    Lead Developer

    Awesome! Sorry for the bug 🙂

    #1078577
    Gerhard

    Thank you for the fix, works great!

    #1078954
    Tom
    Lead Developer
    Lead Developer

    Awesome! Thanks for reporting the issue 🙂

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.