Support

Home Forums Event Espresso Premium Event Category Bug

Event Category Bug

Posted: December 9, 2014 at 1:15 pm


Ivan Dyakov

December 9, 2014 at 1:15 pm

Hi,

I have the following issue% when I create an event and publish it there is a strange string assigned to the Event URL in the place where normally shall be a Category slug. When I try to open the event it redirects me to the home page.

Initially I thought that it caused by Cyrillic’s name of the Category but then I tried to rename/create new category in English and that didn’t help.

Here is the link how it looks like.


Lorenzo Orlando Caum

  • Support Staff

December 9, 2014 at 2:35 pm

Hi Ivan, I don’t think I’ve seen an event category within the event URL in the event editor before. Could you provide some steps are how you are setting that up?

The event URL should be similar to this:

example.com/default-events-slug/name-of-event/

or

example.com/events/my-great-event/

Thanks


Lorenzo


Ivan Dyakov

December 9, 2014 at 10:31 pm

Unfortunately I can not tell you the exact action which caused that behavior but firstly I created an event and managed to open that up but after some edit circles the URL was changed on some reason and I can not open the event at front-end anymore. Creation of new event causes the same strange URL assignment with the same issue.


Ivan Dyakov

December 9, 2014 at 10:42 pm

But I noticed that when I initially created a category in Russian it’s shortcode looked similar way (a long strange code). I went to Change Category section and changed Unique ID to English that changed it’s shortcode but didn’t change anything with the event.


Ivan Dyakov

December 9, 2014 at 10:46 pm

One more thing. Somewhere in between creating and editing event I also installed integration plugin for LearnDash but I haven’t tried to really use it together with Event Espresso as that issue appeared.


Ivan Dyakov

December 10, 2014 at 5:00 am

Hi,

As a temporary solution I solved the issue by replacing ‘events’ with ‘workshop’ through Theme’s function.php file (as stated in the documentation).


Tony

  • Support Staff

December 10, 2014 at 9:02 am

Hi Ivan,

Does your theme have an ‘Events’ section within the admin?


Ivan Dyakov

December 10, 2014 at 9:17 am

Hi Tony,

I am not sure that I understood what you mean. Do you mean Events inside Event Espresso in Admin Panel?


Ivan Dyakov

December 10, 2014 at 9:26 am

I still think that the error might be caused by use of Cyrillic’s somewhere. I was translating the plugin including Events strings available there. I just think that when the Event string in the .PO which is also used for as events slug was translated and uploaded to the FTP it replaced English version (maybe this not the case I just guess). And if Cyrillic’s is not fully supported by the plugin then it might cause the issue.

I can delete replacement of Events to Workshops in the Theme and remove my translations then go to Event settings and see what happens then.


Lorenzo Orlando Caum

  • Support Staff

December 10, 2014 at 11:45 am

Hi Ivan,

Some themes reserve the /events/ slug automatically. This is what Tony was referring to.

Were you able to determine how to duplicate the issue?


Lorenzo


Ivan Dyakov

December 10, 2014 at 12:28 pm

Yes, my suggestion confirmed. Apparently you have a reference to ‘events’ URL slug from one of the strings in the PO file. If it is in Cyrillic’s and maybe some other not Latin language that can cause such a problem.

As soon as I delete my PO and MO from Languages directory of the plugin everything works just fine.


Ivan Dyakov

December 10, 2014 at 12:33 pm

I do not really see any reason to have such a reference because you still have the way to replace events by another slug through Theme’s functions.php.


Lorenzo Orlando Caum

  • Support Staff

December 10, 2014 at 12:52 pm

Hi, could you send a copy of your MO & PO file to the address below?

support [at] eventespresso.com

We’ll load it up on a test install and determine the cause.


Lorenzo


Ivan Dyakov

December 10, 2014 at 1:03 pm

I have sent it.


Tony

  • Support Staff

December 10, 2014 at 2:07 pm

Hi Ivan,

When you change ‘events’ to ??????????? you also change the events slug, when you change any slug you need to refresh your permalinks.

So after adding your translation file, did you go to Settings -> Permalinks, make no changes and just hit save?

If not can you try that now and see if you get the same result please?


Ivan Dyakov

December 10, 2014 at 10:48 pm

Tony,

No I didn’t know about that. I have tried that after your suggestion but it didn’t work. But even if that would work that slug is very long and ugly so I do not think that is a good practice to keep it that way. I think it is better to keep all URLs in Latin no matter which language you use.


Lorenzo Orlando Caum

  • Support Staff

December 11, 2014 at 7:43 am

Hi Ivan, we are reviewing a fix for this issue with the development team. We’ll update this post once we have confirmed that fix.


Lorenzo


Ivan Dyakov

December 11, 2014 at 9:25 am

Cool, thanks.


Josh

  • Support Staff

February 16, 2015 at 7:45 pm

Hi Ivan,

This is fixed in Event Espresso 4.6.7.p.


Ivan Dyakov

February 16, 2015 at 9:23 pm

Thanks!


Josh

  • Support Staff

February 16, 2015 at 9:54 pm

You’re welcome. Thanks for helping us track this one down!

The support post ‘Event Category Bug’ 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