Skip to:
Content
Pages
Categories
Search
Top
Bottom

Page not found in terms taxonomy for non usres

  • Avatar of prakashhalder
    Prakash Halder
    Participant

    @prakashhalder

    I have a WordPress site with Buddypress plugin in WildCommunity theme.
    Successfully custom taxonomy was created and the respective terms were added from admin panel.
    “get_the_term_list” function was working fine in activity loop when the user is logged in, same code is showing error
    WP_Error Object
    (
    [errors] => Array
    (
    [invalid_taxonomy] => Array
    (
    [0] => Invalid taxonomy
    )

    )

    [error_data] => Array
    (
    )

    )

    when the user is not logged in. if we write custom code to show the terms that case I am getting page not found error in taxonomy page, but all are working fine while I am logged in and showing
    Array
    (
    [0] => stdClass Object
    (
    [term_id] => 1018
    [name] => Book Store
    [slug] => book-store
    [term_group] => 0
    [term_taxonomy_id] => 1052
    [taxonomy] => books-26
    [description] =>
    [parent] => 0
    [count] => 2
    )

    )

    Please help me to solve this problem

    Thanks & regard
    Prakash

You must be logged in to reply to this topic.