BuddyDev

Search

MediaPress Page 2 – 404 not working

Tagged: , ,

  • Participant
    Level: Initiated
    Posts: 9
    Andy on #50842

    Hi,

    I’m using MediaPress on our site: https://www.model-engineer.co.uk/gallery/

    When I click on Page 2 of the Gallery Feed (https://www.model-engineer.co.uk/gallery/page/2/) the same galleries load (even though the URL changed) but a 404 message appears below the gallery pagination list, e.g:

    1 2 Next »

    404 – Page not found

    I’m using WordPress 4.3, the Lawson FSE theme, and the ‘bb style pack’ plugin to enable FSE compatibility.

    Many Thanks,

    Andy

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #50844

    Hi Andy,
    Thank you for reporting the issue. I checked your site and seems the pagination does have issue.

    Please allow us to investigate and get back to you in next 24 hours.

    PS:- I am assuming you are using 6.3 not 4.3

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 9
    Andy on #50847

    Hi Brajesh,

    Thanks. Do you mean WordPress 6.3 and not 6.4? That’s correct, I’ve held off on updating WordPress for now.

    I’m using MediaPress Version 1.5.7

    Many Thanks,

    Andy

  • Participant
    Level: Initiated
    Posts: 9
    Andy on #50864

    Hi Brajesh,

    I’m just wondering if you managed to identify the issues with our pagination?

    Many Thanks,

    Andy

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #50865

    Hi Andy,
    I am sorry for the delayed reply.

    The pagination is working fine for me with the FSE theme on latest WordPress and BudyPress.

    For demo, I used the following code to set pagination to 2 per post.

    
    add_filter( 'mpp_main_gallery_query_args', function ( $query ) {
    	$query['per_page'] = 2;
    
    	return $query;
    } );
    
    

    Please take a look.
    https://www.youtube.com/watch?v=rWifCPZGBgs

    Please try disabling some plugin and see if it is some kind of conflict.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 9
    Andy on #50880

    Hi Brajesh,

    Thanks for your reply.

    I activated a staging site and updated to the latest version of WordPress and all of the Plugins.

    I tried switching to the Twenty Twenty One theme and turning off all plugins apart from BuddyPress and MediaPress and Page 2 just reloads the content from Page 1 again but with the updated URL stating page 2 – so the issue appears to not be related to a plugin conflict.

    I switched back to the FSE theme (Lawson) and tried again also, this time page 2 just gives a full page 404.

    We are using a Multisite, I’m not sure if that affects anything regarding this issue?

    I’ll put a copy of our System Info from the Tools section below.

    Many Thanks,

    Andy

  • Participant
    Level: Initiated
    Posts: 9
    Andy on #50881
    This reply has been marked as private.
  • Participant
    Level: Initiated
    Posts: 9
    Andy on #50882

    *And I’ve just read back your original reply and my first post – Yes our main site is currently on 6.3, I put 4.3 in error, apologies for the confusion.

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #50895

    Hi Andy,
    Thank you for your details.
    I am sorry for the delay.

    Can you please tell me if the pagination for your site archive pages are working ?

    The only difference I see is use of nginx and multisite.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 9
    Andy on #50896

    Hi Brajesh,

    No worries.

    Yes, all the other archive pages and pagination is working for our post categories e.g.

    https://www.model-engineer.co.uk/category/features/article-reprints/
    https://www.model-engineer.co.uk/category/features/article-reprints/page/2/

    However, galleries are still broken. e.g.

    https://www.model-engineer.co.uk/gallery/
    https://www.model-engineer.co.uk/gallery/page/2/

    We are using BuddyPress and setting the Gallery page in Settings>BuddyPress>Pages>Gallery

    I’ve tried playing with a few settings but can’t seem to find anything that helps.

    Is there anything else I can try or is there any other information I can supply that would help?

    Many Thanks,

    Andy

You must be logged in to reply to this topic.

This topic is: not resolved