Having this issue : when activating the plugin the wordpress dashboard stops working ("Critical error, check your inbox for instructions" text) and I get this from the logs:
==================
Se ha producido un error del tipo E_ERROR en la línea 3266 del archivo /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/pgs-woo-api/inc/tgm-plugin-activation/core/class-tgm-plugin-activation.php. Mensaje de error: Uncaught Error: Call to undefined function __esc_html__() in /var/www/vhosts/gruposurdeldescanso.com/httpdocs/wp-content/plugins/pgs-woo-api/inc/tgm-plugin-activation/core/class-tgm-plugin-activation.php:3266
Stack trace:
#0 /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/pgs-woo-api/inc/tgm-plugin-activation/core/class-tgm-plugin-activation.php(3253): TGMPA_Bulk_Installer->activate_strings()
#1 /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/pgs-woo-api/inc/tgm-plugin-activation/core/class-tgm-plugin-activation.php(2980): TGMPA_Bulk_Installer->__construct()
#2 /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/pgs-woo-api/inc/tgm-plugin-activation/core/class-tgm-plugin-activation.php(745): TGMPA_List_Table->process_bulk_actions()
#3 /var/www/vhosts/domain.com/httpdocs/wp-includes/class-wp-hook.php(310): TGM_Plugin_Activation->install_plugins_page()
#4 /var/www/vhosts/domain.com/httpdocs/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#5 /var/www/vhosts/domain.com/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
#6 /var/www/vhosts/domain.com/httpdocs/wp-admin/admin.php(259): do_action()
#7 /var/www/vhosts/domain.com/httpdocs/wp-admin/themes.php(10): require_once('...')
#8 {main}
thrown