Title: Cannot be activated due to parse error&#8230;.
Last modified: October 20, 2017

---

# Cannot be activated due to parse error….

 *  Resolved [Cees Rijken](https://wordpress.org/support/users/connectcase/)
 * (@connectcase)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/cannot-be-activated-due-to-parse-error/)
 * Parse error: syntax error, unexpected ‘[‘ in /home/admin/domains/*****/public_html/
   wp-content/plugins/pdf-forms-for-contact-form-7/wpcf7-pdf-forms.php on line 331
 * Not a very good start…..

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

 *  Plugin Author [maximum.software](https://wordpress.org/support/users/maximumsoftware/)
 * (@maximumsoftware)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/cannot-be-activated-due-to-parse-error/#post-9605675)
 * Line 331: [https://github.com/maximum-software/wpcf7-pdf-forms/blob/0.2.1/wpcf7-pdf-forms.php#L331](https://github.com/maximum-software/wpcf7-pdf-forms/blob/0.2.1/wpcf7-pdf-forms.php#L331)
 * Is this what you have? What version of PHP are you running? Can you send me your
   phpinfo() output (admin at maximum dot software)? Thanks.
    -  This reply was modified 8 years, 8 months ago by [maximum.software](https://wordpress.org/support/users/maximumsoftware/).
 *  Plugin Author [maximum.software](https://wordpress.org/support/users/maximumsoftware/)
 * (@maximumsoftware)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/cannot-be-activated-due-to-parse-error/#post-9605754)
 * I released a fix. Let me know if it works for you or not.
 *  Thread Starter [Cees Rijken](https://wordpress.org/support/users/connectcase/)
 * (@connectcase)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/cannot-be-activated-due-to-parse-error/#post-9605759)
 * Cheers! It’s good to see a developer that responds quickly!!
 * The error msg was probably due to the fact that I use PHP 5.5, in which arrays
   are defined differently.
 * But since the plugin was not exactly what I needed, I didn’t dig into it any 
   deeper.
    Thanks for the reply!
 *  Plugin Author [maximum.software](https://wordpress.org/support/users/maximumsoftware/)
 * (@maximumsoftware)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/cannot-be-activated-due-to-parse-error/#post-9605817)
 * Strange. I tested with 5.5.33 and it worked for me.
 * If you don’t mind me asking, what did you need? If it is something simple, I 
   might want to add that functionality to my plugin.
 *  Thread Starter [Cees Rijken](https://wordpress.org/support/users/connectcase/)
 * (@connectcase)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/cannot-be-activated-due-to-parse-error/#post-9605840)
 * What I needed was basically “HTML 2 PDF” on-the-fly…
    I’ve written my own now.

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

The topic ‘Cannot be activated due to parse error….’ 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/)

## Tags

 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)

 * 5 replies
 * 2 participants
 * Last reply from: [Cees Rijken](https://wordpress.org/support/users/connectcase/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/cannot-be-activated-due-to-parse-error/#post-9605840)
 * Status: resolved