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.

CommentFileSizeAuthor
#3 specials_array.patch774 bytessime

Comments

ajsloan’s picture

Anyone have any ideas on how to fix this? My error appears only on the front page.

grassdog’s picture

Component: product.module » -- other --

I 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.

sime’s picture

Status: Active » Needs review
StatusFileSize
new774 bytes

Try this patch.

sime’s picture

Component: -- other -- » product
Status: Needs review » Closed (fixed)

hope it helped...

emdeex’s picture

Status: Closed (fixed) » Active

I'm getting this error as well.

I've tried your patch file, but the error still occurs.

emdeex’s picture

The way I "fixed" it, was to delete the affected nodes, and recreate the products. That seems to work now.

sime’s picture

Status: Active » Closed (won't fix)

housekeeping