Posted: November 11, 2019 at 4:23 am
|
Hi I reported this a while ago, and it’s still a big problem. See the link to the previous post: https://eventespresso.com/topic/click-on-events-view-details-producing-404-error/ Flushing the permalinks works every time, but I’m having to do it every few days, usually because a client complains. It needs fixing. Advice please Thanks. |
Hi there, As mentioned in your previous thread, we’ll need a list of all of the installed plugins on the site. It is usually caused by another plugin flushing permalinks at an unexpected time during the request, if it is happening regularly with a set pattern then it is likely linked to some scheduled task running via cron. |
|
|
This reply has been marked as private. |
I’m not sure when I said that, but as this is an intermittent/scheduled issue that may not help fix/show the plugin responsible, once the rewrite rules are broken (permalinks flushed ‘incorrectly’) they’ll need a proper flush so de-activate all plugins and reactivating may not help.
For screenshots you need to host the image and post the link here, we have some examples of how you can do that here: https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots
Sure, however, note that we would require a support token to troubleshoot this directly on the site as this is likely from another plugin, it’s not EE breaking its own rewrite rules. If you mean so we can take a look over which plugins are installed etc then you can send login details using this form: |
|
|
This reply has been marked as private. |
|
Hi Tony Did you see my last post, with a link? Joe |
Yes, I did thank you. We’ve been investigating and whilst we can’t narrow down a specific plugin currently, we are looking to see if we can bulletproof EE’s permalinks a little more to prevent it from happening. No ETA just yet but we are looking into it. |
|
|
OK, thanks. Just to let you know, it happened again this morning. The client reported the 404 error. As has become routine, I resaved the permalinks to clear the fault. Looking forward to progress. |
|
Happened again, this morning. My client is talking about changing to BookWhen, as this issue has been bugging us for so long. I’m keen to stay with EE but it’s her call. Please let me know what progress we might expect. |
Hi, I’m not sure if this is something we can fix as it’s very specific to your site. For example, let’s say there’s something like a custom functions file in the theme that’s refreshing the rewrite rules when a post is updated. Having something like that would cause the error every time they updated the post. The fix in that case would be to remove that code. As Tony mentioned that were looking at ways to bulletproof EE a bit that could prevent this if it were a case of another plugin refreshing the rewrite rules too early in the request. We have that change in a branch of Event Espresso. If you’d like to try that branch out, it’s available to download here. The branch is almost identical to the current version of EE4, so you could deactivate the current version of EE4 and install that one instead to see if it makes any difference on your site. |
|
|
This reply has been marked as private. |
The version Josh linked to is almost identical to the ‘release’ version so yes it is easy to revert to, although you’ll need FTP access to the site. Here is how I would do it. Download the above .zip file and then go to Dashboard -> Plugins -> Add new -> Upload plugin. Upload the above .zip file but do not activate it. Using FTP on the server navigate to You’ll see Rename Then rename If you do that quickly enough Event Espresso will stay active and you’ll have switched to the above branch, if not, simply activate it. It will show as To revert back you can rename what is now |
|
|
Hi Tony. Many thanks for this. Unfortunately, I have only just got around to trying out your advice and the file you sent is producing an error message: “The link you followed has expired. |
Hi there, May I ask which link? The link Josh provided above is still working for me. |
|
|
Well, technically, it’s not a link but a download (I have downloaded the file to my Mac successfully). The file Josh sent is producing that error message when I try to install it in WordPress. |
Sorry but I’m not sure I follow. Can you post the steps you are taking? The download should give you a .zip file (if is not a .zip then your mac is automatically extracting it, zip it again so you have a .zip file). Then you upload the .zip in: Dashboard -> Plugins -> Add new -> Upload plugin. That section shouldn’t show a “The link you followed has expired. |
|
Hi Joe, If you’re using Safari on the Mac, you’ll either need to: When you go to install a plugin using the WordPress Plugin uploaded, the file format must be a zip file. WordPress will not upload an unzipped folder. |
|
|
Hi Ok, I have installed the new version of EE that you sent me. I now have a problem with 404 errors on EE pages, and also permalink problems. If I set permalinks to post names, none of the EE pages work. Can you please advise or assist? Thanks. |
|
This reply has been marked as private. |
You actually can use the option to change from It looks like you’re having other problems going on with your site though, because every page I try returns either a 404 or a 403 error. |
|
|
Hi Josh. You’ll recall the only reason we’ve installed the new version of EE is to try to alleviate the sporadic, but regular 404 errors we were having with the old version. Something to do with cron(?). Now we have the new version installed it’s much worse. No longer a sporadic fault, but a constant one. In your view, is this proof then, of a clash with another plugin? I was hoping the new version would be more bullet-proof!? Advice appreciated. We are now in a position where EE is not working at all, and there is an alert suggesting we need to add the license key, even though it is already in place. I do not have the necessary knowhow to deal with this myself. If I send you the WP login credentials, would you be able to troubleshoot? Thanks. Joe |
Hi Joe, It actually appears that post name permalinks are not working on your site. Event Espresso appears to be allowing bookings, but there’s a difference now in that today the site is using default permalinks. There may be a plugin on your site (not a clash per se, but a plugin that breaks with WP standards for setting up rewrite rules) that prevents permalinks from working, or it could be a server setting (like the apache mod_rewrite rules are not set up correctly). Has your developer been able to troubleshoot this? Generally we do not troubleshoot issues that happen at the server level or are caused by other plugins. If the trouble happens with the default theme and all other plugins are deactivated we could investigate further though. |
|
The support post ‘404 error post name permalinks’ 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.