• Resolved dccreatives

    (@dccreatives)


    Error Details
    =============
    An error of type E_ERROR was caused in line 540 of the file /home/amplifi1/public_html/wp-content/plugins/ip2location-country-blocker/vendor/ip2location/ip2proxy-php/class.IP2Proxy.php. Error message: Uncaught Exception: IP2Proxy\Database: BCMath extension is not installed. in /home/amplifi1/public_html/wp-content/plugins/ip2location-country-blocker/vendor/ip2location/ip2proxy-php/class.IP2Proxy.php:540
    Stack trace:
    #0 /home/amplifi1/public_html/wp-content/plugins/ip2location-country-blocker/ip2location-country-blocker.php(2816): IP2Proxy\Database->open(‘/home/amplifi1/…’, 100001)
    #1 /home/amplifi1/public_html/wp-content/plugins/ip2location-country-blocker/ip2location-country-blocker.php(168): IP2LocationCountryBlocker->get_location(‘8.8.8.8’)
    #2 /home/amplifi1/public_html/wp-includes/class-wp-hook.php(292): IP2LocationCountryBlocker->admin_page(”)
    #3 /home/amplifi1/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(”, Array)
    #4 /home/amplifi1/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #5 /home/amplifi1/public_html/wp-admin/admin.php(259): do_action(‘toplevel_page_i…’)
    #6 {main}
    thrown

    I uninstalled and reinstalled a bunch of times. How do I get it to work again?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter dccreatives

    (@dccreatives)

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.7
    Current theme: Smarthome (version 3.4)
    Current plugin: IP2Location Country Blocker (version 2.25.11) PHP version 7.4.6

    Plugin Author ip2location

    (@ip2location)

    As instructed in the error message, please enable the BCMath extension in your PHP.

    Thread Starter dccreatives

    (@dccreatives)

    Problem is that I cannot install it from cPanel, Looks like the issue is with proxy script. How do I disable that part? It was working fine until I tried to enable it.

    Plugin Author ip2location

    (@ip2location)

    Please contact your hosting provider to enable this extension for you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Critical Error on site’ is closed to new replies.