Title: Fatal Error
Last modified: August 24, 2016

---

# Fatal Error

 *  [Bryan Willis](https://wordpress.org/support/users/codecandid/)
 * (@codecandid)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-1658/)
 * I host sites on a few different platforms. I tried this on WP-Engine and I received
   a Fatal Error when trying to activate.
 * **Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /nas/wp/www/cluster-
   10153/healthycooking/wp-content/plugins/facebook-events-importer/assets/includes/
   fb_import_action.php on line 58**
 * Line 58:
 *  `$eventResponse = (new FacebookRequest($session, 'GET', '/'.$facebook_page.'/
   events?fields=place,cover,attending_count,description,end_time,id,name,owner,
   start_time,ticket_uri,is_date_only,timezone&limit=99'))->execute()->getResponse();`
 * I tried again on Bluehost and it seemed to work fine. I believe WP Engine uses
   a hybrid version of Apache and Nginx. Also the WP Engine site that this occurred
   on is a testing site so the urls appears as a subdomain to wpengine:
 * [http://sitename.wpengine.com/](http://sitename.wpengine.com/)
 * Anyway, not the end of the world since I don’t need to use it on WPENGINE, just
   thought I’d let you know.
 * I couldn’t find any syntax errors in `fb_import_action.php` so if the problem
   isn’t due to one of the above reasons, the only other thing I can think of is
   that I’ve found wordpress engine disables a couple of core wordpress scripts 
   like heartbeat, if this plugin is utilizing any of those.
 * [https://wordpress.org/plugins/facebook-events-importer/](https://wordpress.org/plugins/facebook-events-importer/)

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

 *  [arnesonium](https://wordpress.org/support/users/arnesonium/)
 * (@arnesonium)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-1658/#post-6164461)
 * I am getting this same error on Site5. I’d really like to use it for this site,
   too. Any hope of this being resolved?
 *  [piratetrisha](https://wordpress.org/support/users/piratetrisha/)
 * (@piratetrisha)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-1658/#post-6164469)
 * I’m a Site5 customer as well, and getting this error. Is there a way to resolve
   it?
 *  Plugin Author [WPTrashPanda](https://wordpress.org/support/users/jprescher/)
 * (@jprescher)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-1658/#post-6164470)
 * Hi All,
 * Is this related to WP-Engine or Site5 hosting? Are you all using WP-Engine?
 *  [baidoc](https://wordpress.org/support/users/baidoc/)
 * (@baidoc)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-1658/#post-6164474)
 * It’s related to your PHP Version, you need PHP version +5.4 and error is gone.(
   if you have cPanel, you can set from there)
 *  Plugin Author [WPTrashPanda](https://wordpress.org/support/users/jprescher/)
 * (@jprescher)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-1658/#post-6164480)
 * Thanks baidoc!
 *  [peorthyr](https://wordpress.org/support/users/peorthyr/)
 * (@peorthyr)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-1658/#post-6164493)
 * mh…any workaround for those who can’t change the php version?
 *  Thread Starter [Bryan Willis](https://wordpress.org/support/users/codecandid/)
 * (@codecandid)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-1658/#post-6164494)
 * Thanks baidoc.
 * I should have realized that since I’ve had the [same issue before](https://wordpress.org/support/topic/no-support-on-older-servers)
   with WPENGINE
 * peorthyr if you are on wpengine, you can actually [contact support and they will upgrade you](http://wpengine.com/blog/php-5-5-upgrade-available-wp-engine-customers/).
   Also, I’ve never used site5 before, but it looks like you can [do it there too](https://kb.site5.com/php/how-to-change-your-php-version/).
 * If not using either of those, what host are you using? Most shared hosts have
   the option to change the php version in the cpanel/backend under “PHP Config”
   or through the file manager by making some changes to the php.ini and htaccess.
 *  Plugin Author [WPTrashPanda](https://wordpress.org/support/users/jprescher/)
 * (@jprescher)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-1658/#post-6164498)
 * I’m going to mark this as resolved and not that this is an issue with the PHP
   version being outdated. 5.4 or better is required for facebook app integrations.

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

The topic ‘Fatal Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/facebook-events-importer_212121.svg)
 * [Facebook Events Importer](https://wordpress.org/plugins/facebook-events-importer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/facebook-events-importer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/facebook-events-importer/)
 * [Active Topics](https://wordpress.org/support/plugin/facebook-events-importer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/facebook-events-importer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/facebook-events-importer/reviews/)

 * 8 replies
 * 6 participants
 * Last reply from: [WPTrashPanda](https://wordpress.org/support/users/jprescher/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-1658/#post-6164498)
 * Status: not a support question