Support

Home Forums Event Espresso Premium event links not working

event links not working

Posted: June 10, 2019 at 10:31 am

Viewing 9 reply threads


jokadesign

June 10, 2019 at 10:31 am

Hi

Please see our events page. https://sassystirrers.com/holiday-workshops/ The more details links are producing 404 errors. They were working fine until recently. Can you please advise? Thanks.

Regards

Joe


Josh

  • Support Staff

June 10, 2019 at 10:48 am

Hi Joe,

This can happen if another plugin (or the theme) has flushed your site’s permalinks at an unexpected point.

Go to Dashboard -> Settings -> Permalinks.

You don’t need to do anything, just load that setting page.

Now test one of your links again, does it work now?


jokadesign

June 24, 2019 at 1:26 am

Hi Josh. Sorry to say we ate still having problems with this. Your suggestion works fine, but thus is happening very frequently. In the last week or so the problem has reccurred several times. Can you help?


Josh

  • Support Staff

June 24, 2019 at 7:56 am

Hi Joe,

We can help. Can you post a reply that includes the name of the theme and all active WordPress plugins? We’ll need that list to investigate further.


jokadesign

June 25, 2019 at 1:53 am

Hi Josh

The theme we use is a child theme of Carry Hill 1.3.1.

The plugins are:

Akismet Anti-Spam

All In One SEO Pack

BookingBug plugin

Bricklayer Content Builder

Captcha

Carry Hill

Carry Hill helper plugin

Contact Form by BestWebSoft

Cookie Notice

Cookiebot

Event Espresso

Event Espresso – MER

GDPR

GDPR Cookie Consent

Google Analytics Dashboard for WP (GADWP)

Google Captcha (reCAPTCHA) by BestWebSoft

GZip Ninja Speed Compression

Image Widget

Insert Headers and Footers

LayerSlider WP

Mailchimp for WordPress

MailPoet 2

ManageWP – Worker

Media Cleaner

Really Simple SSL

Restrict Widgets

SendGrid

Site plugin for sassystirrers.com

Wordfence Security

WordPress Importer

WP Add Custom CSS

WP GDPR Compliance

WP Mail Logging

WP Multibyte Patch

WP-DBManager


Josh

  • Support Staff

June 25, 2019 at 7:27 am

Hi,

Most of those plugins are OK. We can narrow down the list of possible causes to a few of the plugins, but it may be the theme. Anything that registers a custom post type is potentially breaking this. Can you share a copy of the theme so we can check there first?


jokadesign

June 25, 2019 at 7:43 am

Hi Josh. Here’s a copy of the theme:

https://drive.google.com/open?id=1-9d1sh1u9slL33zn7r1JCVwd_hGEoAaa


Josh

  • Support Staff

June 25, 2019 at 1:32 pm

Thanks. I checked through the code and found that the theme itself does not call flush_rewrite_rules(). However, its “Carry Hill helper plugin” calls flush_rewrite_rules() twice on plugin activation. A few other plugins used on your site also call flush_rewrite_rules(). These include: MailPoet 2 and Bricklayer Content Builder. MailPoet 2 flushes the rewrite rules when newsletters are saved.

It’s not clear which one (or more) of the plugins are flushing the rewrite rules after Event Espresso adds its post types. I can advise to check the events pages after updating/reactivating any plugins and in the case of MailPoet 2, after working on newsletters. This way if any of those plugins break the rewrite rules, they can be fixed right away by simply visiting the WP > Settings > Permalinks page.


jokadesign

June 27, 2019 at 9:01 am

Hi Josh.Thanks for this advice. However, we don’t use Mailpoet 2. I have deactivated it to prevent further problems. Bricklayer content builder is essential, but we rarely, if ever, actually make any changes to the site other than to EE events, so I’m guessing that is not the culprit. Carry Hill helper is also essential, but again, rarely has any updating/reactivating. So, I still seem to be stuck with having to check the site every day to make sure nothing has caused it to malfunction, and if it has, to re-save the permalinks. The last time this happenend was yesterday, and before that 23rd, 20th, 18th June. I imagine you can understand how impractical that is? Is there any other advice you can offer? Thanks. Joe


Josh

  • Support Staff

June 27, 2019 at 9:20 am

Hi Joe.

I hope you can understand why this is a very difficult issue to troubleshoot, and the fix isn’t simple because we can’t add code that will refresh the permalinks on every request. Your site will come to a halt if you do that.

What you could do is spin up a staging site, and install all of the same plugins & theme. The Duplicator plugin works well for this. Then you’ll have a site where you can try things like deactivate 1/2 of the plugins at a time, use the cloned site as you would the regular site, and drill down to the point where you find the plugin that’s causing the permalinks to refresh prematurely.

Viewing 9 reply threads

The support post ‘event links not working’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso