Closed (fixed)
Project:
eC Live Subproducts
Version:
5.x-2.07
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
31 May 2007 at 22:56 UTC
Updated:
20 Jun 2007 at 22:33 UTC
Getting two warning messages on each cart submit:
# warning: Invalid argument supplied for foreach() in /httpdocs/modules/ecommerce/ec_live_subproducts/ec_live_subproducts.module on line 627.
# warning: Invalid argument supplied for foreach() in /httpdocs/modules/ecommerce/ec_live_subproducts/ec_live_subproducts.module on line 1052.
Nice module.
-Greg
Comments
Comment #1
brmassa commentedGreg,
how can i replicate this issue?
massa
Comment #2
greg@beargroup.com commentedadmin/settings/error-reporting and set write errors to log and screen and you'll see these on every cart submit. On my site at least.
They are just warning messages, but would be good to get cleaned up I think. Not sure where they are being generated from.
Comment #3
brmassa commentedGreg,
is the errors still there on the this release 2.08?
massa
Comment #4
greg@beargroup.com commentedYes, getting 2 loops of warnings when a product is added to the cart - look like this:
Comment #5
brmassa commentedGreg,
I thought pparent variable were only used by subprodudcts/EC live subproducts. What Ecommece modules are you using? List all please.
anyway... fixed on CVS.
regards,
massa
Comment #6
brmassa commentedGreg,
another request: look into you ec_product table for pparent different from 0. what kind of product are they?
massa
Comment #7
greg@beargroup.com commentedThanks. No longer getting these warnings with the CVS release.
All ptypes are ec_live_subproducts_tangible in the ec_product table. I am using CCK to add a couple fields if relevant.
Ecomm version is V.3, using these modules:
> All ecomm core, except subproduct API.
> authorize.net
> tangible subproduct, tangible product
> address, shipcalc, Tax api
Comment #8
brmassa commentedGreg,
you can use now 2.09.
its strange. somehow you got subproducts without any attribute...
well...
massa
Comment #9
greg@beargroup.com commentedThanks kindly, appreciate all the rapid updates.
Comment #10
brmassa commented