Title: Getting Error Message
Last modified: April 16, 2023

---

# Getting Error Message

 *  [babarali124](https://wordpress.org/support/users/babarali124/)
 * (@babarali124)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/getting-error-message-22/)
 * Hi,
 * I have installed the plugin and also added a custom field to category
 * the custom field is desc2. Then I copied the code from installation and pasted
   it into the function.php file, but I am getting this error on page, how can i
   display that desc2 field data on the category page?
 * Error : **Notice**: Undefined variable: category_id in **/home/bwornumk/wowdeals360.
   com/wp-content/themes/kadence/functions.php** on line **36**
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgetting-error-message-22%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Getting Error Message’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-custom-taxonomy-meta_4c878c.svg)
 * [Category and Taxonomy Meta Fields](https://wordpress.org/plugins/wp-custom-taxonomy-meta/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-custom-taxonomy-meta/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-custom-taxonomy-meta/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-custom-taxonomy-meta/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-custom-taxonomy-meta/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-custom-taxonomy-meta/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [babarali124](https://wordpress.org/support/users/babarali124/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/getting-error-message-22/)
 * Status: not resolved