Someone else reported this as a forum topic. I have duplicated it and I'm posting an issue. Hope this is the correct procedure.
forum topic reference: http://drupal.org/node/68472
"Warning: in_array(): Wrong datatype for second argument in
..../modules/contribs/ecommerce/product/product.module on line 703
I'm receiving the above error on the home page. I've updated to 4.7.2 and eccomerce 4.7 . I've searched through the forum and on the web for a solution but am stumped. I have checked content type to make sure at least 1 option was checked. I have also deleted the product module and product table in the DB and reinstalled but keep receiving this error. I have also created a product."
The location listed for this is both rss.xml and /node/feed in my log file.
Perhaps we are both doing something wrong or have something setup incorrectly. All other aspects of ecommerce seem to be functioning.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | specials_array.patch | 774 bytes | sime |
Comments
Comment #1
ajsloan commentedAnyone have any ideas on how to fix this? My error appears only on the front page.
Comment #2
grassdog commentedI am the same phenomina. The reason I found is that I input some product with price 0. I don't know this is not allowed. I even does not want the price field appear.
Comment #3
simeTry this patch.
Comment #4
simehope it helped...
Comment #5
emdeex commentedI'm getting this error as well.
I've tried your patch file, but the error still occurs.
Comment #6
emdeex commentedThe way I "fixed" it, was to delete the affected nodes, and recreate the products. That seems to work now.
Comment #7
simehousekeeping