• 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/

    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/

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

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