Title: stripslashes
Last modified: August 31, 2016

---

# stripslashes

 *  [infobeckettgraphics](https://wordpress.org/support/users/infobeckettgraphics/)
 * (@infobeckettgraphics)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/stripslashes-3/)
 * The plugin was working fine a couple weeks ago and now I’m getting this error
   when the form is submitted:
 * `Warning: stripslashes() expects parameter 1 to be string, array given in /home/
   mvpanel1980/public_html/maxvaluesmag.com/wp-content/plugins/mailchimp/mailchimp.
   php on line 1260`
 * site with plugin problem: [http://maxvaluesmag.com/danny-boys-gift-card/](http://maxvaluesmag.com/danny-boys-gift-card/)
 * [https://wordpress.org/plugins/mailchimp/](https://wordpress.org/plugins/mailchimp/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [infobeckettgraphics](https://wordpress.org/support/users/infobeckettgraphics/)
 * (@infobeckettgraphics)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/stripslashes-3/#post-7186987)
 * Also, phone number is a required field. When phone is entered and submitted it
   still says “» You must fill in Phone Number.”
 *  [mcsupport](https://wordpress.org/support/users/mcsupport/)
 * (@mcsupport)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/stripslashes-3/#post-7187166)
 * Hey infobeckettgraphics,
 * Thanks for reaching out! I checked out your form and I was able to see both of
   those errors you mentioned (the ‘stripslashes()’ error and the phone number error).
   I tested things out in my account by adding a ‘Phone’ field with (###) ###-####
   formatting and bringing that into my blog via the List Subscribe Form Plugin,
   and was able to replicate the “You must fill in Phone Number” validation error.
 * I’ve gone ahead and pushed this issue over to our Developers for further investigation.
   In the mean time, it looks like choosing ‘International’ format for that Phone
   field from within MailChimp does not result in any errors and the form submits
   successfully. You can make this change by going to that list in your MailChimp
   account > Settings > List fields and merge tags > changing the formatting for
   that Phone field to International > Save changes. You’ll want to make sure to
   update this in your plugin’s settings as well. This can be done by clicking the‘
   Update List’ button then clicking the ‘Update Subscribe Form Settings’ button
   after you’ve ensured everything looks good.
 * With that said, I was not able to replicate the ‘stripslashes()’ error in my 
   own account. I would recommend first resolving the phone number issue by modifying
   the settings I mentioned above to see if it resolves both errors.
 * If you are still seeing any issues after fixing up that Phone field and updating
   your plugin settings, feel free to reach back out with those details and I’ll
   be happy to give it another look.
 * – Garnet

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘stripslashes’ is closed to new replies.

 * ![](https://ps.w.org/mailchimp/assets/icon.svg?rev=3156997)
 * [Mailchimp List Subscribe Form](https://wordpress.org/plugins/mailchimp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailchimp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailchimp/)
 * [Active Topics](https://wordpress.org/support/plugin/mailchimp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailchimp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailchimp/reviews/)

## Tags

 * [stripslashes](https://wordpress.org/support/topic-tag/stripslashes/)

 * 2 replies
 * 2 participants
 * Last reply from: [mcsupport](https://wordpress.org/support/users/mcsupport/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/stripslashes-3/#post-7187166)
 * Status: not resolved