Title: [Plugin: Contact Form 7 (CF7)] Shortcode Error
Last modified: August 19, 2016

---

# [Plugin: Contact Form 7 (CF7)] Shortcode Error

 *  Resolved [The HollywoodSouth Blog](https://wordpress.org/support/users/the-hollywoodsouth-blog/)
 * (@the-hollywoodsouth-blog)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-cf7-shortcode-error/)
 * Getting the following error message upon entering phpBB Forum integrated into
   WP, using Atahualpa v3.3.3, via WP-United mod:
 * **Fatal error: Call to a member function add_shortcode() on a non-object in /
   home/thehol9/public_html/09/06/WP_2.8/wp-content/plugins/contact-form-7/includes/
   shortcodes.php on line 125**
 * Disabling CF7 solves the problem of entering the phpBB Forum integrated into 
   WP via WP-United mods.
 * However, once CF7 is enabled, we receive the error message above.
 * Have cleared SQL DB entries related to CF7. Did not resolve.
 * Have reverted back to WP default theme v1.6, activated CF7 plugin. Did not resolve.
 * We’re not sure if CF7 is causing the error or just exhibiting systems of the 
   error.
 * All other plugins work and have tried disabling those, too.
 * Site works just fine without CF7 enabled.
 * Any clues?
 * Thanks.

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

 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-cf7-shortcode-error/#post-1163998)
 * evidently there is a conflict
    try another contact form
 *  Thread Starter [The HollywoodSouth Blog](https://wordpress.org/support/users/the-hollywoodsouth-blog/)
 * (@the-hollywoodsouth-blog)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-cf7-shortcode-error/#post-1164037)
 * **RESOLVED:**
 * We did try other contact forms but, Contact Form 7 was certainly better and had
   worked within the last three weeks. Unfortunately, the other contact form plugins
   just didn’t give us what we needed.
 * After a week of troubleshooting, we posted this topic in hopes of running across
   someone with the same issue, though we finally figured it out late tonight.
 * **CF7 v1.10.1 is the ONLY current version which works with WP v2.8.2, WP-United
   Connection v0.7.1 Beta (phpBB3) plugin and phpBB3 v3.0.5 with WP-United v0.7.1-
   RC1 mod.**
 * The Atahualpa theme we discovered had no function in this plugin conflict after
   further testing. Using the Default WP exhibited the same issue. Therefore, we
   decided it wasn’t a theme issue.
 * It appears the CF7 authors have moved into two new versions plus a beta version
   in short time, where we believe there may be coding issues inadvertently generated.
 * We continued with the CF7 plugin upgrades, from v1.10.1 to v2.0 however, didn’t
   immediately discover the conflict. We believe this may have been a cache issue
   and once the cache was flushed during routine maintenance, we discovered the 
   conflict.
 * For now, as of the date of this posting, we will stay with v1.10.1 until further
   testing.
 * Thanks for the reply samboll.
 * Hope this helps others.
 *  [sykong](https://wordpress.org/support/users/sykong/)
 * (@sykong)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-cf7-shortcode-error/#post-1164174)
 * I think this works…
 * In the file [wp dir]/wp-content/plugins/contact-form-7/includes/shortcodes.php
 * Before
    `$wpcf7_shortcode_manager = new WPCF7_ShortcodeManager();`
 * Insert
    `global $wpcf7_shortcode_manager;`
 *  [siv0968](https://wordpress.org/support/users/siv0968/)
 * (@siv0968)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-cf7-shortcode-error/#post-1164190)
 * Remove your “I think”, your fix works!

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

The topic ‘[Plugin: Contact Form 7 (CF7)] Shortcode Error’ is closed to new replies.

 * 4 replies
 * 4 participants
 * Last reply from: [siv0968](https://wordpress.org/support/users/siv0968/)
 * Last activity: [16 years, 3 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-cf7-shortcode-error/#post-1164190)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
