better-rest-endpoints icon indicating copy to clipboard operation
better-rest-endpoints copied to clipboard

error 500 using polylang

Open antoniostarace opened this issue 7 years ago • 0 comments

Hi, I have an issue with your plugin.

I set a custom post type "dishes" and a custom taxonomy "tax_menu" with two terms "gavitella" and "light-snacks". What I want is to create Menus and associate dishes to them.

If I use the route example "better-rest-endpoints/v1/{taxonomy}/{term}", which in my case is HOME/wp-json/better-rest-endpoints/v1/tax_menu/light-snacks I get an error 500.

I use polylang to manage translations and I found that disabling it solves the issue but I can not understand why. I know that polylang uses taxonomy and terms to assign langs to posts, could it be the problem? What do you suggest? Thank you.

antoniostarace avatar Mar 12 '19 13:03 antoniostarace