PHP Depreciated warnings
-
Hi there, thanks for the great plugin! Hoping to get a couple minor fixes in the next release so we don’t need to fix ourselves. This if for version 2.0.8.1.
class-wphp-payment-gateway-paypal.php on line 49 (change _vnp_ to _nvp_)
protected $paypal_vnp_api_sandbox_url = null;
should be:
protected $paypal_nvp_api_sandbox_url = null;
class-wphp-cart.php on line 501 (cart_totals_exclude_tax isn’t declared, change it to cart_total_exclude_tax)
// refresh cart_totals_exclude_tax $this->cart_totals_exclude_tax = $this->cart_total_exclude_tax();
should be:
// refresh cart_total_exclude_tax $this->cart_total_exclude_tax = $this->cart_total_exclude_tax();
class-wphp-block-template-config.php on line 14 (should be $block_templates)
protected $block_template = array();
should be:
protected $block_templates = array();
Thanks so much!
- The topic ‘PHP Depreciated warnings’ is closed to new replies.