Title: Deprecated code: CMB2_REST.php
Last modified: August 25, 2021

---

# Deprecated code: CMB2_REST.php

 *  Resolved [Lisa Baird](https://wordpress.org/support/users/candeeg/)
 * (@candeeg)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/deprecated-code-cmb2_rest-php/)
 * My website is throwing an error when Constant Contact is enabled:
 * Deprecated: Required parameter $field_id follows optional parameter $type in /
   home/wigertsbonsai/public_html/wp-content/plugins/constant-contact-forms/vendor/
   cmb2/cmb2/includes/rest-api/CMB2_REST.php on line 693
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdeprecated-code-cmb2_rest-php%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Constant Contact](https://wordpress.org/support/users/constantcontact/)
 * (@constantcontact)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/deprecated-code-cmb2_rest-php/#post-14804273)
 * Hi [@candeeg](https://wordpress.org/support/users/candeeg/)
 * Looks like we could use some updating of a library we’re making use of in the
   plugin. I’ll get that enhancement filed internally to take care of.
 * Are you comfortable with making some file edits to files in the plugin? or would
   you prefer to have someone else do so? Asking because I can show you the small
   change you’d want to make to have that deprecation notice go away for the time
   being.
 *  Thread Starter [Lisa Baird](https://wordpress.org/support/users/candeeg/)
 * (@candeeg)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/deprecated-code-cmb2_rest-php/#post-14804346)
 * It only shows in debugging mode, so I’m not really concerned. Just letting you
   know it’s there 🙂
 *  Plugin Author [Constant Contact](https://wordpress.org/support/users/constantcontact/)
 * (@constantcontact)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/deprecated-code-cmb2_rest-php/#post-14805002)
 * Thank you for that.
 * Let us know if you need anything else.

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

The topic ‘Deprecated code: CMB2_REST.php’ is closed to new replies.

 * ![](https://ps.w.org/constant-contact-forms/assets/icon-256x256.png?rev=2951825)
 * [Constant Contact Forms](https://wordpress.org/plugins/constant-contact-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/constant-contact-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/constant-contact-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/constant-contact-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/constant-contact-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/constant-contact-forms/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Constant Contact](https://wordpress.org/support/users/constantcontact/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/deprecated-code-cmb2_rest-php/#post-14805002)
 * Status: resolved