• Resolved Dmitriy

    (@dimchik)


    Hi, I’m having the same issue on several unrelated sites. Every few days individual event pages become 404s. At the same time, unrelated individual pages for custom post types and native post category pages also return 404s. Tried disabling plugins one-by-one and the issue self-resolves only when Events calendar is disabled. The problem can also be fixed by flushing permalinks. Common thing between the sites is that they are hosted on WP Engine and have the Events Calendar plugin. This has been going on for the last few weeks. I went down the list from the 404 troubleshooting page and tried adding the snippets from here and here to the functions.php. I collected the query dump from one of the 404 pages during one of these episodes and can collect more as these are very frequent. Is there anything else I can try? There are hundreds of events on one of the affected sites. I know you recommended resaving each of them in one of the posts here, but I think that’s not feasible with that many events. I can provide more info privately. Thanks.

Viewing 15 replies - 16 through 30 (of 37 total)
  • Plugin Support Darian

    (@d0153)

    Hi all,

    Just to remind again everyone, we cannot provide support in this forum for?premium users.

    For us to help you better, please open a Support Ticket on our Help Desk.

    Please see Forum guidelines: https://www.ads-software.com/support/guidelines/#the-bad-stuff

    @dimchik Any more updates? This is getting frustrating. The Events Cal did a theme change and deactivated all the plugins and it “fixed” the issue. However, when I turned them all back on it was still “fixed” so i’m not sure what the issue is anymore haha. I wonder if it’s possible that when you change the theme and turn off plugins that this flushes the permalinks? I don’t have this issue on all of the site’s I have The Events Cal on but I also don’t have this issue on any site that doesn’t have The Events Cal plugin either. Time to decide if I drop the plugin or the host WPE.

    These plugins are a major disaster for me. I managed to get the events from not going 404 every other day by disabling one of the WPE cache settings. But just when I thought I could avoid spending more hours troubleshooting this thing, I have now lost all of the “Register” buttons on all Virtual Events – and even though I updated both the base plugin and the Virtual Events Add On – there is no longer any Virtual Events fields in the backend. My client is absolutely irate at this point. I don’t know what’s going on with this plugin / company, but from a users’ perspective, it’s a disaster.

    @jcallanan What did you do to fix this? ”?I managed to get the events from not going 404 every other day by disabling one of the WPE cache settings.” I would love to know what cache setting disabled as I have tried them all.

    So far I found that turning off our month view cache at Events > Settings > General > Viewing resolved the 404! However, I also have WPE Object Cache turned off so that could be part of it too.

    Does any of you also use Autoptimize on your sites? The Events Calendar support told me that we shouldn’t have more than 1 cache on the site. “We do not recommend that customers use more than one cache and it looks like you are using Autoptimize and WP Engine.”

    fyi; Autoptimize is not a page cache, but an asset optimizer (which has it’s own cache to store optimized CSS/ JS). as such having AO and a page cache should not really be considered having multiple caches. just saying ??

    have a nice day,
    frank (ao dev)

    @optimizingmatters That is what I thought too. Do these steps to make AO and The Events Calendar work together seem correct? https://theeventscalendar.com/knowledgebase/k/using-the-events-calendar-with-autoptimize/

    Do these steps to make AO and The Events Calendar work together seem correct?

    I don’t have experience with the events calendar myself, but when “aggregate JS” and or “aggregate CSS” are active (which the are not by default, aggregating isn’t always useful any more since we’re all on HTTP/2) or in case of problems the exclusions indeed make sense ??

    Plugin Support Darian

    (@d0153)

    Hi @jcallanan @joshpaynedesigns

    We apologize, but we cannot offer assistance to premium users in this forum. To ensure we can provide you with the best possible support, kindly submit a Support Ticket via our Help Desk.

    Did any of these proposed solutions, like messing with the Yoast plugin, seem to help? I am at the end of my rope with these 404s. I eventually just had to set up monitors and start resetting permalinks from my phone.

    We also run Yoast on WP Engine.

    @developerjustin The only thing that seems to help/possibly fix the issue is to turn off Object Caching in WPE.

    Thread Starter Dmitriy

    (@dimchik)

    This might work, strictly as a bandaid of course: add flush_rewrite_rules(); at the end of functions.php

    @dimchik Did turning off Object Cache not work for you?

    Thread Starter Dmitriy

    (@dimchik)

    No, turning off object cache did not work, unfortunately.

    @dimchik Another possible fix that TEC told me to try was to turn off the month view cache at Events > Settings > General > Viewing. That also resolved the 404!

    However, I have only turned off the Object Cache on a few other sites that were giving the 404’s and that fixed them as well. Doesn’t seem like the best fix but it’s a start!

    Do you use Autoptimize on your site or any other plugin like that?

Viewing 15 replies - 16 through 30 (of 37 total)
  • The topic ‘Frequent 404 Errors on individual events and unrelated CPTs’ is closed to new replies.