dasysdev Posted February 3, 2020 Share Posted February 3, 2020 Hi, Prestashop 1.7.3 and possible till 1.7.6 (latest at the moment) in core classes\CheckoutSession.php... public function getCustomerAddressesCount() { return count($this->getCustomer()->getSimpleAddresses( $this->context->language->id, true // no cache )); } getSimpleAddresses is incorrectly called as Customer::getSimpleAddresses($idLang = nulll) has only one parameter. This is not a problems as long as you dont override this function, as the cache parameter will mess the override function You can solve the override with public function getSimpleAddresses($idLang = null, $cache = true) { //code } Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now