By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,083 Members | 2,237 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,083 IT Pros & Developers. It's quick & easy.

PHP Fatal error: Unsupported operand types

P: 2
in functions_taxes.php on line 172

here's lines 169-172 from functions_taxes.php

Expand|Select|Wrap|Line Numbers
  1. // Calculates Tax rounding the result
  2. function zen_calculate_tax($price, $tax) {
  3. global $currencies;
  4. return $price * $tax / 100;
Apr 13 '14 #1
Share this Question
Share on Google+
3 Replies


P: 28
i could just see you did not close the brace.upload your entire code.
Apr 14 '14 #2

P: 2
Hi techboy,

Thank you for your input. I think the problem is solved.

My apologies for not presenting my problem correctly. I am not very knowledgeable when it comes to coding.
Apr 14 '14 #3

P: 28
you must always present the error lines as well as the error to get your doubt solve asap!
Apr 15 '14 #4

Post your reply

Sign in to post your reply or Sign up for a free account.