Sign Up for OSTraining

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: webform with rules

webform with rules 11 months 4 days ago #49120

  • blueblot
  • blueblot's Avatar
  • OFFLINE
  • OSTar
  • Posts: 146
  • Karma: 0
Hi everyone

I'm using webform with rules to send a confirmationmail to the (anonymous) user who filled out the form.

So I added an action with the 'to parameter' [data:email-value].

This works fine, email gets sent to admin and user who filled in the form. But on the next page (after hitting sent by user) the user gets this error message:

Notice: Undefined index: #webform_component in theme_webform_element_text() (line 2751 of /home/qualityclo/domains/qualitycloud.be/public_html/sites/all/modules/webform/webform.module)

suggestions?

thx

blueblot
Please become a member of OSTraining to reply to this post.

webform with rules 11 months 3 days ago #49158

  • steve
  • steve's Avatar
  • OFFLINE
  • Administrator
  • Posts: 3040
  • Thank you received: 162
  • Karma: 26
Hi blueblot

This definitely sounds like a conflict between the two modules.

I see similar errors produced by people using Ubercart and Webform together.

This sounds like it's very similar:

"the issue was that my module was trying to display the value of the submitted field on the order view page and whenever the corresponding token was inserted."
drupal.org/node/1462986#comment-5801072

Does it help if you stop the email value from showing on the next page?
Ask. We'll help. It's as simple as that.

Follow us on Twitter - twitter.com/ostraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

webform with rules 11 months 3 days ago #49161

  • blueblot
  • blueblot's Avatar
  • OFFLINE
  • OSTar
  • Posts: 146
  • Karma: 0
Hi Steve

I'm not showing anything on the next page. I'm just saying 'thx for submitting' :)

I only want the mailvalue to be used to sent a confirmation mail to.

Kris
Please become a member of OSTraining to reply to this post.

webform with rules 11 months 2 days ago #49213

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3106
  • Thank you received: 7
  • Karma: 0
Hi Kris,

Have you found this thread? drupal.org/node/1463056

Seems to point to an issue that needed a bug fix. Are you also using Ubercart? There are some issues with this related to Ubercart.

Ed
Please become a member of OSTraining to reply to this post.

webform with rules 11 months 1 day ago #49293

  • blueblot
  • blueblot's Avatar
  • OFFLINE
  • OSTar
  • Posts: 146
  • Karma: 0
Hi Ed

I'm not using Ubercart, just Webform 7.x-3.18 and Webform Rules 7.x-1.3

Kris
Please become a member of OSTraining to reply to this post.

webform with rules 11 months 21 hours ago #49350

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3106
  • Thank you received: 7
  • Karma: 0
Hi Kris,

The user is getting a warning, not an error message. If it's working otherwise you don't really need to fix anything, just turn off the warning.

This seems to be a bug with the module itself. To quote from the thread I referenced,
If you are seeing this on the site that is not using Ubercart (or Ubercart Webform Checkout Pane) then its a bug with Webform module itself or some other module that is referencing Webform. IMHO you should check with supporters of those modules.

Which is what Steve was alluding to as well. You need to find the conflicting module, and report it to the developer or trouble shoot it.

The thread is closed because they fixed the issue with a patch to Drupal, which should also be in the latest versions, so updating drupal might be a good idea if you haven't already

However if it's not a problem the easiest thing to do is turn of the warning.

This warning appears because of your PHP error reporting settings. Usually, it appears when your variable is not properly set. If you want to find out what the warning means and learn how to deal with it, do a google search for "Notice: Undefined index:"

You can turn off the error messages by going to Configuration > Logging and errors.

Ed
Please become a member of OSTraining to reply to this post.
  • Page:
  • 1

Sign Up for OSTraining

Open Source Training is not affiliated with or endorsed by the Joomla, WordPress or Drupal projects.
All product names and trademarks are the property of their respective owners.

Copyright 2013 Open Source Training, LLC. All rights reserved.