-
AuthorPosts
-
December 10, 2015 at 9:58 am #550250
Hi Enfold team,
This morning I noticed that when I go to the next page on the blog(news) section of our website, it just keeps showing the articles of the first page. Even if I go to the last page (page 135) it keeps showing the articles of the first page. This started to happen after the last Enfold and WordPress updates. Could you guys have a look at what is going wrong please? The link to our website is in the private section.
Thanks in advance,
Alcadis
December 10, 2015 at 2:11 pm #550380Hey Alcadis!
Can you please try de-activating all active plugins and check if that helps?
If not, please create a temporary admin login and post it here privately.Cheers!
YigitDecember 10, 2015 at 2:22 pm #550388Hey Yigit,
I tried disabling all plugins and checked if that helped, but unfortunately it did not help.
I have created a temporary admin login for you, see in private for the details:Please let me know if you are able to login
Thanks in advance!
December 10, 2015 at 2:24 pm #550391Hi!
No, i was not “Forbidden. You do not have permission to access this document.”
Cheers!
YigitDecember 10, 2015 at 2:27 pm #550393I was afraid of that, cause we blocked external IP adresses from logging in on our website due to some hack issues.
I will call our hosting now to remove that and I will let you know when you can login.December 10, 2015 at 2:30 pm #550402December 10, 2015 at 2:41 pm #550410Hi Yigit,
Would it be possible for you to remote control my PC with teamviewer? It is going to be really hard to remove the accesslist and our technical director prefers to not remove the block regarding security issues. Please let me know if this is possible for you
December 10, 2015 at 2:56 pm #550419You can check with my site Yigit as i have the same problem.
WP 4.4
Enfold 3.4.6December 10, 2015 at 2:57 pm #550420Hi!
Unfortunately, that is not possible. We have reported the issue to our devs and they are now looking into it on another users installations. If it is not so urgent for you, we can work on other users installations and let you know about our findings :)
Best regards,
YigitDecember 10, 2015 at 3:08 pm #550431Hi Yigit,
I was afraid of that.
Anyways although it is kinda urgent since we have quite some visitors coming to our website, I will have to wait for your devs to find a solution :)
Could you please let me know as soon as possible once they have found a solution, so I can apply the changes to the website myself?
Much appreciated,Alcadis
December 10, 2015 at 3:36 pm #550460Hey!
Our devs reported that issue is WP 4.4 related. They are making the changes and will release an update this week.
Cheers!
YigitJanuary 5, 2016 at 4:42 pm #560006Can you kindly indicate which files where changed to fix the pagination issues?
Many thanks.January 6, 2016 at 12:12 pm #560441Hi!
I just noticed that the pagination on this page http://www.alcadis.nl/nieuws/ works fine i see different content on different page.
For all major updates you can find the change log on the http://themeforest.net/item/enfold-responsive-multipurpose-theme/4519990Regards,
VinayJanuary 7, 2016 at 12:09 am #560848Thanks but I’m kindly asking for which files were modified to fix the pagination bug.. (not what was changed in the latest release).
Thanks again!
January 7, 2016 at 1:48 am #560883Hi!
See here, https://kriesi.at/support/topic/pagination-on-blog-page-does-not-work-urgent/#post-559024.
Cheers!
ElliottJanuary 7, 2016 at 11:35 am #561114Dear Elliot, thanks for your answer. That answer seems to be related to woocommerce products rather than the blog. In any case I have found the same line in blog.php (as indicated below) but still no luck :(
if($params[‘offset’] == ‘no_duplicates’)
{
$params[‘offset’] = ( $page – 1 ) * $params[‘items’];
$no_duplicates = true;
}January 8, 2016 at 3:44 am #561777Hi!
There is a whole bunch of areas where it’s used.. pretty much all of the shortcodes where a query is set. It would be best to just update the theme.
Best regards,
ElliottJanuary 12, 2016 at 12:59 pm #563846Hi There,
We have the same problem here: https://news.suzuki.de/news/
This solution didn’t work:
//$params['offset'] = 0; $params['offset'] = ( $page - 1 ) * $params['items'];
WP 4.4
Enfold 3.4.7We need urgent help, please!
Thanks, T.
- This reply was modified 8 years, 10 months ago by elbnetz.
January 13, 2016 at 10:27 am #564479Hey!q
A fix will be included on the next update. Please remove the modification then look for this code around line 338:
$page = get_query_var( 'paged' ) ? get_query_var( 'paged' ) : get_query_var( 'page' );
.. replace it with:
$page = get_query_var( 'paged' ) ? get_query_var( 'paged', 1 ) : get_query_var( 'page', 1 );
Again, look for this line:
if( $params['offset'] == 0 ) { $params['offset'] = false; }
.. replace it with:
//wordpress 4.4 offset fix if( $params['offset'] == 0 ) { $params['offset'] = false; } else { //if the offset is set the paged param is ignored. therefore we need to factor in the page number $params['offset'] = $params['offset'] + ( ($page -1 ) * $params['items']); }
Lastly, look for this line of code around 367:
'offset' => $params['offset'],
.. replace it with:
'offset' => !(int)$params['offset'] ? "" : $params['offset'],
You can do the steps above or just remove every code in the blog.php file, replace it with this: http://pastebin.com/pJxDM7ec
After that, go to line
Best regards,
IsmaelJanuary 13, 2016 at 11:30 am #564537Hi There,
We replaced the blog.php with the content from the linked version without success.
Problem remains.
Cheers, T.
January 14, 2016 at 5:25 am #565210Hi!
The same code works on our installation so it’s probably a server configuration somewhere. Not exactly sure what. What is the current PHP version of the server?
Cheers!
IsmaelJanuary 19, 2016 at 10:46 am #567740We have
PHP-Version 5.6.14 (64bit)
MySQL-Version 5.5.46Cheers, T.
January 20, 2016 at 4:34 am #568354Hey!
@elbnetz: We found a patch for this and it works for most installations. Please create a new thread then provide the FTP details. If you want to do it yourself, please visit the following thread. You have to edit the wp-includes > query.php file. https://core.trac.wordpress.org/ticket/35344#comment:34Regards,
IsmaelJanuary 20, 2016 at 10:41 am #568488Hi Ismael,
all the shown fixes didn’t help, I am afraid. What can we do next?
So it is a WordPress problem?Bestes, T.
- This reply was modified 8 years, 10 months ago by elbnetz.
January 21, 2016 at 3:07 am #569084Hi!
Please use the query.php patch provided in the wp thread above then override the canonical.php file with a fresh copy. After that, modify the config-templatebuilder > aviashortcodes > postslider.php file. Refer to this link: https://kriesi.at/support/topic/pagination-not-working-after-wordpress-4-4-1-and-enfold-3-4-7/#post-565212
Cheers!
IsmaelJanuary 21, 2016 at 2:05 pm #569383Hi Ismael,
I followed all steps, but it is still not working, I am afraid.
Cheers, T.
- This reply was modified 8 years, 10 months ago by elbnetz.
January 21, 2016 at 3:06 pm #569420Hi all,
Sorry to interrupt, but is it possible to move this thread to another? I keep getting notifications, but my problem has been solved since the last update.
Sorry for the inconvenience!
Greetings,
AlcadisJanuary 23, 2016 at 4:57 am #570455 -
AuthorPosts
- The topic ‘Blog pagination not working’ is closed to new replies.