Title: Fatal error when activating the plugin
Last modified: August 31, 2016

---

# Fatal error when activating the plugin

 *  Resolved [Luis Martins](https://wordpress.org/support/users/lmartins/)
 * (@lmartins)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-when-activating-the-plugin-2/)
 * I followed the instruction on the WordPress plugin repo, where it says that WP
   Term Meta is required.
    Once I installed both plugins when I go to the add Term
   page or try to edit an existing Term I get the following error:
 * Fatal error: Call to undefined function wp_get_attachment_image_url() in /Users/
   luismartins/Sites/alpenglow-expeditions/wp-content/plugins/wp-term-images/includes/
   class-wp-term-images.php on line 142 Call Stack #TimeMemoryFunctionLocation 10.0022359824{
   main}( )../edit-tags.php:0 20.997544748328do_action( )../edit-tags.php:528 30.997644750096call_user_func_array:{/
   Users/luismartins/Sites/alpenglow-expeditions/wp-includes/plugin.php:505} ( )../
   plugin.php:505 40.997644750272WP_Term_Meta_UI->add_form_field( )../plugin.php:
   505 50.997844750440WP_Term_Images->form_field( )../class-wp-term-meta-ui.php:
   504
 * I’ve also noticed that on the plugin Github repo it says that since WordPress
   4.4 the WP Term Meta is not longer a requirement, which makes sense since WordPress
   has already term meta built in.
 * I now can’t successfully deactivate and reactivate the plugins. Once I try to
   reactivate WP Term Image I get the following fatal error:
    `Fatal error: Class'
   WP_Term_Meta_UI' not found in /Users/luismartins/Sites/site/wp-content/plugins/
   wp-term-images/includes/class-wp-term-images.php on line 20`
 * Any tips of what might be going wrong?
 * [https://wordpress.org/plugins/wp-term-images/](https://wordpress.org/plugins/wp-term-images/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [Luis Martins](https://wordpress.org/support/users/lmartins/)
 * (@lmartins)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-when-activating-the-plugin-2/#post-7097011)
 * Nevermind, this was related with a problem with my WordPress local install. Sorry
   again.
 *  Plugin Author [John James Jacoby](https://wordpress.org/support/users/johnjamesjacoby/)
 * (@johnjamesjacoby)
 * [10 years ago](https://wordpress.org/support/topic/fatal-error-when-activating-the-plugin-2/#post-7097370)
 * No worries. Thanks for following up!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fatal error when activating the plugin’ is closed to new replies.

 * ![](https://ps.w.org/wp-term-images/assets/icon-256x256.png?rev=1534007)
 * [WP Term Images](https://wordpress.org/plugins/wp-term-images/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-term-images/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-term-images/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-term-images/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-term-images/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-term-images/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [John James Jacoby](https://wordpress.org/support/users/johnjamesjacoby/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/fatal-error-when-activating-the-plugin-2/#post-7097370)
 * Status: resolved