Support

Home Forums Event Espresso Premium Unable to edit Venue

Unable to edit Venue

Posted: January 15, 2020 at 9:38 pm

Viewing 11 reply threads


jtnoel

January 15, 2020 at 9:38 pm

When I open the Venues section and click on the “edit” link for a specific venue, I receive the following error: “Cannot load espresso_venues.”


Tony

  • Support Staff

January 16, 2020 at 6:39 am

Hi there,

When you say the Venues section do you mean Event Espresso -> Venues?
Or are you using WP Native routes to view venues?

I’m guessing when you click to create a new Venue you get the same error?

As your clicking edit, at some point you were able to create Venues, have you installed and new plugins, changed themes, updates since then?


Josh

  • Support Staff

January 16, 2020 at 6:40 am

Hi,

This is a known issue with the Log Emails plugin:
https://eventespresso.com/wiki/known-third-party-plugin-theme-conflicts/#log_emails

If you do not have the Log Emails plugin activated on your website, then it may be another WP plugin causing the same symptom. In which case you can troubleshoot by following this guide:

https://eventespresso.com/wiki/troubleshooting-checklist/


jtnoel

January 16, 2020 at 8:14 am

Okay, I put the site into troubleshooting mode and started activating plugins and testing the Venue editing functionality. It’s EventOn that is causing the problem. I followed your EventOn fix and that DID NOT solve the problem. I am on the latest version of EventOn and the latest version of Event Espresso. I would like to use both of these plugins.


Josh

  • Support Staff

January 16, 2020 at 10:18 am

I’m not aware of a fix for EventOn when it destroys the Venue editor route. That’s been reported once before and the problem wasn’t reproduced on a dev site.

What EventOn fix are we talking about?


jtnoel

January 16, 2020 at 10:20 am

The EventOn fix on your website regarding both EventOn and Event Espresso using the same slug. My EventOn now uses a different slug. But obviously that fix didn’t address the issue with venues. I am happy to provide a log into my admin section (and I will enable the EventOn plugin) so that you can see the issue. But it’s clearly an issue.


Josh

  • Support Staff

January 16, 2020 at 11:09 am

Yeah that’s a fix for an entirely different issue (the conflict between EventOn using /events/, and Event Espresso also using /events/ for the events custom post type).

The issue you’re having is with the Venue editor route. Can you get us a copy of the EventOn plugin so we can troubleshoot on a dev site? We generally try to avoid troubleshooting on customer’s sites.


jtnoel

January 16, 2020 at 11:25 am

Okay, so right now, this is not a HUGE deal because the site I am working on has only one venue (conference). So I can enable EventOn, even though I won’t be able to edit the venue because I won’t be editing the venue. BUT, and this is a big but, I am getting ready to launch a new member portal for my organization that will utilize Event Espresso for our meeting registration. That’s a lot of different venues. And we use EventOn expressly for our calendaring needs so I will absolutely need to have EventOn enabled at all times. Happy to work with you on fixing this but definitely need to get it addressed relatively soon.


jtnoel

January 16, 2020 at 11:26 am

Sorry, I should have refreshed the page first. Yes, I can send you a copy of the plugin. Let me know how I can do that.


Josh

  • Support Staff

January 16, 2020 at 11:27 am

If you can upload a copy of the latest version of EventON to a file share like Dropbox or something, then share the download link here, we can dig into the EventOn plugin.


jtnoel

January 18, 2020 at 10:56 am

This reply has been marked as private.


Tony

  • Support Staff

January 20, 2020 at 7:27 am

Hi JT,

eventON is changing globals that aren’t set on the request by default, specifically in this case it’s changing the $typenow now global to the post_type set on the request.

The problem with doing that is $typenow basically changes how the admin request is processed within WordPress, so when WP can’t find a way to process espresso_venues (due to the change in $typenow) it kills the request because in short, it has no idea what else to do.

To workaround this you’ll need to add this snippet to you site:

https://gist.github.com/Pebblo/8b8d1968f39ce90530b6c1e447541d77

You can add that to a custom functions plugin on your site, we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

That snippet just sets the $typenow global back to an empty string when your editing espresso_events.

Viewing 11 reply threads

The support post ‘Unable to edit Venue’ 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