On a fresh install of Drupal 6.13 and Ubercart 2.x rc4 I receive this on modules list:
warning: Missing argument 1 for uc_alternative_price_menu() in C:\wamp2\www\uber\sites\all\modules\uc_alternative_price\uc_alternative_price.module on line 84.

On product edit when I add feature > alternative price I receive this error:
Fatal error: Call to undefined function db_next_id() in C:\wamp2\www\uber\sites\all\modules\uc_alternative_price\uc_alternative_price.module on line 455

CommentFileSizeAuthor
#2 uc_alternative_price.patch629 bytesgollyg

Comments

brandonratz’s picture

Title: Error Messages » Ubercart Alternative Price Error Messages
gollyg’s picture

Status: Active » Needs review
StatusFileSize
new629 bytes

Seems the Drupal 5 signature for hook_menu was being used to add CSS.
Attached patch moves it to hook_init, and should remove the error message

gollyg’s picture

Status: Needs review » Active

Oops, I see there is dev work going on here. Ignore patch - it is only the tip of the iceberg!

Cheers

greggles’s picture

Status: Active » Closed (duplicate)

@gollyg: Did you see #489618: Converting module to 6.x?

Can you help work in that thread?

gollyg’s picture

Yep, saw it after i posted the patch. Will try to test the current patched version and feedback.