Archived topic
Loading previous blog posts doesn't work
8 replies · Started by Federico on August 20, 2018
Hi,
I hope someone can help me to solve this problem on my blog: the loading of previous blog posts doesn't work when clicking on the button "VAI AGLI ARTICOLI PRECEDENTI" (It's an italian website) at the bottom of blog page. No more posts are displayed.
Thank you in advance.
Hi there,
Can you try #1 here to eliminate any plugin conflicts first?
https://docs.generatepress.com/article/debugging-tips/
Let me know :)
Hi again,
I tried with #1 but the problem was still there.
Then I tried with #2 (debuggging) and it returns this when I try to customize the theme: "Notice: Trying to get property of non-object in /home/harviup5/public_html/wp-includes/nav-menu.php on line 780"
What does it mean?
Can you help me, please? thank you.
Hi there,
The issue here is that yoursite.com/blog/page/2 is bringing back a 404 error.
It almost looks like a different site? Maybe there's a server tweak that needs to be made?
Hi,
I contacted my server hosting provider and they generated this errorlog file for you:
https://drive.google.com/file/d/1CsW1Ezf6tTK1V6eIOuJLNL1K3epvVba3/view?usp=sharing
Can this help you?
Thanks
A lot of those notices are coming from Elementor, however I don't think a PHP error would cause a 404 error.
Did you ask your hosting company to go to yoursite.com/blog/page/2?
This is the default structure for pagination in WordPress, but yours is returning a 404 error.
I again,
I resolved the issue “Notice: Trying to get property of non-object in /home/harviup5/public_html/wp-includes/nav-menu.php on line 780”.
But the problem with the link “VAI AGLI ARTICOLI PRECEDENTI” at the bottom of my blog page remains.
I asked for Wordpress.org community help too, but there is still no solution at this moment.
I also checked plugin compatibility with https://wordpress.org/plugins/health-check/ but the problem remains.
I don’t know what to do anymore… Other suggestions?
thanks a lot
Hi,
I resolved!
The solution was simpler than I could imagine (it's always so, when the problem seems to have no solution :-)))
The problem was the wrong setting of "category base" and "tag base" prefix. I put the prefix "blog" that in some way seemed to be in conflict with the blog page.
Removed the prefix, now all is ok.
done!
Thank you
Awesome! Glad you got it working :)