Support

Home Forums Event Espresso Premium Events page blank

Events page blank

Posted: October 30, 2015 at 7:35 am

Viewing 16 reply threads


Jay

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,
Jay


Tony

  • Support Staff

October 30, 2015 at 7:37 am

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?


Jay

October 30, 2015 at 7:48 am

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?


Jay

October 30, 2015 at 7:51 am

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 (
nbbe_term_relationships.term_taxonomy_id IN (17)
) AND nbbe_posts.post_type = ‘espresso_events’ AND (nbbe_posts.post_status = ‘publish’ OR nbbe_posts.post_status = ‘cancelled’ OR nbbe_posts.post_status = ‘postponed’ OR nbbe_posts.post_status = ‘sold_out’) GROUP BY nbbe_posts.ID ORDER BY event_start_date ASC LIMIT 0, 10 made by require(‘wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts


Jay

October 30, 2015 at 7:55 am

(I do NOT get this error when I view the /events/ page – I don’t know what triggered this)


Tony

  • Support Staff

October 30, 2015 at 8:04 am

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?


Jay

October 30, 2015 at 8:51 am

Hi Tony,

I did both those things: no change to the page and no errors output. :-/

Jay


Tony

  • Support Staff

October 30, 2015 at 9:14 am

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.


Lorenzo Orlando Caum

  • Support Staff

October 30, 2015 at 9:16 am

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?


Lorenzo


Jay

November 2, 2015 at 5:18 am

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.


Tony

  • Support Staff

November 2, 2015 at 6:04 am

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?


Jay

November 2, 2015 at 6:29 am

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.


Tony

  • Support Staff

November 2, 2015 at 6:36 am

Hmmm, that’s strange.

Is this a custom theme or one you have purchased from a theme shop?

If purchased, which theme is it?


Jay

November 2, 2015 at 6:46 am

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


Tony

  • Support Staff

November 2, 2015 at 8:12 am

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?


Jay

November 4, 2015 at 1:39 am

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.


Josh

  • Support Staff

November 4, 2015 at 7:17 am

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.

Viewing 16 reply threads

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.

Event Espresso