Title: Deprecated php error
Last modified: January 11, 2017

---

# Deprecated php error

 *  Resolved [Laura Yeffeth](https://wordpress.org/support/users/clampdesign/)
 * (@clampdesign)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/deprecated-php-error/)
 * Thank you for making this plugin. It works perfectly!
 * Just one thing I noticed that I thought I would bring to your attention. I am
   getting this error when using your plugin:
 * wpcf7_add_shortcode is **deprecated** since Contact Form 7 version 4.6! Use wpcf7_add_form_tag
   instead.
 * It looks like “wpcf7_add_shortcode” on line 6 of form-shortcode.php just needs
   to be changed to “wpcf7_add_form_tag” and all works fine again. I’ve changed 
   it in my version of your plugin but hope you can include this update on the next
   release.
 * Thanks again!

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

 *  Plugin Contributor [damiarita](https://wordpress.org/support/users/damiarita/)
 * (@damiarita)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/deprecated-php-error/#post-8641661)
 * Hi [@clampdesign](https://wordpress.org/support/users/clampdesign/)
 * Thank you very much for making me notice.
 * I just updated the plugin (v 1.4.5) to the new functions contact form 7 released.
 * Thanks again
 * Please, let me know any other issue.
 *  Thread Starter [Laura Yeffeth](https://wordpress.org/support/users/clampdesign/)
 * (@clampdesign)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/deprecated-php-error/#post-8641720)
 * Wow, that was a quick response! I am getting another error now but referring 
   to the Contact Form 7 plugin itself. Now I get this error:
 * WPCF7_Shortcode is **deprecated** since Contact Form 7 version 4.6! Use WPCF7_FormTag
   instead. in plugins/contact-form-7/includes/functions.php on line 351
 * I’m not sure what else you changed but when I just made that one change, I didn’t
   get this error. When I de-activate your plugin, I also don’t get this error. 
   I’m not sure exactly what the issue is now, but I hope this is helpful.
 * Thanks again for the plugin.
 *  Plugin Contributor [damiarita](https://wordpress.org/support/users/damiarita/)
 * (@damiarita)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/deprecated-php-error/#post-8642534)
 * Yes,
 * Sorry, I missed one reference to the old functions. I hadn’t replaced.
 * I just released a new version with the correction.
 * Let me know if updating fixes it.
 * Please, consider a review to the plugin
 *  Thread Starter [Laura Yeffeth](https://wordpress.org/support/users/clampdesign/)
 * (@clampdesign)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/deprecated-php-error/#post-8649681)
 * Your update fixed the issue. Thanks again for quick response.
 * I was happy to leave you a review!

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

The topic ‘Deprecated php error’ is closed to new replies.

 * ![](https://ps.w.org/international-telephone-input-for-contact-form-7/assets/
   icon-256x256.png?rev=2277878)
 * [International Telephone Input for Contact Form 7](https://wordpress.org/plugins/international-telephone-input-for-contact-form-7/)
 * [Support Threads](https://wordpress.org/support/plugin/international-telephone-input-for-contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/international-telephone-input-for-contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/international-telephone-input-for-contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/international-telephone-input-for-contact-form-7/reviews/)

## Tags

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

 * 4 replies
 * 2 participants
 * Last reply from: [Laura Yeffeth](https://wordpress.org/support/users/clampdesign/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/deprecated-php-error/#post-8649681)
 * Status: resolved