Title: Plugin could not be activated&#8230;fatal error
Last modified: August 21, 2016

---

# Plugin could not be activated…fatal error

 *  Resolved Anonymous User 8052865
 * (@anonymized-8052865)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/plugin-could-not-be-activatedfatal-error/)
 * When attempting to install:
    Plugin could not be activated because it triggered
   a fatal error.
 * Parse error: syntax error, unexpected T_STATIC, expecting T_STRING or T_VARIABLE
   or ‘$’ in[removed url]/wp-content/plugins/comment-attachment/comment-attachment.
   php on line 1066
 * I commented out that section, then tried to activate. This produced:
    You must
   upgrade to Php 5.2 My version is5.2.17
 * Anyone got an idea how to fix this?
 * [http://wordpress.org/plugins/comment-attachment/](http://wordpress.org/plugins/comment-attachment/)

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

 *  Plugin Author [latorante](https://wordpress.org/support/users/latorante/)
 * (@latorante)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/plugin-could-not-be-activatedfatal-error/#post-4378034)
 * Yes upgrade to PHP 5.3, it requires it’s fucntions.
 *  Thread Starter Anonymous User 8052865
 * (@anonymized-8052865)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/plugin-could-not-be-activatedfatal-error/#post-4378063)
 * Easier said than done.
    Is there a version that worked with php 5.2?
 *  Plugin Author [latorante](https://wordpress.org/support/users/latorante/)
 * (@latorante)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/plugin-could-not-be-activatedfatal-error/#post-4378072)
 * Nope not really. 🙂

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

The topic ‘Plugin could not be activated…fatal error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/comment-attachment_ab08b8.svg)
 * [Comment Attachment](https://wordpress.org/plugins/comment-attachment/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/comment-attachment/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/comment-attachment/)
 * [Active Topics](https://wordpress.org/support/plugin/comment-attachment/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/comment-attachment/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/comment-attachment/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [latorante](https://wordpress.org/support/users/latorante/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/plugin-could-not-be-activatedfatal-error/#post-4378072)
 * Status: resolved