Title: Fatal error when activating plugin
Last modified: March 10, 2021

---

# Fatal error when activating plugin

 *  Resolved [Steveo123](https://wordpress.org/support/users/steveo123/)
 * (@steveo123)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-64/)
 * When I try to activate the PDF Forms Filler for Contact Form 7 plugin I get this
   error…
    Fatal error: Arrays are not allowed in class constants in /data/51/2/
   130/62/2619877/user/2874070/htdocs/eco-maxx/wp-content/plugins/pdf-forms-for-
   contact-form-7/pdf-forms-for-contact-form-7.php on line 23
 * I am using Contact Form 7, version 4.1

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

 *  Plugin Author [maximum.software](https://wordpress.org/support/users/maximumsoftware/)
 * (@maximumsoftware)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-64/#post-14163261)
 * Hi,
 * I accidentally used a PHP feature not supported in your current PHP version.
 * Let me fix this issue and release a new plugin version shortly.
 * Thanks.
 *  Thread Starter [Steveo123](https://wordpress.org/support/users/steveo123/)
 * (@steveo123)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-64/#post-14163276)
 * Awesome! You’re the best!
 *  Plugin Author [maximum.software](https://wordpress.org/support/users/maximumsoftware/)
 * (@maximumsoftware)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-64/#post-14164493)
 * Thanks. I’ve deployed the fix with the new version (1.3.7).
 *  Thread Starter [Steveo123](https://wordpress.org/support/users/steveo123/)
 * (@steveo123)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-64/#post-14167247)
 * Thanks!
 *  Thread Starter [Steveo123](https://wordpress.org/support/users/steveo123/)
 * (@steveo123)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-64/#post-14167357)
 * Tried installing the new version and I got this error…
    PDF Forms Filler for 
   CF7 plugin error: The required plugin ‘Contact Form 7’ is not installed!
 * But the website does have Contact Form 7 installed? Any ideas?
 *  Thread Starter [Steveo123](https://wordpress.org/support/users/steveo123/)
 * (@steveo123)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-64/#post-14167367)
 * It looks like it did activate but it’s odd that I got the error message.
 *  Thread Starter [Steveo123](https://wordpress.org/support/users/steveo123/)
 * (@steveo123)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-64/#post-14167629)
 * I think it’s because I have an older version of Contact Form 7. I’ll need to 
   upgrade that. Thanks for the help.
 *  Plugin Author [maximum.software](https://wordpress.org/support/users/maximumsoftware/)
 * (@maximumsoftware)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-64/#post-14168898)
 * That’s very strange. What version of CF7 do you have installed? Minimum version
   required is 4.2.
 *  Thread Starter [Steveo123](https://wordpress.org/support/users/steveo123/)
 * (@steveo123)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-64/#post-14168926)
 * I think that’s the problem. It is running 4.1.

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

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

 * ![](https://ps.w.org/pdf-forms-for-contact-form-7/assets/icon.svg?rev=2670251)
 * [PDF Forms Filler for CF7](https://wordpress.org/plugins/pdf-forms-for-contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pdf-forms-for-contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pdf-forms-for-contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/pdf-forms-for-contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pdf-forms-for-contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pdf-forms-for-contact-form-7/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [Steveo123](https://wordpress.org/support/users/steveo123/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-64/#post-14168926)
 * Status: resolved