WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
Fatal Error on custom taxonomy titles (3 posts)

  1. Agnes
    Member
    Posted 2 years ago #

    I have just upgraded WP 3.4.1 and Yoast plugin 1.2.5.
    I enjoyed seeing it now explains how to set titles and descriptions for custom posts & taxonomies.
    However, I fail to get it work, and actually get an error :(

    I have a custom taxonomy called 'collection(s)' (created with Types).
    So I put title:
    %%ct_collection%% collection - Morija Museum & Archives @ %%sitename%%
    And description:
    %%ct_desc_collection%%
    (I tried with both 'collection' and 'collections'.
    In both case, when I render my page, it says (and I tried with several collection pages):

    Fatal error: Cannot use object of type WP_Error as array in mysite.com\wp-content\plugins\wordpress-seo\inc\wpseo-functions.php on line 208

    I found out the problem relates to the description. When I only set the title, it renders correctly.
    I checked my descriptiosn they dont have anything sepcial....
    Any idea?

    Thanks, Agnes

    http://wordpress.org/extend/plugins/wordpress-seo/

  2. Agnes
    Member
    Posted 2 years ago #

    PS: strangely, if I put %%category_description%% instead of the custom tax one, it seems to work :)

  3. Agnes
    Member
    Posted 2 years ago #

    ps: I love this plugin. A pity I cant vote for it twice :)
    (I know I know, I should donate! I think I have)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.