I get few error messages while I'm submitting a webform form because the statuses box is trying to apply a new post to statuses box on the same time.

CommentFileSizeAuthor
#1 webform-error-2134831-1.patch659 byteslauriii
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

lauriii’s picture

FileSize
659 bytes

I have a patch here to hide the errors, I'll look for a better solutions later.

IceCreamYou’s picture

Status: Active » Postponed (maintainer needs more info)

What are the error messages you get?

lauriii’s picture

Status: Postponed (maintainer needs more info) » Needs work

These are the errors I'm getting:

Notice: Trying to get property of non-object in statuses_box() (row 149 in sites/all/modules/statuses/includes/utility/statuses.form.inc).
Notice: Trying to get property of non-object in statuses_box() (row 150 in sites/all/modules/statuses/includes/utility/statuses.form.inc).
Notice: Trying to get property of non-object in statuses_box() (row 150 in sites/all/modules/statuses/includes/utility/statuses.form.inc).

  • IceCreamYou committed 52e8573 on 7.x-1.x
    Issue #2134831 by lauriii, IceCreamYou: Error message while submitting...
IceCreamYou’s picture

Status: Needs work » Fixed

Thanks for the patch. Your fix didn't work because $rs wasn't initialized by the time you checked it, but I committed a fixed version.

Status: Fixed » Closed (fixed)

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