• Resolved deeman001

    (@deeman001)


    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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Benjamin Pick

    (@benjamin4)

    Which PHP version are you using?
    Please try uploading 5.1.1 manually, this should fix the problem.

    Thread Starter deeman001

    (@deeman001)

    Hi Benjamin,
    I’ll try to uploading manually

    Server architecture
    Linux 3.10.0-042stab144.1 x86_64

    Web server
    Apache

    PHP version
    8.1.11

    Thread Starter deeman001

    (@deeman001)

    Benjamin, the new version worked for me. Thanks for the quick reply.

    Darren

    Plugin Author Benjamin Pick

    (@benjamin4)

    Perfect!

    I have tried the above steps and I am still getting this error. Is there anything else I can try here?

    We are currently running 8.0

    • This reply was modified 1 year, 7 months ago by shaunhaage.
    Plugin Author Benjamin Pick

    (@benjamin4)

    Can you post the PHP error you are seeing, please?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Critical Errors when Activating/Deleting Plugin’ is closed to new replies.