I keep getting this error whenever I try to add a new product:
Fatal error: Call to undefined function uc_price() in /home/haleysta/public_html/ponyology.com/sites/all/modules/ubercart/uc_product/uc_product.module on line 1525
Help!

Comments

hollybeary’s picture

Additional info: The product does get added but whenever you try to click on it and view the node, the same error message comes up again.

rszrama’s picture

Category: bug » support
Status: Active » Fixed

Make sure your upgrade works properly and that you have the file uc_store/includes/uc_price.inc. It sounds like maybe you had a faulty upgrade or a missing file. This code exists in the release, so it could be some other module conflicting with your Ubercart code. For further support, please refer to the support forums at Ubercart.org. I think you'll get it back in working order soon enough. : )

john_johnsonpixels.com’s picture

Additional information.

I am having the same issue.
Checked the that the include file existed and that the code existed in the file.

This is a test site with Domain Access and Domain UC_Domain loaded. I assume that it is possible that UC_Domain is somehow messing this up, I am going to check that issue queue.

If anyone has any suggestions as to where I can look, I'd appreciate it.

Thanks,

John

Progression’s picture

Okay. I have a temporary fix for this one site I'm doing. I disabled metags module.

I tried to do it this way:
http://www.ubercart.org/forum/support/12660/uc_productmodule_error

However, I could not find the area to take off the teaser with metatags. This needs to be disengaged (at least that's what ubercart says).

If you have found the way to find that global setting please tell us here. As for now disabling is a temporary fix.

hollybeary’s picture

Category: support » bug
Status: Fixed » Active

I also just discovered that it's the meta tags module that is causing the problem. Turned off the module and it doesn't happen anymore.
Hope it's fixed in the next release, meta tags and kinda important for the site I'm working on right now. Glad we figured out why it's happening.

Progression’s picture

Yes. But luckily google's current algorithm ignores meta tags for the time being. Crucial for Yahoo and the like... 85% of consumers is better than none.

rszrama’s picture

Status: Active » Fixed

If you search this queue or the forums, you'll find that we've addressed this problem multiple times. Lyle's gone so far as to submit a patch to the Meta Tags module to take care of it. There's nothing more we can do until they release a version with the fix in it.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.