Singular Event 404 error
-
Hello,
On a site I manage we recently started having problems displaying singular events. I’m receiving 404 errors on all events. I’ve determined this is not caused by a plugin by disabling all plugins and the issue persists.
When I switch the permalink structure to default, they do work. My desired permalink structure is “Post Name”, and I do have some other functionality on the site that is built on the assumption that the permalinks will be structured this way.
When reviewing the 404 knowledgebase article (https://theeventscalendar.com/knowledgebase/fixing-http-404-errors/) I believe my issue is related to the attachment 404 issue. I added both the debug and attachment fix to my child theme’s functions.php file. When viewing the debug with permalinks set to “Post Name” the wp query is looking for an attachment. When I have permalinks set to default, the query has the correct query variables to retrieve the event in question.
I have tried flushing my permalinks after applying the 404 fix to my functions.php with no success. Below is a link to an event with the debug output. The site uses both WP Fastest Cache and Yoast SEO plugins, however both are disabled currently to help simplify things.
Any help in tracking down the cause of this issue would be greatly appreciated.
http://www.ushartford.com/event/summer-religious-ed/2017-07-23/?tribe_query_debug=true
P.S. I’ll add that this seems to be limited to recurring events–which unfortunately is 90%+ of the events in the system.
P.P.S. I realized I have version 4.5.8 of the Events Calendar and 4.4.3 of the Events Calendar Pro. Maintenance subscription of Pro just expired a couple weeks ago so I have not attempted updating it to the latest version. Could this possibly be causing the issue?
The topic ‘Singular Event 404 error’ is closed to new replies.