Title: Fatal Error Undefined function &#8220;YITH_Plugin_Licence()&#8221;
Last modified: June 3, 2019

---

# Fatal Error Undefined function “YITH_Plugin_Licence()”

 *  [tnchuntic](https://wordpress.org/support/users/tnchuntic/)
 * (@tnchuntic)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/fatal-error-undefined-function-yith_plugin_licence/)
 * YITH WooCommerce Ajax Search – Fatal Error Undefined function “YITH_Plugin_License()”.
   –
   Currently, I need to remove and replace it the premium plugin to fix the fatal
   error, But I am not sure why this function is missing “YITH_Plugin_Licence()”.
   Kindly test and double please to fix this issue.
 * Error Details
    ============= An error of type E_ERROR was caused in line 61 of
   the file /var/www/vhosts/domainname.com/httpdocs/wp-content/plugins/yith-woocommerce-
   ajax-search/plugin-fw/lib/yit-plugin-licence.php. Error message: Uncaught Error:
   Call to undefined function YITH_Plugin_Licence() in /var/www/vhosts/domainname.
   com/httpdocs/wp-content/plugins/yith-woocommerce-ajax-search/plugin-fw/lib/yit-
   plugin-licence.php:61 Stack trace: #0 /var/www/vhosts/domainname.com/httpdocs/
   wp-content/plugins/yith-woocommerce-cart-messages-premium/class.yith-woocommerce-
   cart-messages-premium.php(441): YIT_Plugin_Licence->register(‘yith-woocommerc…’,‘
   eqweqwe12423sdqwe…’, ‘yith-woocommerc…’) #1 /var/www/vhosts/domainname.com/httpdocs/
   wp-includes/class-wp-hook.php(286): YWCM_Cart_Messages_Premium->register_plugin_for_activation(”)#
   2 /var/www/vhosts/domainname.com/httpdocs/wp-includes/class-wp-hook.php(310):
   WP_Hook->apply_filters(NULL, Array) #3 /var/www/vhosts/domainname.com/httpdocs/
   wp-includes/plugin.php(465): WP_Hook->do_action(Array) #4 /var/www/vhosts/domainname.
   com/httpdocs/wp-settings.php(546): do_action(‘wp_loaded’) #5 /var/www/vhosts/
   domainname.com/httpdocs/wp-config.php(82): require_once(‘/var/www/vhosts…’) #
   6 /var/ww
    -  This topic was modified 6 years, 12 months ago by [tnchuntic](https://wordpress.org/support/users/tnchuntic/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-undefined-function-yith_plugin_licence%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [6 years, 12 months ago](https://wordpress.org/support/topic/fatal-error-undefined-function-yith_plugin_licence/#post-11599130)
 * > Currently, I need to remove and replace it the premium plugin
 * For pro or commercial product support please contact the author directly on their
   site. This includes any pre-sales topics as well.
 * As the author is aware, commercial products are [not supported in these forums](https://wordpress.org/support/guidelines/#do-not-post-about-commercial-products).
   I am sure they will have no problem supporting you there.

Viewing 1 replies (of 1 total)

The topic ‘Fatal Error Undefined function “YITH_Plugin_Licence()”’ is closed to 
new replies.

 * ![](https://ps.w.org/yith-woocommerce-ajax-search/assets/icon-128x128.gif?rev
   =3129936)
 * [YITH WooCommerce Ajax Search](https://wordpress.org/plugins/yith-woocommerce-ajax-search/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yith-woocommerce-ajax-search/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yith-woocommerce-ajax-search/)
 * [Active Topics](https://wordpress.org/support/plugin/yith-woocommerce-ajax-search/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yith-woocommerce-ajax-search/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yith-woocommerce-ajax-search/reviews/)

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)
 * [missing function](https://wordpress.org/support/topic-tag/missing-function/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * Last activity: [6 years, 12 months ago](https://wordpress.org/support/topic/fatal-error-undefined-function-yith_plugin_licence/#post-11599130)
 * Status: not resolved