• Resolved conca.daniele

    (@concadaniele)


    hi,
    looks like in function get_the_rcno_book_schema_data -> get_the_rcno_taxonomy_terms -> get_the_term_list, all taxonomies fails retrieving terms with a WP Error “invalid_taxonomy”; $review_id is populated and taxonomies are

    • rcno_author
    • rcno_genre
    • rcno_publisher

    WP is 4.9.9, PHP is 7.2 and plugin version is 1.26.1

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter conca.daniele

    (@concadaniele)

    follow-up:

    found that changing slug for taxonomies causes the invalid_taxonomy error. this could be considered as a bug: with custom slugs taxonomies are broken.

    btw, having a slug as “author” (for tax rcno_author) which is the default slug for WP accounts seems not a good choice really.

    sorry for double posting, i’ve missed the “edit” link…

    Plugin Author Kemory Grubb

    (@w33zy)

    Hello,

    I am familiar with how this bug can arise. It mainly has to do with me allowing users to pick their own custom taxonomy slugs. It is a feature that I should have removed a long time ago but I am afraid of breaking the feature for those who are already using it.

    Basically, whats happening is this… Google is specifically looking for the string “publisher”, “author” and “series” in the book JSON-LD markup. I have hardcoded how look for these data. So when a user changes the publisher slug to a custom slug, it breaks things as I am specifically looking for “rcno_publisher”.

    BTW… I am very familiar with how WordPress uses the “author” string, that is why every one of the taxonomies used by Recencio is prefixed with “rcno_” to avoid clashes with WordPress core and other plugins.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Book Schema error, from invalid taxonomies’ is closed to new replies.