Warning: Attempt to read property "slug" on null in /home/kir515643/public_html/wp-content/themes/naniwa/functions.php on line 439

Fatal error: Uncaught TypeError: is_exists_sticky_within_samecat(): Argument #1 ($category_slug) must be of type string, null given, called in /home/kir515643/public_html/wp-content/themes/naniwa/functions.php on line 440 and defined in /home/kir515643/public_html/wp-content/themes/naniwa/functions.php:395 Stack trace: #0 /home/kir515643/public_html/wp-content/themes/naniwa/functions.php(440): is_exists_sticky_within_samecat() #1 /home/kir515643/public_html/wp-content/themes/naniwa/functions.php(238): sticky_pre_get_posts() #2 /home/kir515643/public_html/wp-includes/class-wp-hook.php(324): custom__pre_get_posts() #3 /home/kir515643/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #4 /home/kir515643/public_html/wp-includes/plugin.php(565): WP_Hook->do_action() #5 /home/kir515643/public_html/wp-includes/class-wp-query.php(1881): do_action_ref_array() #6 /home/kir515643/public_html/wp-includes/class-wp-query.php(3824): WP_Query->get_posts() #7 /home/kir515643/public_html/wp-includes/class-wp.php(696): WP_Query->query() #8 /home/kir515643/public_html/wp-includes/class-wp.php(816): WP->query_posts() #9 /home/kir515643/public_html/wp-includes/functions.php(1336): WP->main() #10 /home/kir515643/public_html/wp-blog-header.php(16): wp() #11 /home/kir515643/public_html/index.php(17): require('...') #12 {main} thrown in /home/kir515643/public_html/wp-content/themes/naniwa/functions.php on line 395