Critical Errors when Activating/Deleting Plugin

[ad_1]

Just today I’m gettin a critical error when this plugin is activated, so I tried deleting the plugin and I get an error as well, see below.

Activation Fail Message:

Fatal error: Uncaught Error: Undefined constant "YellowTree\GeoipDetect\DataSources\Fastah\CURL_HTTP_VERSION_2_0"
in /var/www/vhosts/finleysbarbershop.com/httpdocs/wp-content/plugins/geoip-detect/data-sources/fastah.php on line 188

Call stack:

YellowTree\G\D\F\FastahSource::__construct()
wp-content/plugins/geoip-detect/data-sources/fastah.php:279
include_once()
wp-content/plugins/geoip-detect/geoip-detect.php:95
include_once()
wp-admin/includes/plugin.php:2313
plugin_sandbox_scrape()
wp-admin/plugins.php:192
Query Monitor

———————————————-

Fatal error: Uncaught Error: Undefined constant "YellowTree\GeoipDetect\DataSources\Fastah\CURL_HTTP_VERSION_2_0" in /var/www/vhosts/finleysbarbershop.com/httpdocs/wp-content/plugins/geoip-detect/data-sources/fastah.php:188 Stack trace: #0 /var/www/vhosts/finleysbarbershop.com/httpdocs/wp-content/plugins/geoip-detect/data-sources/fastah.php(279): YellowTree\GeoipDetect\DataSources\Fastah\FastahSource->__construct() #1 /var/www/vhosts/finleysbarbershop.com/httpdocs/wp-content/plugins/geoip-detect/geoip-detect.php(95): include_once('...') #2 /var/www/vhosts/finleysbarbershop.com/httpdocs/wp-admin/includes/plugin.php(2313): include_once('...') #3 /var/www/vhosts/finleysbarbershop.com/httpdocs/wp-admin/plugins.php(192): plugin_sandbox_scrape() #4 {main} thrown in /var/www/vhosts/finleysbarbershop.com/httpdocs/wp-content/plugins/geoip-detect/data-sources/fastah.php on line 188

———————————————-

Delete Fail Message:

Deletion failed: .wp-die-message { display: none; } Fatal error: Uncaught Error: Undefined constant "YellowTree\GeoipDetect\DataSources\Fastah\CURL_HTTP_VERSION_2_0"in /var/www/vhosts/finleysbarbershop.com/httpdocs/wp-content/plugins/geoip-detect/data-sources/fastah.php on line 188Call stack:YellowTree\G\D\F\FastahSource::__construct()wp-content/plugins/geoip-detect/data-sources/fastah.php:279include_once()wp-content/plugins/geoip-detect/geoip-detect.php:95include_once()wp-admin/includes/plugin.php:1253uninstall_plugin()wp-admin/includes/plugin.php:958delete_plugins()wp-admin/includes/ajax-actions.php:4668wp_ajax_delete_plugin()wp-includes/class-wp-hook.php:307WP_Hook::apply_filters()wp-includes/class-wp-hook.php:331WP_Hook::do_action()wp-includes/plugin.php:476do_action()wp-admin/admin-ajax.php:187Query MonitorThere has been a critical error on this website.Learn more about troubleshooting WordPress.

My site is info:
### wp-core ###
version: 6.0.3

Thank you for letting me know what I should do.
Darren

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer