Automattic / Automattic/babble

"Fatal error: Uncaught Exception: Please specify a target term_id in" Problem installing with Kale Theme

Open
#364 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
PHP
Stars
250
Forks
44
PR merge metrics
No merged PRs in 30d

Description

Fatal error: Uncaught Exception: Please specify a target term_id in /home/clients/afeb839f1278ecfeb3528e39437581aa/seo/wp-content/plugins/babble-master/class-taxonomy.php:926 Stack trace: #0 /home/clients/afeb839f1278ecfeb3528e39437581aa/seo/wp-content/plugins/babble-master/class-taxonomy.php(376): Babble_Taxonomies->get_transid(NULL) #1 /home/clients/afeb839f1278ecfeb3528e39437581aa/seo/wp-includes/class-wp-hook.php(288): Babble_Taxonomies->get_terms(Array) #2 /home/clients/afeb839f1278ecfeb3528e39437581aa/seo/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array) #3 /home/clients/afeb839f1278ecfeb3528e39437581aa/seo/wp-includes/taxonomy.php(1121): apply_filters('get_terms', Array, Array, Array, Object(WP_Term_Query)) #4 /home/clients/afeb839f1278ecfeb3528e39437581aa/seo/wp-includes/taxonomy.php(1914): get_terms(Array) #5 /home/clients/afeb839f1278ecfeb3528e39437581aa/seo/wp-content/plugins/babble-master/class-taxonomy.php(929): wp_get_object_terms(Array, Array, Array) #6 /home/clients/afeb839f1278ecfeb3528e39 in /home/clients/afeb839f1278ecfeb3528e39437581aa/seo/wp-content/plugins/babble-master/class-taxonomy.php on line 926

Contributor guide

Open the contributing guide

Research direction

Reproduce the Kale Theme installation failure and trace the call from WordPress get_terms through Babble_Taxonomies::get_terms in class-taxonomy.php at line 376 to get_transid and line 926. Determine why the target term_id is NULL in this path, then verify that taxonomy queries no longer raise the reported exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend, internationalization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.