404 Error + Disappearing Events

Home Forums Calendar Products Events Calendar PRO 404 Error + Disappearing Events

Viewing 15 posts - 1 through 15 (of 24 total)
  • Author
    Posts
  • #1278768
    weezypops
    Participant

    Hi,

    I hope someone can help. Some of my events are coming up as 404: Page Not Found when I click into them, although they were working yesterday. I’ve been through all the things in the knowledgebase article here: https://theeventscalendar.com/knowledgebase/fixing-http-404-errors/ I think, though the code that the article suggests is added to the functions file stopped my theme working altogether and gave me a moment of panic when I got 500 errors across the whole site!

    It’s not happening with all events but is happening to a lot.

    On top of this, some events I’ve added have disappeared entirely.

    #1279541
    Cliff
    Member

    Hi. Sorry you’re experiencing this.

    This isn’t currently a known issue so I’d suggest following these recommended troubleshooting steps for your own site:

    There might be some new updates available. Could you please make sure all your Modern Tribe plugins (and WordPress core) are at their latest versions?

    Once you verify you’re on the latest versions, please test to see if the issue is still happening for you.

    If it is, please follow our Testing for Conflicts Guide (basically switch to Twenty Seventeen theme and deactivate all plugins and custom code other than Modern Tribe plugins) and see if that helps narrow down the cause of this.

    If it doesn’t, please enable WP_DEBUG and WP_DEBUG_LOG and share any debug messages you see while changing tickets quantity, navigating your site’s home page, events page, single-event pages, and any other of your site’s pages relevant to this ticket.

    Then, please re-share your System Information (while in Testing for Conflicts Mode). That will give me a lot of extra information to help diagnose the problem.

    You might also see if you can spot any console errors at your site. (If needed, you may reference our KB article Using Google Chrome Developer Tools.)

    Let us know what you find out.

    Thanks.

    #1279791
    weezypops
    Participant

    This reply is private.

    #1280207
    Cliff
    Member

    Thanks. I assume your custom code was in your other theme’s functions.php file and therefore switching to Twenty Seventeen theme means you didn’t have any custom code in place.

    If you have any WP_DEBUG messages, which you shouldn’t if you just have our plugins active with Twenty Seventeen, then wp-content/debug.log file would get created (only visible when browsing the server’s files, either via SFTP or cPanel File Manager or similar).

    To your specific issue, the only thing somewhat uncommon I see here is that your WordPress install is in a subdirectory instead of at the root of the domain (although that should work just fine) and Litespeed server (but we have other users on it also).

    Therefore, I’m hoping solving this is as simple as going to wp-admin > Settings > Permalinks and re-saving Permalinks.

    Please try that and let me know how it goes for you.

    #1280221
    weezypops
    Participant

    Hi, no, that doesn’t seem to work unfortunately.

    Just a thought – I was using the Events Calendar Housekeeper plugin but have deactivated it now? I notice it’s no longer on here as a recommendation (I thought it was on here I’d originally seen it). Could it have been that?

    #1280319
    Cliff
    Member

    I’ve worked here nearly 2 years and haven’t ever heard of that plugin–mentioned internally or externally.

    If you go to wp-admin > Events, do your Event posts exist?

    I assume yes… let’s look into your rewrite rules. Please install https://wordpress.org/plugins/rewrite-rules-inspector/ and test your Event URLs. Feel free to share screenshots or a screencast video link.

    #1280708
    weezypops
    Participant

    Hi,

    If I go to wp-admin > Events, the events that are showing up as 404 pages are still listed, but if I click on them I just remain on the same page. I think there are also some events totally missing though, that don’t seem to exist anywhere.

    I installed the rewrite rules plugin and get the results in ‘screen1’ for all links I tested that are getting 404 errors, and the results in ‘screen2’ for all links that are working.

    Thanks

    #1281292
    Cliff
    Member

    Please send a screenshot of the rewrite rules for one of the event URLs that is returning a 404.

    #1281299
    weezypops
    Participant

    I did attach the screenshot before: ‘screen1’ shows the rewrite rules for all links I tested that are getting 404 errors, and the results in ‘screen2’ are for all links that are working. I’ll attach again in case they didn’t come through

    #1281349
    Cliff
    Member

    Thank you. The screenshots came through this time.

    Is this by chance a recurring event or a single event that was broken out from a recurrence series?

    If not, what if you change the event’s slug from “2017-05-09” to something that’s not a date format, like “my-event-title”?

    #1281489
    weezypops
    Participant

    They are all recurring events, both the ones that have stopped working and the ones that haven’t. It seems like all events in the series are 404s now though.

    I changed the permalink structure to the Post Name option but now all the posts that work have that structure and the ones that get 404 errors are stuck with the old format. If you hover over them here: http://www.essexmums.com/thingstodo/events/ , you can see that there is now a mix and can tell which ones are going to get the errors before clicking on them, because they have the date format!

    #1281545
    Cliff
    Member

    A non-recurring event would have a URL like your-site-com/event/event-name/

    A single instance from a recurring event series would have a URL like your-site-com/event/event-name/2017-05-10/

    However, I see the event URL you shared with me is missing the “event-name” (i.e. the slug) part of the URL and is just your-site-com/event/2017-05-10/, which isn’t right.

    Changing your Permalink structure shouldn’t affect this, though.

    Could you please provide us an Administrator login so we can use that Rewrite Rules Inspector ourselves? We will not modify any settings on your site, but we still always recommend having restorable database and file backups for your site before giving us a login.

    Make sure to post the credentials in a Private Reply if you do choose to share the login.

    #1281552
    weezypops
    Participant

    This reply is private.

    #1281836
    Cliff
    Member

    This reply is private.

    #1281928
    weezypops
    Participant

    No, still the same unfortunately.

Viewing 15 posts - 1 through 15 (of 24 total)
  • The topic ‘404 Error + Disappearing Events’ is closed to new replies.