Posted: October 30, 2015 at 7:35 am
|
Hi, I noticed in version 4.8.18.p (I have now updated to 4.8.19.p) that occasionally I get error messages, which are followed by a redirection to the URL /events/. The page at /events/ is displayed blank even though I have 4 events. Is this normal? Thanks, |
Hi Jay, No that is not normal. When you say blank do you mean a whitescreen? Or can you see your theme just no events are displayed? Do you have details of the error message you saw and when this would happen? |
|
|
Hi Tony, I see my theme but there is no page content. I’m afraid I don’t recall the exact error, I was doing a lot of testing. But presumably that URL should list all my events? |
|
This may not be related, but I have this in my logs: [29-Oct-2015 13:17:50 UTC] WordPress database error Unknown column ‘event_start_date’ in ‘order clause’ for query SELECT SQL_CALC_FOUND_ROWS nbbe_posts.*, nbbe_esp_datetime.* , nbbe_esp_event_meta.* FROM nbbe_posts INNER JOIN nbbe_term_relationships ON (nbbe_posts.ID = nbbe_term_relationships.object_id) INNER JOIN nbbe_esp_datetime ON ( nbbe_posts.ID = nbbe_esp_datetime.EVT_ID ) LEFT JOIN nbbe_esp_event_meta ON ( nbbe_esp_event_meta.EVT_ID = nbbe_posts.ID ) WHERE 1=1 AND ( |
|
(I do NOT get this error when I view the /events/ page – I don’t know what triggered this) |
Start by flushing your permalinks. Go to Dashboard -> Settings -> Permalinks. Make no changes and just click save. If you enable WP_DEBUG do you see any errors on that page? |
|
|
Hi Tony, I did both those things: no change to the page and no errors output. :-/ Jay |
Do you have a page called ‘events’ and/or is your theme an events based theme with its own events section? Does the singe event view work as expected? I’m wondering if there is a conflict with the ‘events’ slug which is causing this, you could try changing the Event Slug within Event Espresso -> Events -> Templates. To something other than events and flushing your permalinks again, then visit that new slug and see if the EE events are displayed. |
|
Hi Jay, that isn’t the expected behavior. The issue that you described here (https://eventespresso.com/topic/events-page-blank/#post-178723) was already corrected and should not occur in the current release. On what page are you being redirected from? Would you happen to be using any plugins that offer a redirect feature? — |
|
|
Thanks for your replies. I have narrowed it down to a conflict with the theme I’m using, although I don’t know exactly what the conflict is, all other Event Espresso pages work fine. |
Have you tried changing the EE events slug from above? If it works it means your theme likely registers its own ‘events’ and is using /events/ so when you visit that slug your theme hooks in and tries to display its own events. Make sense? |
|
|
Yes, sorry, I didn’t mention that I did try to change the slug. I changed it to a random string but the page was still displayed without any content. Works fine with another theme. |
Hmmm, that’s strange. Is this a custom theme or one you have purchased from a theme shop? If purchased, which theme is it? |
|
|
Hi Tony, Custom theme, outsourced, not very well made. I suspect it doesn’t follow the WP guidelines. Can you tell me, are there situations in which people will be taken to that page by Event Espresso? It is not linked to anywhere on our content. Jay |
If you are only using core, then no you should not be directed to the /events/ list page but it is where all of your events should be listed which means you will need to link directly to all of your single events manually. However if at any point you want to use Multi Event Registration that will link to the event list. Have you tried searching within the themes functions.php file for ‘events’ to see if anything comes up there? |
|
|
Thanks Tony. I’m only using core at the moment, and no, I can’t find any references to ‘events’ anywhere in the theme files. |
Hi Jay, One way to troubleshoot this is systematically disable individual theme functions that look suspicious and test for that redirect. For example, if a theme function is hooking on the template_redirect action, that’d be a good one to try first where you’d comment out the line of code that hooks the function to the action. |
|
The support post ‘Events page blank’ 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.