Geting error in post and category [closed] August 27, 2022 by Tarik Billa $cat = $cat[0]->cat_ID; of course if $cat is not empty