Title: Undefined variable $taxonomy
Last modified: June 27, 2022

---

# Undefined variable $taxonomy

 *  Resolved [werfewr](https://wordpress.org/support/users/werfewr/)
 * (@werfewr)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/undefined-variable-taxonomy/)
 * Hi! I have following warning in wp query monitor:
 * Plugin: translatepress-developer
 * Location:
 *     ```
       wp-content/plugins/translatepress-developer/add-ons-advanced/seo-pack/includes/class-slug-manager.php:1058
       TRP_IN_SP_Slug_Manager->change_term_slug_var_in_request()
       wp-content/plugins/translatepress-developer/add-ons-advanced/seo-pack/includes/class-slug-manager.php:1113
       TRP_IN_SP_Slug_Manager->change_term_slug_var_in_query()
       wp-includes/class-wp-hook.php:307
       do_action_ref_array('pre_get_posts')
       wp-includes/class-wp-query.php:1805
       WP_Query->get_posts()
       wp-includes/class-wp-query.php:3586
       WP_Query->query()
       wp-includes/class-wp-query.php:3718
       WP_Query->__construct()
       wp-content/plugins/happyfiles-pro/includes/data.php:197
       HappyFiles\Data::get_folders()
       wp-content/plugins/happyfiles-pro/includes/shortcode.php:512
       HappyFiles\Shortcode::get_folders_ordered()
       wp-content/plugins/happyfiles-pro/includes/shortcode.php:82
       HappyFiles\Shortcode->register_block()
       wp-includes/class-wp-hook.php:307
       do_action('init')
       wp-settings.php:598
       ```
   
 * Undefined variable $taxonomy
 * How can I fix this? Thanks!
    -  This topic was modified 3 years, 11 months ago by [werfewr](https://wordpress.org/support/users/werfewr/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fundefined-variable-taxonomy%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [Anghel Emanuel](https://wordpress.org/support/users/anghelemanuel99/)
 * (@anghelemanuel99)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/undefined-variable-taxonomy/#post-15778310)
 * Hello there,
 * Thank you for letting us know about this!
 * We already know about this issue and we fixed it the error will disappear in 
   the next update which will be this week.
 * Have a great day!
 * Kind Regards,

Viewing 1 replies (of 1 total)

The topic ‘Undefined variable $taxonomy’ is closed to new replies.

 * ![](https://ps.w.org/translatepress-multilingual/assets/icon.svg?rev=3166541)
 * [TranslatePress - Translate Multilingual sites with AI Translation](https://wordpress.org/plugins/translatepress-multilingual/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/translatepress-multilingual/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/translatepress-multilingual/)
 * [Active Topics](https://wordpress.org/support/plugin/translatepress-multilingual/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/translatepress-multilingual/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/translatepress-multilingual/reviews/)

## Tags

 * [undefined variable](https://wordpress.org/support/topic-tag/undefined-variable/)

 * 1 reply
 * 2 participants
 * Last reply from: [Anghel Emanuel](https://wordpress.org/support/users/anghelemanuel99/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/undefined-variable-taxonomy/#post-15778310)
 * Status: resolved