Support

Home Forums Event Espresso Premium Event List page breaks site (EE4)

Event List page breaks site (EE4)

Posted: March 10, 2014 at 11:49 am

Viewing 10 reply threads


Joshua Nadal

March 10, 2014 at 11:49 am

I just installed EE4 for the first time on my organization’s website. I had the Lite version installed previously, but I deleted it before installing EE4.

Right away, I got the “A potential issue has been detected with one or more of your Event Espresso pages. Go to Event Espresso Critical Pages Settings to view your Event Espresso pages” error message. But I don’t see any errors. The first four pages listed all have a “Page Status OK, Shortcode OK” status. The “Event List” page has no such message next to it, however there is not an error message either.

When I view the page (http://www.cfact.org/events/) it takes me to a page but fails to load the WordPress bar or page footer. Other pages, such as Registration-Checkout load fine.

Site information:
WordPress 3.8.1
EE4 4.1.8.reg
Brand new installation, but even though I deleted the Lite plugin files before installing EE4, it said it detected a previous installation. I chose to ignore the old data.


Lorenzo Orlando Caum

  • Support Staff

March 10, 2014 at 11:53 am

Hi Joshua,

You may need to make a slight adjustment to the shortcodes for Event Espresso 4.

Do you have an existing WordPress page with a slug of “events”?

If so, could you completely remove that page or remove any Event Espresso shortcodes on that page and edit the slug so that it is something other than “events?”

Then please go to Settings –> Permalinks and re-save the permalinks.


Lorenzo


Joshua Nadal

March 10, 2014 at 1:01 pm

No, prior to EE4 there was no existing WP page with a slug of “events”. In fact, the page looks like that (broken) even if I delete the EE4 events page containing the shortcode. Actually, that’s how I initially found it, and I tried fixing it by creating a page with the proper shortcode, but it didn’t do anything.

Still, I tried what you suggested, but it hasn’t had any effect.

I also just discovered another problem that may or may not be related: The venue page is improperly injecting the venue information into the theme’s Precontent area. See here: http://www.cfact.org/venues/embassy-suites-minneapolis-airport/. I can start a separate thread for that if you think it is unrelated.


Josh

  • Support Staff

March 10, 2014 at 1:20 pm

Hi Joshua,

This looks like there may be a conflict with the current theme. Can you check something out really quick? If you install the theme test drive plugin and “test drive” one of the WP default themes you can verify whether this is a theme conflict or not. If it turns out that it is a theme conflict, there may be a way to work around this issue by making a few tweaks to some templates.


Joshua Nadal

March 10, 2014 at 1:33 pm

Josh,

Yeah, I actually just tried that a few minutes ago, and it does appear to be a theme conflict. Our theme, Flare, creates a “Precontent” area populated using a [precontent] shortcode in the body of a page. EE4 appears to be inserting content that belongs in the body into the precontent area. Another example:

http://www.cfact.org/events/march-sunny-side-up-breakfast-club/

It’s worth noting that the “Lite” version of the EE plugin handled things just fine, so there must be something different in how EE4 interacts with theme templates. If you point me toward the relevant files, I’ll take a look and see if I can figure out what the issue is.

Unless you already have a solution in mind, which would be even better! I really appreciate the quick responses so far. Thanks!


Josh

  • Support Staff

March 10, 2014 at 1:54 pm

Hi Joshua,

The lite version doesn’t have support for custom post types, that’s why you’re seeing a difference with Event Espresso 4. Event Espresso 4 uses custom post types for events and venues.

What you may find that works is you create a child theme then copy everything over from the /templates/Espresso_Arabica_2014 folder into your child theme.

From there, you’ll change lines 4 and 14 of style.css so it points to your theme instead of twentyfourteen. Then you’ll likely want to tweak the following templates so they match the same structure as your theme’s standard page template:

archive-espresso_events.php
archive-espresso_venues.php
single-espresso_events.php
single-espresso_venues.php


Joshua Nadal

March 10, 2014 at 2:10 pm

Ok, great. I already use a child theme, so that shouldn’t be a problem. I’ll take a whack at it over the next day or two and post back here with how it goes.


Joshua Nadal

March 10, 2014 at 2:14 pm

Ok, I’ll change lines 4 and 14 of which file?


Josh

  • Support Staff

March 10, 2014 at 2:23 pm

Hi again,

It would have been style.css where you point it to the parent theme. Since you already have a child theme in place you’ll skip that step and optionally copy over the style rules after the @import rule to your child theme’s style.css file.


Joshua Nadal

March 10, 2014 at 2:36 pm

Ah, yes, of course.


Joshua Nadal

March 10, 2014 at 3:49 pm

Alright, looks like we are back in business. Thanks for the direction, after updating the templates you listed to match our theme’s structure, things are working again.

Thanks again for the quick responses!


Dean

March 11, 2014 at 3:33 am

I’m glad it is all working now. I will mark this thread as resolved. If there are any further issues, please create a new forum thread.

Viewing 10 reply threads

The support post ‘Event List page breaks site (EE4)’ 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