Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am upgrading to Drupal 7 and just upgraded Spamicide. Now, when I try to submit a webform (or other type of form) and I fill out the spamicide field to ensure it works, I'm getting the following errors:
Warning: strpos() expects parameter 1 to be string, array given in url() (line 2194 of /usr/local/lib/drupal/includes/common.inc).
Warning: substr() expects parameter 1 to be string, array given in url() (line 2195 of /usr/local/lib/drupal/includes/common.inc).
Warning: strpos() expects parameter 1 to be string, array given in drupal_strip_dangerous_protocols() (line 1350 of /usr/local/lib/drupal/includes/common.inc).
Warning: strpos() expects parameter 1 to be string, array given in url() (line 2210 of /usr/local/lib/drupal/includes/common.inc).
Warning: explode() expects parameter 2 to be string, array given in url() (line 2211 of /usr/local/lib/drupal/includes/common.inc).
The webform submits properly if I don't fill in the spamicide field, however I don't want to see all these errors in my log everytime a spambot tries to submit a form.
Comments
Comment #1
lipcpro CreditAttribution: lipcpro commentedSee issue #1787774: Wrong destination set to added field
Comment #2
lipcpro CreditAttribution: lipcpro commentedComment #2.0
lipcpro CreditAttribution: lipcpro commentedIndicate it also affects non-webform forms.