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”
- The topic ‘Fatal error when using plugin’ is closed to new replies.