Title: Error when using sub-categories
Last modified: August 21, 2016

---

# Error when using sub-categories

 *  [sammylh](https://wordpress.org/support/users/sammylh/)
 * (@sammylh)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/error-when-using-sub-categories/)
 * For some reason, certain subcategories give this error: Catchable fatal error:
   Object of class WP_Error could not be converted to string in /home2/slholt/public_html/
   wp-content/plugins/slick-doc-it/includes/di-functions.php on line 370
 * However, when the subcategory only, instead of the subcategory along with it’s
   parent, is selected, it works fine. This wouldn’t be a problem at all, but it
   creates some strange issues with the order of the documents since some of them
   are working correctly and some of them aren’t. Just wondering if this is a known
   error or if it’s something strange. Thank you!
 * [https://wordpress.org/plugins/slick-doc-it/](https://wordpress.org/plugins/slick-doc-it/)

The topic ‘Error when using sub-categories’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/slick-doc-it_c1c2bd.svg)
 * [Doc It (Documentation)](https://wordpress.org/plugins/slick-doc-it/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/slick-doc-it/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/slick-doc-it/)
 * [Active Topics](https://wordpress.org/support/plugin/slick-doc-it/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/slick-doc-it/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/slick-doc-it/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [sammylh](https://wordpress.org/support/users/sammylh/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/error-when-using-sub-categories/)
 * Status: not resolved