Title: Fatal Error &#8211; Parse Error in class-fontawesome.php
Last modified: January 16, 2019

---

# Fatal Error – Parse Error in class-fontawesome.php

 *  Resolved [nhwp](https://wordpress.org/support/users/nhwp/)
 * (@nhwp)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-parse-error-in-class-fontawesome-php/)
 * We received this error recently which resulted in deactivation of Font Awesome
   plugin.
 * > Parse error: syntax error, unexpected ‘.’, expecting ‘,’ or ‘;’ in ***/wp-content/
   > plugins/font-awesome/includes/class-fontawesome.php on line 116
 * We are running WP 4.9.8 in multi site mode. Same issue arises when trying to 
   activate on any site.
 * Any ideas?

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

 *  Plugin Author [mlwilkerson](https://wordpress.org/support/users/mlwilkerson/)
 * (@mlwilkerson)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-parse-error-in-class-fontawesome-php/#post-11096759)
 * I saw this error once before and it was due to an out-dated version of PHP.
 * We’ve recently replaced the old plugin here with a re-written one, which [supports PHP 5.6](https://wordpress.org/plugins/font-awesome/)
   or later. [PHP.net shows that they discontinued support](http://php.net/supported-versions.php)
   for PHP versions prior to 5.6 back in 2016, and actually discontinued support
   for 5.6 just this month.
 * Could you check the version of PHP that your site is running on? It may need 
   to be updated to a current version.
 *  Thread Starter [nhwp](https://wordpress.org/support/users/nhwp/)
 * (@nhwp)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-parse-error-in-class-fontawesome-php/#post-11101354)
 * Yeah, I wondered about that after posting here too, actually. The site is running
   on PHP 5.4.45.
 * We adopted the site from a previous developer and I’ve asked their host to upgrade
   PHP. Thanks for the insight!
 *  [doctormicro](https://wordpress.org/support/users/doctormicro/)
 * (@doctormicro)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-parse-error-in-class-fontawesome-php/#post-11282706)
 * Updating to latest PHP version worked for us also, now on 7.2 version.

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

The topic ‘Fatal Error – Parse Error in class-fontawesome.php’ is closed to new 
replies.

 * ![](https://ps.w.org/font-awesome/assets/icon-256x256.png?rev=1991998)
 * [Font Awesome](https://wordpress.org/plugins/font-awesome/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/font-awesome/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/font-awesome/)
 * [Active Topics](https://wordpress.org/support/plugin/font-awesome/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/font-awesome/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/font-awesome/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [doctormicro](https://wordpress.org/support/users/doctormicro/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-parse-error-in-class-fontawesome-php/#post-11282706)
 * Status: resolved