Fatal error: Uncaught Error: Call to undefined function wc_wp_theme_get_element_class_name() in /home4/lepap/public_html/site/wp-content/plugins/yith-woocommerce-wishlist/includes/class-yith-wcwl-add-to-wishlist-button.php:927
Stack trace:
#0 /home4/lepap/public_html/site/wp-content/plugins/yith-woocommerce-wishlist/includes/class-yith-wcwl-add-to-wishlist-button.php(911): YITH_WCWL_Add_To_Wishlist_Button::get_data_to_localize()
#1 /home4/lepap/public_html/site/wp-content/plugins/yith-woocommerce-wishlist/includes/class-yith-wcwl-shortcode.php(50): YITH_WCWL_Add_To_Wishlist_Button::maybe_register_scripts()
#2 /home4/lepap/public_html/site/wp-includes/class-wp-hook.php(324): YITH_WCWL_Shortcode::register_gutenberg_blocks('')
#3 /home4/lepap/public_html/site/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#4 /home4/lepap/public_html/site/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#5 /home4/lepap/public_html/site/wp-settings.php(695): do_action('init')
#6 /home4/lepap/public_html/site/wp-config.php(96): require_once('/home4/lepap/pu...')
#7 /home4/lepap/public_html/site/wp-load.php(50): require_once('/home4/lepap/pu...')
#8 /home4/lepap/public_html/site/wp-blog-header.php(13): require_once('/home4/lepap/pu...')
#9 /home4/lepap/public_html/site/index.php(17): require('/home4/lepap/pu...')
#10 {main}
thrown in /home4/lepap/public_html/site/wp-content/plugins/yith-woocommerce-wishlist/includes/class-yith-wcwl-add-to-wishlist-button.php on line 927