Called to undefined error

Posts: 15
Joined: 05/08/2008

Here is my site:
http://svea.djuxe.com

Some users (not me) have gotten the following error message when they enter the site:

Fatal error: Call to undefined function _uc_cart_product_get_options() in /home/djuxecom/public_html/svea/modules/uc_taxes_price/uc_taxes_price.module on line 111

The strange thing is how only some get it, and some dont. Any ideas on how I can fix this? Would be forever greatful if anyone could help me with this!

Thanks!
//Elias

Posts: 15
Joined: 05/08/2008

Any ideas why only some users see the error and some (most?) dont?

Do you experience the error when you enter the site?

Posts: 6
Joined: 08/08/2008

I went to your site and didn't get the error. My environment is Mac OS X 10.3.9 using Firefox 2, in case that ends up being a factor. Good luck!

Posts: 5269
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Not really sure... I didn't get the error either. Is the module that's causing the error a custom module or something you downloaded here? I'm not familiar with it.

Posts: 6
Joined: 09/04/2008

When using the uc_taxes_price.module the uc_attribute.module needs to be enabled to provide the function _uc_cart_product_get_options.

The uc_taxes_price.info needs to be added with the uc_attribute to the dependencies like this:

; $Id$
name = Value Added Tax price alter
description = Allow store owner to manage product price without VAT and add VAT price only for display.
dependencies = uc_store uc_product uc_taxes uc_attribute
package = "Ubercart - core (optional)"