Title: Fatal Parse Error when attempting to activate plugin
Last modified: August 22, 2016

---

# Fatal Parse Error when attempting to activate plugin

 *  Resolved [BStrong95](https://wordpress.org/support/users/bstrong95/)
 * (@bstrong95)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/fatal-parse-error-when-attempting-to-activate-plugin/)
 * I installed the plugin, but when I go to activate it, I get the following error:
 * Plugin could not be activated because it triggered a fatal error.
 * Parse error: syntax error, unexpected T_STRING in /home2/popfixn1/public_html/
   wp-content/plugins/wpsolr-search-engine/solr_services.php on line 327
 * I downloaded the file and checked line 327, but the only character on that line
   is a ” { “.
 * Please help!
 * [https://wordpress.org/plugins/wpsolr-search-engine/](https://wordpress.org/plugins/wpsolr-search-engine/)

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

 *  Plugin Author [WPSOLR](https://wordpress.org/support/users/wpsolr/)
 * (@wpsolr)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/fatal-parse-error-when-attempting-to-activate-plugin/#post-5276476)
 * Hello,
 * Sorry for the late response, but I never received your message.
 * Did you solve your issue since then ?
 * Regards
 *  Thread Starter [BStrong95](https://wordpress.org/support/users/bstrong95/)
 * (@bstrong95)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/fatal-parse-error-when-attempting-to-activate-plugin/#post-5276479)
 * Yes, I’m not sure what happened. I tried reinstalling it and it installed ok 
   this time. Thanks!
 *  Plugin Author [WPSOLR](https://wordpress.org/support/users/wpsolr/)
 * (@wpsolr)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/fatal-parse-error-when-attempting-to-activate-plugin/#post-5276480)
 * No pb.
 *  [Carlos Vázquez](https://wordpress.org/support/users/carlos-vzquez/)
 * (@carlos-vzquez)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/fatal-parse-error-when-attempting-to-activate-plugin/#post-5276526)
 * Error on activate
 * Parse error: syntax error, unexpected T_STRING in … /wp-content/plugins/wpsolr-
   search-engine/solr_services.php on line 326
 *  Plugin Author [WPSOLR](https://wordpress.org/support/users/wpsolr/)
 * (@wpsolr)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/fatal-parse-error-when-attempting-to-activate-plugin/#post-5276527)
 * Hello Carlos,
 * Can you tell me a bit more about your installation ?
 * WP and plugin versions ?
 * Solr version ?
 * Is Solr a standalone or cloud hosting ?
 *  [Carlos Vázquez](https://wordpress.org/support/users/carlos-vzquez/)
 * (@carlos-vzquez)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/fatal-parse-error-when-attempting-to-activate-plugin/#post-5276544)
 * WordPress 4.0
    WPSOLR Search Engine 1.4 PHP Version 5.2.17 [http://drunet.t2t.es/](http://drunet.t2t.es/)
 *  Plugin Author [WPSOLR](https://wordpress.org/support/users/wpsolr/)
 * (@wpsolr)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/fatal-parse-error-when-attempting-to-activate-plugin/#post-5276547)
 * Hello,
 * Can you remove the plugin, and reinstall it ?
 * It worked for another member.
 *  [Carlos Vázquez](https://wordpress.org/support/users/carlos-vzquez/)
 * (@carlos-vzquez)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/fatal-parse-error-when-attempting-to-activate-plugin/#post-5276548)
 * I think the problem is not solved
 * Have uninstalled and removed all plugins.
    I installed only WPSOLR Search Engine
 * [Screenshots ](http://drunet.t2t.es/fatal-parse-error/)
 *  Plugin Author [WPSOLR](https://wordpress.org/support/users/wpsolr/)
 * (@wpsolr)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/fatal-parse-error-when-attempting-to-activate-plugin/#post-5276549)
 * I checked, and it appears that WPSOLR uses a Solr library, which requires PHP
   5.3 (with namespaces).
 * Your version is earlier than 5.3. Can you update it ?

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

The topic ‘Fatal Parse Error when attempting to activate plugin’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wpsolr-search-engine_b2dbdc.svg)
 * [WPSOLR - Elasticsearch and Solr search](https://wordpress.org/plugins/wpsolr-search-engine/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpsolr-search-engine/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpsolr-search-engine/)
 * [Active Topics](https://wordpress.org/support/plugin/wpsolr-search-engine/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpsolr-search-engine/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpsolr-search-engine/reviews/)

 * 9 replies
 * 3 participants
 * Last reply from: [WPSOLR](https://wordpress.org/support/users/wpsolr/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/fatal-parse-error-when-attempting-to-activate-plugin/#post-5276549)
 * Status: resolved