• Resolved kotovvv

    (@kotovvv)


    php 5.5.30

    Fatal error: Uncaught exception ‘InvalidArgumentException’ with message ‘public_key is empty’ in /home/proekts/domains/proekts.berdicheva.net/public_html/wp-content/plugins/easy-liqpay/SDK/LiqPay.php:50 Stack trace: #0 /home/proekts/domains/proekts.berdicheva.net/public_html/wp-content/plugins/easy-liqpay/core/classes/ELiqPayProcess.php(10): LiqPay->__construct(NULL, NULL) #1 /home/proekts/domains/proekts.berdicheva.net/public_html/wp-content/plugins/easy-liqpay/core/classes/ELiqPayProcess.php(52): ELiqPayProcess->__construct(NULL, NULL) #2 /home/proekts/domains/proekts.berdicheva.net/public_html/wp-content/plugins/easy-liqpay/easy-liqpay.php(71): require_once(‘/home/proekts/d…’) #3 /home/proekts/domains/proekts.berdicheva.net/public_html/wp-admin/includes/plugin.php(1934): include(‘/home/proekts/d…’) #4 /home/proekts/domains/proekts.berdicheva.net/public_html/wp-admin/plugins.php(164): plugin_sandbox_scrape(‘easy-liqpay/eas…’) #5 {main} thrown in /home/proekts/domains/proekts.berdicheva.net/public_html/wp-content/plugins/easy-liqpay/SDK/LiqPay.php on line 50

    https://wordpress.org/plugins/easy-liqpay/

Viewing 1 replies (of 1 total)
  • in file ELiqPayProcess.php(wp-content/plugins/easy-liqpay/core/classes/ELiqPayProcess.php) insert code

    if (!$private_key){
    	$private_key = 1;
    }
    if (!$public_key){
    	$public_key = 1;
    }

    before last line with code new ELiqPayProcess($public_key, $private_key);

    must be look like this

    $private_key = elp_get_option('private_key');
    $public_key = elp_get_option('public_key');
    if (!$private_key){
    	$private_key = 1;
    }
    if (!$public_key){
    	$public_key = 1;
    }
    
    new ELiqPayProcess($public_key, $private_key);
Viewing 1 replies (of 1 total)

The topic ‘not activate’ is closed to new replies.