Title: Fatal error when using plugin
Last modified: February 6, 2018

---

# Fatal error when using plugin

 *  Resolved [mrboats](https://wordpress.org/support/users/wpseiskaadmin/)
 * (@wpseiskaadmin)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-when-using-plugin/)
 * Hi,
 * Tried to take your plugin into use on my test site but it crashes the Contact
   Form 7 with the following error info on the error log:
 * 2018/02/06 13:54:22 [error] 22#22: *49408 FastCGI sent in stderr: “PHP message:
   PHP Fatal error: Uncaught TypeError: Argument 1 passed to WPGDPRC\Includes\Extensions\
   CF7::addFormTagHandler() must be an instance of WPCF7_FormTag, array given, called
   in /wp-content/plugins/contact-form-7/includes/form-tags-manager.php on line 
   305 and defined in /wp-content/plugins/wp-gdpr-compliance/Includes/Extensions/
   CF7.php:86
    Stack trace: #0 /wp-content/plugins/contact-form-7/includes/form-
   tags-manager.php(305): WPGDPRC\Includes\Extensions\CF7->addFormTagHandler(Array)#
   1 /wp-content/plugins/contact-form-7/includes/form-tags-manager.php(237): WPCF7_FormTagsManager-
   >scan_callback(Array, true) #2 [internal function]: WPCF7_FormTagsManager->replace_callback(
   Array) #3 /wp-content/plugins/contact-form-7/includes/form-tags-manager.php(162):
   preg_replace_callback(‘/(\\[?)\\[(honeyp…’, Array, ‘<p><label>Ilmoi…’) #4 /wp-
   content/plugins/contact-form-7/includes/form-t” while reading response header
   from upstream, client: 86.50.147.180, server: test.site, request: “GET /en/kysely-
   rantautumispaikkoja-helsingissa/?preview=true HTTP/1.1”, upstream: “fastcgi://
   127.0.0.1:20040”, host: “test.site”, referrer: “[https://test.site/wp-admin/post.php?post=4004&action=edit&#8221](https://test.site/wp-admin/post.php?post=4004&action=edit&#8221);

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

 *  [van-ons](https://wordpress.org/support/users/van-ons/)
 * (@van-ons)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-when-using-plugin/#post-9955986)
 * Thanks for reporting – will fix this asap.
 *  [Donny Oexman](https://wordpress.org/support/users/donnyoexman/)
 * (@donnyoexman)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-when-using-plugin/#post-10007967)
 * Please update to version 1.2. Should be fixed now!
 * Please note that we only support a minimum version of 4.6 for Contact Form 7.

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

The topic ‘Fatal error when using plugin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-gdpr-compliance_6396ab.svg)
 * [Cookie Information | Free GDPR Consent Solution](https://wordpress.org/plugins/wp-gdpr-compliance/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-gdpr-compliance/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-gdpr-compliance/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-gdpr-compliance/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-gdpr-compliance/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Donny Oexman](https://wordpress.org/support/users/donnyoexman/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-when-using-plugin/#post-10007967)
 * Status: resolved