Support » Plugin: Category SEO Meta Tags » Undefined index and constants [fix]

  • In category-seo-meta-tags.php

    Line 92: Check if variable is set first
    Before: $taxonomies = $csmt_options[‘csmt_taxonomies’];
    After: $taxonomies = ( isset($csmt_options[‘csmt_taxonomies’]) ? $csmt_options[‘csmt_taxonomies’] : false);

    Lines 510 & 511: use of undefined constant, wrap your function calls in (‘)
    Before:
    add_filter(‘aioseop_category_title’,show_category_title);
    add_filter(‘aioseop_tag_title’,show_tag_title);

    After:
    add_filter(‘aioseop_category_title’,’show_category_title’);
    add_filter(‘aioseop_tag_title’,’show_tag_title’);

    http://wordpress.org/extend/plugins/category-seo-meta-tags/

  • The topic ‘Undefined index and constants [fix]’ is closed to new replies.