Fatal error when activating the plugin
-
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?
- The topic ‘Fatal error when activating the plugin’ is closed to new replies.