When running pressflow 6.22 with E_NOTICE on, I get:

Notice: Undefined index: #node in mp_products_form_alter() (line 127 of /../sites/all/modules/ubercart_marketplace/mp_products/mp_products.module).

Comments

drupaltechontech’s picture

Any update on this issue please? I'm also facing error. I cant create custom view due to above error. Please help for any work around. Thanks

wizonesolutions’s picture

Version: 6.x-1.0-beta1 » 6.x-1.x-dev
Status: Active » Needs review

This patch fixes it. It's against the latest development version.

drupaltechontech, this error is almost certainly not your problem. It was a benign error arising because a particular check to see if the form on the current page should be changed by the module *always* checked for $form['#node'], and most of the time it didn't exist. It didn't account for that by using isset(), so I made it.

wizonesolutions’s picture

Ah. Forgot the patch!

drupaltechontech’s picture

Thanks Sir, it is working with your path.

longwave’s picture

Status: Needs review » Fixed

Fix backported from 7.x-1.x and committed.

Status: Fixed » Closed (fixed)

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