Designinfo.in Posted August 12, 2017 Share Posted August 12, 2017 When anyone tries to place an order from my website (Prestashop 1.6.1.7) from MAC - Safari or Iphone - Safari browser, the following error is displayed: Trying to get property of Non Object in tools.php on line 768 & 769 This error is shown before the button 'I confirm my Order' is clicked on the top of the page. When the person is redirected to the payment gateway and error with 'oops' is displayed. On line 768 & 769 in tools.php the following codes are there: $c_id = (is_array($currency) ? $currency['id_currency'] : $currency->id); $c_rate = (is_array($currency) ? $currency['conversion_rate'] : $currency->conversion_rate); To BE NOTED: This error is not there in Google Chrome & Mozilla Firefox. This error is only there for Safari browser for iPhone & MAC. P.S. No changes were made in tools.php by me. Decimals are used for INR Currency. Payment Gateway Module is - PayZapp HDFC Payment Gateway. Error Screenshot & tools.php has been attached. Tools.php 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