wp_list_categories() – Trying to get property of non-object
-
execute this code
wp_list_categories('title_li=&show_option_none=false&child_of=' . $category->cat_ID . '&depth=1&number=99¤t_category=1');
but it returned next
<b>Notice</b>: Trying to get property of non-object in <b>mysite/wp-includes/category-template.php</b> on line <b>1025</b>
….
<b>Notice</b>: Trying to get property of non-object in <b>mysite/wp-includes/category-template.php</b> on line <b>1025</b>PS:
define(‘WP_DEBUG’, true);
define(‘WP_DEBUG_DISPLAY’, true);easy way to swtch off this values but need fix core error
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘wp_list_categories() – Trying to get property of non-object’ is closed to new replies.