Title: Syntax error while installing plugin
Last modified: August 15, 2017

---

# Syntax error while installing plugin

 *  Resolved [dufrosa](https://wordpress.org/support/users/dufrosa/)
 * (@dufrosa)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/syntax-error-while-installing-plugin/)
 * Hello.
    Im having trouble to install Orbit Fox (2.0.1) plugin in my Zerif Lite
   theme. It says there is a syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM on 
   themeisle-companion.php on line 40. This line contains: $obfx_activator::activate();
 * What should I do to solve this?

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

 *  Plugin Author [Themeisle](https://wordpress.org/support/users/themeisle/)
 * (@themeisle)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/syntax-error-while-installing-plugin/#post-9413987)
 * Hello,
 * You are using an old version of PHP which we no longer support ( < 5.3 ) . Our
   plugin works only with versions greater than 5.3, so you can ask your hosting
   company to upgrade your environment and all should be just fine.
 * Let me know if you need anything else.
 *  Thread Starter [dufrosa](https://wordpress.org/support/users/dufrosa/)
 * (@dufrosa)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/syntax-error-while-installing-plugin/#post-9415600)
 * BINGO!
 * I’ve updated my PHP and it worked!
 * Thank you!
    -  This reply was modified 8 years, 9 months ago by [dufrosa](https://wordpress.org/support/users/dufrosa/).
    -  This reply was modified 8 years, 9 months ago by [dufrosa](https://wordpress.org/support/users/dufrosa/).
 *  [brunochiroleu](https://wordpress.org/support/users/brunochiroleu/)
 * (@brunochiroleu)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/syntax-error-while-installing-plugin/#post-9881582)
 * Hi! Sorry to butt in on this thread, but I’m getting the same error message. 
   My php is version 5.6 so there’s got to be another issue, I guess. Moreover, 
   I was able to install and activate the plugin a couple of days back but, after
   unistalling and reinstalling (the same version of ) WP, now I get this error 
   message. Any help would be greatly aprecciated. If I need to post elsewhere, 
   or provide extra info, please let me know. Thanks a lot.
 *  [mikeill](https://wordpress.org/support/users/mikeill/)
 * (@mikeill)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/syntax-error-while-installing-plugin/#post-9924628)
 * Same here using `PHP 5.6.29`.
 * The error:
 *     ```
       Fatal error: Class 'WP_Rest_Controller' not found in /home/userdirectory/public_html/wp-content/plugins/themeisle-companion/vendor/codeinwp/themeisle-content-forms/class-themeisle-content-forms-server.php on line 9
       ```
   

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

The topic ‘Syntax error while installing plugin’ is closed to new replies.

 * ![](https://ps.w.org/themeisle-companion/assets/icon-128x128.gif?rev=3369007)
 * [Orbit Fox: Duplicate Page, Menu Icons, SVG Support, Cookie Notice, Custom Fonts & More](https://wordpress.org/plugins/themeisle-companion/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/themeisle-companion/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/themeisle-companion/)
 * [Active Topics](https://wordpress.org/support/plugin/themeisle-companion/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/themeisle-companion/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/themeisle-companion/reviews/)

## Tags

 * [Install](https://wordpress.org/support/topic-tag/install/)
 * [orbit fox](https://wordpress.org/support/topic-tag/orbit-fox/)

 * 4 replies
 * 4 participants
 * Last reply from: [mikeill](https://wordpress.org/support/users/mikeill/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/syntax-error-while-installing-plugin/#post-9924628)
 * Status: resolved