Closed (fixed)
Project:
Ubercart
Version:
6.x-2.0-rc6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Aug 2009 at 19:36 UTC
Updated:
9 Sep 2009 at 13:30 UTC
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
Comment #1
hollybeary commentedAdditional 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.
Comment #2
rszrama commentedMake 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. : )
Comment #3
john_johnsonpixels.com commentedAdditional 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
Comment #4
Progression commentedOkay. 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.
Comment #5
hollybeary commentedI 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.
Comment #6
Progression commentedYes. 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.
Comment #7
rszrama commentedIf 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.