Title: Fatal error when activating plugin
Last modified: August 11, 2018

---

# Fatal error when activating plugin

 *  [JeromeC](https://wordpress.org/support/users/jeromec/)
 * (@jeromec)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-49/)
 * Hi,
 * I’m using WordPress 4.9.8 and trying to activate the plugin v2.2.2, but activation
   fails because of a fatal error :
 * Parse error: syntax error, unexpected T_STRING in /home1/famillec/public_html/
   quentin/wp-content/plugins/password-protected/admin/admin-bar.php on line 10
 * I tried to disable all other plugins, but the problem stays.
 * Thanks for your help,
    Jerome

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

 *  [mariofutire](https://wordpress.org/support/users/mariofutire/)
 * (@mariofutire)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-49/#post-10876792)
 * Same error here, using WP 4.9.8
 * Parse error: syntax error, unexpected T_STRING in /htdocs/info/wp-content/plugins/
   password-protected/admin/admin-bar.php on line 10
 * Is there a php incompatibility?
 *  [Ben Huson](https://wordpress.org/support/users/husobj/)
 * (@husobj)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-49/#post-10877366)
 * I think it would require PHP 5.3+
 * What version of PHP are you running?
 *  Thread Starter [JeromeC](https://wordpress.org/support/users/jeromec/)
 * (@jeromec)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-49/#post-10884652)
 * Apparently 5.4.24.
 * I’m currently changing my hosting service, I’ll give it another try with my new
   web provider.
 *  [mariofutire](https://wordpress.org/support/users/mariofutire/)
 * (@mariofutire)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-49/#post-10885482)
 * X-Powered-By: PHP/5.2.4-2ubuntu5.27
 * appalling

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

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

 * ![](https://ps.w.org/password-protected/assets/icon-128x128.gif?rev=2824217)
 * [Password Protected — Lock Entire Site, Pages, Posts, Categories, and Partial Content](https://wordpress.org/plugins/password-protected/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/password-protected/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/password-protected/)
 * [Active Topics](https://wordpress.org/support/plugin/password-protected/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/password-protected/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/password-protected/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [mariofutire](https://wordpress.org/support/users/mariofutire/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-49/#post-10885482)
 * Status: not resolved