Skip to content

error 500 using polylang #33

@antoniostarace

Description

@antoniostarace

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions