Support » Fixing WordPress » undefined variable category

  • Resolved Jay

    (@fectio1)


    undefined variable category. Im getting this error with debug turned on.

    elseif (is_archive()) {
    		         wp_title(''); echo $category[0]->cat_name . ''; }

    Any suggestions? Thanks.

  • The topic ‘undefined variable category’ is closed to new replies.