Active
Project:
Ubercart Marketplace
Version:
6.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Jul 2010 at 04:54 UTC
Updated:
12 Jan 2012 at 05:56 UTC
Jump to comment: Most recent file
Comments
Comment #1
syndicateStorm commentedProbably similar in nature but definitely unrelated. Do you have any other information regarding this bug. I don't really see anything pop out at me if I look at the code. Maybe something on the amdin side isn't setup properly with regards to quotes?
Comment #2
Zombie777 commentedThanks for the reply, sorry I haven't checked back sooner. Not sure what to look for, I am just installing for the first time trying to setup an ubercart store with marketplace and figuring things out. I get the customer side email on checkout, but I am assuming it is the store side email that is failing. I'll add more info to the store info but nothing looks like a problem.
Comment #3
ferrum commentedThe warning: 'Invalid argument supplied for foreach() in <your drupal location>/sites/all/modules/ubercart_marketplace/mp_quote/mp_quote.module on line 325.' will raise on http://www.yourdomain.com/cart/checkout/complete after submitting an order. This results if mp_quotes is not enabled on http://www.yourdomain.com/admin/store/settings/quotes/methods (using dev version)
Comment #4
wanneng commentedI have enabled the mp_quotes, but still have the error:
' The warning: 'Invalid argument supplied for foreach() in /sites/all/modules/ubercart_marketplace/mp_quote/mp_quote.module on line 325.'
Comment #5
dmf7 commentedI'm having the exact same error messages:
* warning: Invalid argument supplied for foreach() in .../modules/ubercart_marketplace/mp_quote/mp_quote.module on line 325.
and then when it redirects back to my site after customer makes paypal payment with wps I get this error message:
* Unable to send e-mail. Please contact the site administrator if the problem persists.
at this point, my website just keeps trying to load and doesn't ever load the entire page.. weird. but the payment goes through.
did this ever get figured out?
Comment #6
stevenjay commentedI am having the same error as well. It happens for me when I am purchasing a non-shippable product.
This fixes the error but I am not sure about any side effects? I am guessing it is ok, in my case anyway, since it is trying to save shipping info when there is none to save.
.../modules/ubercart_marketplace/mp_quote/mp_quote.module
line 324
remove: if ($op == 'submit') {
insert: if (isset($_SESSION['mp_quote_rate']) && ($op == 'submit')) {
Comment #7
ndf commentedThe module 'U.S. Postal Service' is required by mp_quote.
That module adds a required field 'Shipping quote method' to the product node.
When I set this field to 'Flat Rate' the error disappears and notification e-mail to sellers are sended.
You can set this field manually, but it might be easier to set it with the 'node_save()' hook.
Could you test this method manually first?
Comment #8
miaoulafrite commented+1
i'm having the problem as well
Comment #9
scottsawyerGetting this error as well. Have not tried solution in #6, but I do not have any shippable items in my store, so I may try it.
Has anyone else?