Posted: 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. |
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 — |
|
|
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. |
|
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. |
|
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. |
|
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). |
Hi Ivan, Does your theme have an ‘Events’ section within the admin? |
|
|
Hi Tony, I am not sure that I understood what you mean. Do you mean Events inside Event Espresso in Admin Panel? |
|
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. |
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? — |
|
|
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. |
|
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. |
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. — |
|
|
I have sent it. |
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? |
|
|
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. |
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. — |
|
|
Cool, thanks. |
Hi Ivan, This is fixed in Event Espresso 4.6.7.p. |
|
|
Thanks! |
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.