Thanks for the coupon module. It seems like what I've been looking for. I got the following error message after installing the module. Please help. I'm using Drupal 6.16.

Warning: Call-time pass-by-reference has been deprecated in /home/content/k/c/t/kay/html/deals
/modules/coupon_product/coupon_product.module on line 294

Comments

kayusee’s picture

Thank you for your response and assistance. I made the correction like you suggested by replacing &$node with $node in the file and the error message went away. However, a new error message came up after I tried to create a coupon product:

Fatal error: Cannot access empty property in /home/content/k/c/t/kay/html/deals/includes/common.inc on line 3469

Furthermore, amount of discount (value) in dollars was empty after the coupon product was created.

Thank you for your time.

wallbay1’s picture

SUBSCRIBING

alexd73’s picture

Status: Active » Patch (to be ported)

You must delete symbol & on line 294 in "&$node"

kayusee’s picture

The error I'm referencing above is a different error message. This comes from common.inc file.The detail of the error I'm getting can be found below, please help :

Fatal error: Cannot access empty property in /home/content/k/c/t/kay/html/deals/includes/common.inc on line 3469

wallbay1’s picture

subscribing