Tagged: 404, FSE, pagination
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
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
BrajeshHi 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=rWifCPZGBgsPlease try disabling some plugin and see if it is some kind of conflict.
Regards
BrajeshHi 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
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
BrajeshHi 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.