I tried to disable Commerce Coupon and I get a WSOD and a broken site and

PHP Fatal error: Call to undefined function commerce_coupon_type_get_name() in /sites/all/modules/commerce_feeds/plugins/FeedsCommerceCouponProcessor.inc on line 71

Comments

pcambra’s picture

Status: Active » Fixed

I pushed a change to fix this, but I couldn't consistently reproduce the problem :(

Status: Fixed » Closed (fixed)

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

Horroshow’s picture

Status: Closed (fixed) » Active

Got the same fatal error after disabling Commerce Coupon 1.0 beta 7.

pcambra’s picture

Status: Active » Closed (fixed)

Please try the -dev version

Funksmaname’s picture

Issue summary: View changes

uuh, i just got the same problem and now locked out of the site.
I was using beta 7, but now downloaded and replaced the -dev from the bottom of the page;
Last updated: September 30, 2013 - 16:54
Last packaged version: 7.x-1.0-beta7+9-dev

I was trying coupon, it didn't work in that on the checkout page entering the coupon got the little ajax icon up but nothing was applied or saved. I'm using 'domains' module, dunno if that's relevant.

so i was going to try v2 of coupon, but turning off the module made this problem appear.
Here is the wamp error page if it helps:
http://i.share.pho.to/6f99380f_o.png

Any advice appreciated!!
D.

Funksmaname’s picture

Version: 7.x-1.3 » 7.x-1.x-dev
Status: Closed (fixed) » Needs work
Funksmaname’s picture

I managed to get back into my site by re-enabling commerce_coupon directly in phpmyadmin

weird disabling it breaks the site though, this is the first time I've ever had a module do this! I was going to try v2 after uninstalling but i'm now stuck with v1

incidentally, I thought the module wasn't working because I only tried a custom percentage coupon type which didn't update the price and did nothing on ajax update - but I've now tried the stock percentage coupon type and that works as expected...

kuydigital’s picture

Same thing happened to my site. How can I restore it? I don't see the module in my PhpMyAdmin.

Please help.

elvizzi’s picture

This issue has also caused me much grief...glad it's not just me. Any body have luck with a fix. I suspect if I succesfuly restore by site I could disable commerce_feeds first and then coupons.

elvizzi’s picture

Disabling commerce_feeds before coupons worked by the way.