Open leon-82 opened 5 years ago
Hello,
i can't help to fix this,sorry,
but i can tell that : the bug is real, reproductible, and also that : the metabox of event-categories disappear of the editing page of events.
That second point is quite problematic, because if you want to create a new event with an event-category, you must desactive the plugin.
Thank's a lot for your help.
The solution is here. https://wp-event-organiser.com/forums/topic/rest-api/#post-23398
There’s a typo here: https://github.com/stephenharris/event-organiser-rest-api/blob/a6cfec8cb5e883d003e1951b80228ca9c9d4a143/event-organiser-rest-api.php#L52 The hook should be
eventorganiser_register_taxonomy_event-category
noteventorganiser_register_taxonomy_event-categories
. I’ll update that shortly but you can just apply the change yourself in the mean time.
Hello and thank's a lot,
i came to post your solution, and it's already done,
fantastic,
thank's a lot again !
Hello,
and thank's a lot, it's great, really.
I wish you the best.
Le mer. 30 sept. 2020 à 06:45, RIKU TAKENAKA notifications@github.com a écrit :
The solution is here. https://wp-event-organiser.com/forums/topic/rest-api/#post-23398
There’s a typo here: https://github.com/stephenharris/event-organiser-rest-api/blob/a6cfec8cb5e883d003e1951b80228ca9c9d4a143/event-organiser-rest-api.php#L52 The hook should be eventorganiser_register_taxonomy_event-category not eventorganiser_register_taxonomy_event-categories. I’ll update that shortly but you can just apply the change yourself in the mean time.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/stephenharris/event-organiser-rest-api/issues/4#issuecomment-701153397, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARAWM6TRIIXXRRQ54ZIQNF3SIKZXJANCNFSM4HEL6JBA .
When I try to the following rest route I got an 'rest_no_route' error message: /wp-json/wp/v2/events-categories
Does some of you know how to fix this?
Other routes like /events and /event-tags are working.
Thanks in advance.