Hi y’all, long time no plea for help!
I woke up this morning to 404 Errors for all forum view, topic view, and PM inbox pages. Our Main Forums Group view displays fine, but jump to any forum or topic and the page is not found. Everything was working fine last night, and nothing has changed with the install since then.
I have taken the following measures and nothing has helped:
- deactivated and reactivated plugin
- Updated permalinks in WP and SPF.
- Optimized all _sf db tables
- repaired two db tables (_sfmembers and _sftopics were “not closed properly”)
- checked all db tables = OK
- sf error log lists lots of the following:
Warning | Creating default object from empty value
Data inspection only shows results on the main forum page since 404 page is returned for forum or topic views. I can paste in the debug info If I knew which data might help troubleshoot if any.
What else might I do to get our forums back? Thanks in advance for any help!
Simple:Press Version: 5.1.2. Build: 8910; WordPress Version: 3.4.1
If nothing changed as far as the install goes (i.e. nothing across the whole site) and updating the permalinks did not correct the issue then it is somewhat puzzling. It would probably be worth checking the php error logs and also bringing this up with your hosting support – at least this would be my next move.
Worth mentioning that you should also perhaps upgrade your WP to 3.4.2 which was released on the 6th September primarily due to a security vulnerability discovered in multi-site installs. I am not suggesting this to be the cause as I am not even sure what the alert was about but always best to be safe.
Thanks, the php error logs indicate nothing unusual and our server manager agrees the issue is plugin/wordpress related.
I was planning to update WP and SPF today, but was leery of upgrading either until this issue was resolved for fear of making matters worse.
I’ve ruled out any plugin conflicts and discovered there is clearly something wonky going on with the page permalink or slug. For instance, when clicking the Members button on the Forums page I am redirected to our network directory page at /members instead of /forums/members.
Since I’ve already tried updating permalinks from both the WP and SPF admin options, is there somewhere in the db I can investigate further?
At this point would you recommend updating both WP and SPF?
Technically it sounds like the WP rewrite-rules record (held in the WP options table) is missing the forum rules or has become corrupted in some other way. These rules records are what WP uses to determine the correct page to load for any requested url.
When you first install SP the forum rules are added to the overall rules ‘pot’. These should also be flushed when the update forum permalink task is run or – indeed – the update WP permalink.
I do recall quite a while back there was another plugin creating rewrite rules that had a habit of trashing other plugin’s rules but it was a long time ago and I have come across nothing recently to suggest anything does.
I would, in the first instance, recommend your WP gets updated but then I believe that any security patch should be installed quickly. You might want to hold off on SP until you have fathomed the 404s however.
What is your server manager basing this opinion on?
Good news but curious. If badly corrupted I would have expected other manifestations…