Support » Plugin: Yoast SEO » plugin dies when processing %%ct_desc_%%

  • Joy

    (@joyously)


    I see the support has changed recently, but I just wanted to report a problem that could be handled more elegantly.
    The Help tab of the Titles & Metas section says I can use %%ct_desc_<custom-tax-name>%% which is “Replaced with a custom taxonomoies description”.

    So, using the Easy Digital Downloads plugin which creates the “download” post type and the “download_category” and “download_tag” taxonomies, I put %%ct_desc_download_category%% in the box for the Meta description template on the Taxonomies tab under the Categories taxonomy (not the post category, but the download category).

    With this in place, the plugin dies on the meta description line when I click on a taxonomy link. No error is logged (that I could see) and it looks like a blank page, but viewing the source of the page shows it stopped on the meta description tag.

    Changing %%ct_desc_download_category%% to %%term_description%% works perfectly.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • jrf

    (@jrf)

    Hi Joy,

    To debug this, it would be really useful to see which error messages are being thrown.

    Have a look at this code which you can add to your wp-config.php file.
    It will log any and all php errors to a file, independently of whether you have WP_DEBUG set to true. That way you can keep track of PHP issues on a live website.

    I’d be very interested to hear if any errors relating to this issue show up in the log.
    Be aware: logging errors will generally scare the living daylights out of most people as they suddenly start realising how many plugins are throwing errors….

    Hope this helps!

    Smile,
    Juliette

    jrf

    (@jrf)

    Looked into it a bit already and I think I’ve fixed it, but would still very much like to see the actual error messages to verify.

    I’ve send my fix to Yoast as a pull request, should hopefully make it into the next version.

    %%ct_desc_%% no work for my, some news about update?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘plugin dies when processing %%ct_desc_%%’ is closed to new replies.