Line 36 of this plugin should be changed from:
if ($query_string[‘name’] == ‘page’ && isset($query_string[‘page’])) {
To:
if (isset($query_string[‘name’]) && $query_string[‘name’] == ‘page’ && isset($query_string[‘page’])) {
Often $query_string[‘name’] is not set and it throws a warning. It is not fatal but it is bad practice to allow warnings when it is avoidable.
]]>Should be a quick fix. Here is an error I get when trying to validate for PHP 7.
FILE: ../plugins/category-pagination-fix/category-pagefix.php
———————————————————————————————————————–
FOUND 1 ERROR AFFECTING 1 LINE
———————————————————————————————————————–
39 | ERROR | Function split() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_split instead
———————————————————————————————————————–
just letting people know this version works, but WP will try and update it to the old version
https://github.com/larsnystrom/category-pagination-fix/blob/master/category-pagefix.php
hopefully it will be updated
thanks
J
Hi mate, can you do all of us a favour and update this to the latest WP version ?
Cheers
https://www.ads-software.com/plugins/category-pagination-fix/
]]>Instead of going to the next page, it shows a whole different set of content
https://www.zeeheldennieuws.nl/category/zeeheldennieuws/
at the bottom, go to page 2… after that I end up somewhere else in the site
https://www.ads-software.com/plugins/category-pagination-fix/
]]>after enabling the plugin ‘Category pagination fix’ you just have to save your permalink settings as they are to reflush the rules.
The strange thing: the site was working for years, after moving to a new server and using https now, I needed this solution..
https://www.ads-software.com/plugins/category-pagination-fix/
]]>After spending a whole day trying to debug this issue I was hopeful/excited when I came across this plugin.
It eliminates the 404 error but IT JUST LOADS IN THE SAME POSTS ON THE PAGES.
https://www.ads-software.com/plugins/category-pagination-fix/
]]>I have CPF installed with my custom permalink structure:
/%category%/%postname%/
But all the other pages just reload page 1.
https://www.ads-software.com/plugins/category-pagination-fix/
]]>Hello,
I upgraded to wordpress 4.4, I installed this plugin, and the problem persists..
What do I do..
I did all the stuff with removing the .htaccess file and resetting permalinks?
https://www.ads-software.com/plugins/category-pagination-fix/
]]>Hello,
Will you be updating this plugin to be compatible with WordPress 4.2.2?
https://www.ads-software.com/plugins/category-pagination-fix/
]]>Change line 48 to
if( (isset($qs['category_name']) || isset($qs['author_name']) || isset($qs['tag']) ) && isset($qs['paged'])){
https://www.ads-software.com/plugins/category-pagination-fix/
]]>Thank you – I was having this problem on WordPress 3.8.1 and your plugin fixed it.
https://www.ads-software.com/plugins/category-pagination-fix/
]]>I’ve used this plugin to fix the 404 pagination issue. I have a local and live install of the site I’m working on. The fix worked perfectly on my local install but not on the live one. Both are identical so I’m confused as to what might be the cause.
Do you need to re-save permalinks after installing the plugin?
The mod_rewrite rules in the live .htaccess file are as follows:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
Thanks!
Nick
https://www.ads-software.com/plugins/category-pagination-fix/
]]>If you have the problem with author pages as well then you have to edit the plugin (as long as the programmer does not update to a new version)
1. Open and edit “category-pagefix.php”
2. change line
if(isset($qs['category_name']) && isset($qs['paged'])){
to
if( (isset($qs['category_name']) || isset($qs['author_name'])) && isset($qs['paged'])){
https://www.ads-software.com/extend/plugins/category-pagination-fix/
]]>I was getting 404 on ../page/2/ URLs. I have no idea why the pagination doesn’t work as expected, but this solved my problem!
https://www.ads-software.com/extend/plugins/category-pagination-fix/
]]>Hi,
I was almost happy. Problem:
https://www.mydomain.com/news/page/2/ give a 404 page.
News isn’t a custom post type, but i do have another custom post type. Now category-pagination-fix helped with the page/2 and gave the news posts, but now the navigation menu disapears. Is this a known issue, how can i fix it?
https://www.ads-software.com/extend/plugins/category-pagination-fix/
]]>When I activate this plugin under WP 3.3.1 I get an error message “This plugin has no valid header”. ??
https://www.ads-software.com/extend/plugins/category-pagination-fix/
]]>Cannot activate the plugin after update. Fatal error. WP 3.3
https://www.ads-software.com/extend/plugins/category-pagination-fix/
]]>It does not work with WP 3.1.3
]]>Installed the plugin as usual, but it has made no difference to how the paging behaves when using categories. The query i am using seems to be simple enough :
<?php query_posts( 'category_name=News&posts_per_page=5' ) ?>
Also, a PHP Notice is being displayed : Undefined index: name in…… which is referring to the following line :
<?php if ($query_string['name'] == 'page' && isset($query_string['page'])) { ?>
I would assume this is something to do with the value of $query_string being passed in?
Hope this helps
]]>Not working
]]>Unable to use search function on pages.
Example:
/category/page/?s=search+terms&searchbtn=Go
If there are no results it will display the no results page.
If there are results it will just display the page you are on as if nothing happened. Might be related to this plug-in?
https://www.ads-software.com/extend/plugins/category-pagination-fix/
]]>