You can see PHP fatal error on uc_ajax_cart/add/item page after posting data if module Ubercart Product attributes not used. Need to check Product attributes module in your hook_add_to_cart().

Sorry for my bad English

Comments

Assigned:Ser_Mir» stewart.adam
Status:Patch (to be ported)» Fixed
Issue tags:+6.x-2.2 blocker

Thank you for reporting this, this will be fixed in the latest dev that will be released shortly.

In the mean time, you will see in uc_ajax_cart_add_to_cart() there is this line:

if (module_exists('uc_cart_links')) {

simply changing it to:

if (module_exists('uc_attribute')) {

works around the problem for now.

Worked for me!

Great! This will be included in the 6.x-2.2 release. In the mean time, please use dev.

Status:Fixed» Closed (fixed)

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

Status:Closed (fixed)» Active

sorry, just want to know did you add this to repo? I can't find it!

Sorry about that, you're right - looks like I committed this locally and forgot to push it out. Done now.

Status:Active» Fixed

I have queued 6.x-2.2 for release.

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

Issue summary:View changes

add details