Support

Home Forums Event Espresso Premium Event Espresso Category shortcode not working for every category

Event Espresso Category shortcode not working for every category

Posted: April 26, 2014 at 7:24 pm

Viewing 5 reply threads


kapow99504

April 26, 2014 at 7:24 pm

This was working fine last year but a Page I was using to show more than one category with the proper shortcode now only works with one category, the other two categories error out with 500 Server Error, looked at the logs and nothing shows. Using version v3.1.36.5.P.

This works:
http://alaskasoftball.com/tournaments/

This doesn’t:
http://alaskasoftball.com/espresso-test-page/

both use:
[EVENT_ESPRESSO_CATEGORY event_category_id=”CategoryID”]


Tony

  • Support Staff

April 27, 2014 at 10:11 am

Hello,

If you remove the shortcode from that page and update does it then load?


kapow99504

April 29, 2014 at 11:40 am

You mean update the plugin?


Lorenzo Orlando Caum

  • Support Staff

April 29, 2014 at 12:09 pm

Hello,

What is the exact shortcode that is in use on this page:

http://alaskasoftball.com/espresso-test-page/

Could you go ahead and remove it and then save changes?


Lorenzo


kapow99504

April 29, 2014 at 12:13 pm

[EVENT_ESPRESSO_CATEGORY event_category_id=”mens”]

was on the page, I’ve removed it and saved the changes


Tony

  • Support Staff

April 29, 2014 at 12:51 pm

There’s a few causes for this.

I would recommend backing up now so that if something goes wrong you can at least revert back to this state. We have a guide available here:

https://eventespresso.com/wiki/how-to-back-up-your-site/

and/or copying the site locally to test there.

I would start by enabling WP_Debug on the site and see if any errors are thrown on the page.

Do any of the events within the “mens” category contain an Event Espresso shortcode within the description?

Such as the [EVENT_ESPRESSO_CATEGORY event_category_id=”mens”] calling an event with [EVENT_LIST] within the description, causing an infinite loop.

The event espresso templates have been modified and as such it could be one of those modifications, the simplest way to check for this is to temporarily rename the wp-content/uploads/espresso/templates to something else, such as templates-temp, then reload the page with the shortcode and see if it loads the events.

(note that whilst this directory has been renamed all EE customised templates across the site will not be used and the defaults within event-espresso/templates/ will be used to display the events)

Viewing 5 reply threads

The support post ‘Event Espresso Category shortcode not working for every category’ 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